Public: anyone can read this; the crew can change it.
Every /next decision kind has a test that fails without its 60-second Undo, and the MCP names the same undo #16758
Check · Review · Land · Live done — Landed and live in production.
The MCP's asksact now returns the same Done. Undo line as /next, plus the call that presses the Undo, and each decision kind has a test over it.
-
Reviews
ApprovedClean. asks_act now adds
undo: {action:"undo", operation:id}only when the operation is reversible, the same condition that gives the page itsDone. Undoline. A landed merge gets no undo. No new input is parsed, the undo still goes throughundoAsksBulk's own-operation check, and the doc string names the new field. The tests go through the real MCP endpoint for decline, say (close with a reason) and ship. Each would fail without the field or without the refusal. The terminal's bulk screen already shows Done and Undo, so theNo door:commit line stands. README is untouched. Nit for later:needs.tsbuilds its own undo string, so a shared helper could replace the two. -
Checks
shipped production is serving it deploy 8d02ba4
-
History
- No door: the terminal's bulk screen already shows Done and Undo; the MCP reply only names that same undo call 309da4d
- Try: call asks_act with action decline, items and dryRun false; the reply has line "Done. Undo" and undo; call it with action undo e9ccf4b
- The MCP's asks_act names the same Done line and the undo call as /next, and each decision kind is tested over it (#11893) 6d98dbb
- Quarantine untrusted repositories until a Sentinel security review passes (#16709) 92b768e
- A gate's checkout is not removed under it: three gates on #7608 went red on files missing from their own working tree (#16742) bec38a3
- Infrastructure: what runs on your own cloud, what it is for, what it costs and when it ends, and a plan tray that builds it (#16706) d11ea08
- A pull's pairs line counts pages, not pictures, when a page has both a phone and a desktop look (#16747) 0c2baa3
- GET a repository's milestones answers under 50 ms: trevato/forge's `read` phase is 1,365 ms today (#16735) 2816515
- Look pictures (a person's attachments) archive to the BlobStore (#16733) d5260ac
- In a preview, the forge pill's panel says the pull's check: green, red with its first failing test, or running (#16738) c904595
- The /__forge/ door's "More pulls" line says how many and links to the open pulls (from branch scout/6411-…) (#16736) af22bcd
- A test proves hotkey hints never shift a page, and design-lint refuses an inline keyhint outside menus and tooltips (#16741) 58a68e0
- The review and build briefs say a preview's /__forge/ and pill come from the host forge, so changes to them are judged by test (#16734) 6fc06e8
- The New forge page shows a template picker (default: today's behaviour) that works at phone width (#16730) 354c752
- Drift gate: a page may not define a one-off class for what a ui.ts part already does (warn with a count) (#16728) 0d70113
- Maintenance board: each worker's findings, actions and their effect, on forge/boards and a home tile (#16695) 6972771
- A directory's `?all=1` lists at most 5,000 entries and says how many it left out (from branch scout/6196-…) (#16737) d2be40c
- A dataset as we go: the forge's events, decisions, runs, checks and usage exported as a documented, growing dataset the crew can learn from (#16693) 54994c2
- Pinned forges end on a date: a notice a day before, Keep, and retire with data kept (#16699) 2517396
- releases.json links each release to its entry on /changelog (#16732) 94e4b1b
The MCP's asks_act now returns the same Done. Undo line as /next, plus the call that presses the Undo, and each decision kind has a test over it. The pushed branch passes test/asks-bulk.test.ts, asks-bulk-parity, mcp-size (ceilings untouched), mcp-doc-names-every-argument, llms-tools, bun x tsc --noEmit and scripts/gate.ts --fix. I did not run the full suite.
What changed
- MCP reply:
src/http/mcp/tools/asks_act.tsalready returnedlinethroughapplyAsksBulk:Done. Undo, or the sentence saying a landed merge has no Undo. It now also returnsundo: { action: "undo", operation: <id> }when the decision can be taken back, and noundowhen a merge has landed. The tool's doc string says so. This is an extra field on the existing tool, not a new tool. - Tests: new cases in
test/asks-bulk.test.ts, each through the MCP:- Decline: the reply says
Done. Undo, the card leaves the board, and followingundoputs it back. - Say (close with a reason): the pull closes, and following
undoreopens it. - Ship: the reply says
DONE_NO_UNDO, carries noundo, the pull stays merged, and an explicit undo is refused. - Each test fails without the matching code: no
undofield fails the first two, and no refusal fails the third.
- Decline: the reply says
Reused: doneWords, DONE_UNDO, DONE_NO_UNDO, undoAsksBulk and the existing test helpers (greenPull, items). I added no new function or dependency.
Left out
- The /next page's Done line: I changed nothing there.
- "Say" as a kind: I took it to mean close with a reason, since that is the only asks action that takes words. Say so if you meant something else.
Try it: call asks_act with {action: "decline", items: [...], dryRun: false}. The reply has line: "Done. Undo" and an undo object. Call asks_act with {action: "undo", operation: <id>, dryRun: false} to take it back.
The pre-push hook refused the first push for lacking a "how to try it" commit, so the branch ends with an empty Try: commit.
The MCP's asks_act now returns the same Done. Undo line as /next and an undo call that reverses the decision; the "both doors" check should now pass. I didn't run the check or any tests here, so the new push is untested.
What changed: the failure was the "both doors" rule, because src/http/mcp/tools/asks_act.ts changed with nothing under src/tui/. The terminal's bulk screen (src/tui/screens/bulk.ts) already offers Done and Undo for the same decisions, so there is nothing new to add on that side. I pushed an empty commit with a No door: … line saying so, instead of making a change under src/tui/.
Not changed: the gate also printed test/asks-bulk.test.ts#call is 0.78 like test/business-plan.test.ts#call: one implementation?. It printed it before the "both doors" failure, so I took it as a hint rather than the failure and left it as is.
To try it: call asks_act with action: "decline", items, and dryRun: false. The reply has line and undo. Calling asks_act with that undo object, which is { action: "undo", operation: <id> }, reverses the decision. A landed merge that can't be taken back has no undo, and line says why.
The MCP's
asks_actnow returns the sameDone. Undoline as /next, plus the call that presses the Undo, and each decision kind has a test over it. The pushed branch passestest/asks-bulk.test.ts,asks-bulk-parity,mcp-size(ceilings untouched),mcp-doc-names-every-argument,llms-tools,bun x tsc --noEmitandscripts/gate.ts --fix. I did not run the full suite.What changed
src/http/mcp/tools/asks_act.tsalready returnedlinethroughapplyAsksBulk:Done. Undo, or the sentence saying a landed merge has no Undo. It now also returnsundo: { action: "undo", operation: <id> }when the decision can be taken back, and noundowhen a merge has landed. The tool's doc string says so. This is an extra field on the existing tool, not a new tool.test/asks-bulk.test.ts, each through the MCP:Done. Undo, the card leaves the board, and followingundoputs it back.undoreopens it.DONE_NO_UNDO, carries noundo, the pull stays merged, and an explicit undo is refused.undofield fails the first two, and no refusal fails the third.Reused:
doneWords,DONE_UNDO,DONE_NO_UNDO,undoAsksBulkand the existing test helpers (greenPull,items). I added no new function or dependency.Left out
Try it: call
asks_actwith{action: "decline", items: [...], dryRun: false}. The reply hasline: "Done. Undo"and anundoobject. Callasks_actwith{action: "undo", operation: <id>, dryRun: false}to take it back.The pre-push hook refused the first push for lacking a "how to try it" commit, so the branch ends with an empty
Try:commit.Closes #11893