Skip to content

Document the approval token's branch binding and the ACP access restriction #231

Closed

Description

@bryantderosier

Two behaviors at the roster gate are correct but undocumented, and each one surprises a person the first time.

  • The approval preview token binds the Captain's project, branch, worktree, and interaction mode (apps/server/src/j5/a2a/crewRuntimePreview.ts:159-175). If I switch the Captain's branch between preview and approval, approval fails with "preview has changed" and nothing says why.
  • Seats on an ACP-registry harness cannot use auto or auto-accept-edits access (CrewLaunchService.ts:277-288, crewSeatRuntime.ts:85-97), because the harness cannot enforce them. The editor hides the options with no explanation.

What should change:

  • crews.md AC3: one sentence that the preview binds the Captain's branch and worktree as well as the roster and runtime, so changing either needs a fresh preview.
  • docs/user/personas.md, Crews section: one sentence each for the branch binding and the missing access modes on ACP harnesses, in user voice.
  • The server's stale-preview refusal (CrewProposalService.ts:673-676): name the roster, runtime, branch, and worktree as the things that may have changed, so the card's message points at the cause. Message text only, no behavior change.

Done when a person who hits either case can find the reason in the card message or the user doc without reading code.

Activity

  1. added this to the Crews milestone on Sep 21, 2026
  2. added
    size:S
    on Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

size:S

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions