Skip to content

feat(demo): opencode enrolls against a vanilla install and reports to the dashboard #10

Description

@script-kid-io

Returned from attic#99. This was #53 before the history reset (attic#31). ## What to build

Prove the opencode enrollment flow end to end against a vanilla install: a developer enrolls once, and what the agent does shows up in the dashboard.

The flow is designed and implemented — gibson login device flow, gibson agent enroll printing a one-time token, GIBSON_BOOTSTRAP_TOKEN=… opencode on first start to complete the Capability Grant handshake and persist a host key, then unattended forever. What has never happened is running it against a self-hosted install, because that profile has never been installed.

This is the demo's spine and the first half of the story: a coding agent joins a tenant's fleet on a person's authority, once, and everything it does afterwards is attributable.

Acceptance criteria

  • gibson login completes against a vanilla install using the seeded first admin
  • gibson agent enroll mints a one-time token, and opencode's first start completes the handshake
  • A second start needs no token and no human — the persisted host key is doing its job
  • opencode registers as a component and heartbeats; the dashboard lists it
  • The LLM shim routes a completion through the harness, and it is traced
  • The agent emits a finding that appears in the dashboard, attributed to the agent and the enrolling human
  • The agent reads the tenant knowledge graph
  • Steps that failed are written down, so the demo script is derived from what happened rather than from the design

Blocked by

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions