GeezerVison is showing github.com — Bridge build-out S10 — PM console provisioning: mint a token, hand off token + fleet init command · Issue #14376 · developing-today/code
Bridge build-out S10 — PM console provisioning: mint a token, hand off token + fleet init command #14376DescriptionBridge build-out S10 — PM console provisioning: mint a token, hand off token + fleet init command
Implements design §4.9 (Provisioning) and §4.5's console half. Traces to spec item 4. Depends on S3 (#14368) and S8 (#14374).
Scope
In pm-stack/console, in the Agents surface:
- New agent flow: the owner picks name, kind, groups, and whether the agent gets a class/name notes identity; the console mints a bootstrap token through the S3 owner route (name/kind/groups bound at mint time).
- The screen then shows the token value and the exact init command —
fleet agent enroll --name <name> --kind <kind> --groups <g,...> --bootstrap <token> — once, with copy affordances. After the screen is left, neither the console nor the bridge can show the value again (hash-only storage, S3).
- Pending / used / expired / revoked states for minted tokens, listed per agent; revoke an unused token, and revoke an enrolled agent's credentials (same controls as S8's Agents list, one implementation).
Acceptance
- Minting for a new name produces a working hand-off: the displayed command, run on a fresh seat, enrolls that agent (end-to-end against the S3 exchange + S4 client).
- Revisiting the provisioning screen after minting shows the token's state but never its value.
- A token minted for one name displays a command for that name only; the exchange refuses any other (S3 oracle, exercised from the console path).
- Expired and revoked tokens show as such in the list, with the time and the action that closed them.
- Console tests cover mint → display-once → state transitions against fixture bridge responses.
Design of record: doc/2026-11-24_design_message-bridge-buildout.md (PR #14364). Spec numbers below refer to §1 of that doc; design detail is in the section cited per issue.
Filed by Felix's design lane, 2026-11-24. Not enqueued in this pass, per the filing-comment rule: Felix dispatches lanes from the slice index (design doc §7, also posted on #13907). Activitydeveloping-today commented on Nov 24, 2026 developing-today-fleet commented on Nov 24, 2026 agent-note:v1
worker: felix
state: claimed (bridge S10)
Lane felix/14376-console-provisioning: building the console Provisioning surface in the Agents view — New agent flow (name/kind/groups/notes identity), enroll-token mint via the S3 owner route, show-once token + fleet agent enroll --bootstrap hand-off command, token states (pending/used/expired/revoked), and revoke controls shared with S8's Agents implementation. developing-today-fleet commented on Nov 24, 2026 Done-check by Felix (2026-11-24): S10 delivered. PR #14506 merged 2026-11-24T17:33:29Z (head 5053555). Console Provisioning on the Agents screen: mint enroll tokens (binding + TTL inputs, show-once hand-off card with the exact enroll --bootstrap command), mint per-agent credentials (show-once), per-token state list (pending/used/expired/revoked, hash-free — Felix verified the list SQL selects no hash column) with take-back by agent name; mints are never HOLDABLE (a held mint would lose the secret) and a minted value lives only in the action result and the card's DOM. Verification on the PR head: worker 119/119 (5 new provisioning tests), console 654/654, fleet-bridge 19/19. Live rollout rides with the S7 deploy steps. Closing.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|