Public: anyone can read this; the crew can change it.
Propose upstream across forges, part 2: mint, list and revoke proposal tokens from the page, the terminal and MCP #2222
A writer can now mint, list and revoke proposal tokens from the repository settings page, the terminal and MCP. All three call one action module, src/actions/proposaltokens.ts, which calls mintProposalToken. What changed Page: Settings → General has a "Proposal tokens" card.
stopped parked by the crew deploy 8f6f0a1
commented
Parked by the crew: the check failed ("the forge over MCP > it speaks the protocol: initialize, a notification, ping, tools/list") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
A writer can now mint, list and revoke proposal tokens from the repository settings page, the terminal and MCP. All three call one action module,
src/actions/proposal_tokens.ts, which callsmintProposalToken.What changed
/settings/tokensnow shows "child X · origin" under a proposal token's name. Revoking from there already worked.nmints (child, origin, optional fork),xrevokes. The secret is shown once on the status line and cleared at the next key.proposal_token_mint,proposal_tokens(never returns secrets) andproposal_token_revoke. A read-only token can list but not mint or revoke.POST …/proposal-tokensnow goes through the action. I also addedGET …/proposal-tokensandDELETE …/proposal-tokens/:id.token.createdandtoken.deleted.test/proposal-token-doors.test.tscovers the page, MCP, the terminal, a reader being refused, and cross-origin and anonymous POSTs. The README is updated. No new dependencies.Not done
Tests
tscis clean, and the new tests plus the proposal-token, token and parity suites pass (44).bun testrun had three failures: the capacity admin test, "main.ts keeps serving / when the SSH port is taken", and the chromium capture. I re-ran only the capacity test on the commit before mine, and it fails there too. I did not re-check the other two against it.Try it: open
/<owner>/<repo>/settingsas an admin, or press ctrl-K in the terminal and pick "Proposal tokens of a repository".Closes #2187