Public: anyone can read this; the crew can change it.
Nothing that destroys data runs from a chat #16295
Check · Review · Land · Live done — Landed and live in production.
A Do it ran any held tool, the data-destroying ones among them (boarddelete, appdataimport, subscriptiondelete). The owner's rule is that nothing is deleted without a red button and a dialog where the person types the name.
shipped production is serving it deploy 3fede26
The code is sound. No security hole found. The refusal sits at the same door as refusedToAgent. A Do it also refuses a held row, and the confirm is spent first. The marker walk-test is thorough. One change is needed.
- Write the how-to. The diff touches no file under docs/features/. This pull changes what the forge's agent may do and what a Do it does. docs/features/danger-confirms.md and docs/features/conversation-fence.md describe holds and confirms, and both are now wrong or silent. Say there that a call marked
tier: "delete"is refused at once and never held. Say that a Do it on an old held row refuses with 409delete. List what counts as destroying, and where a person does it themselves. Add the rule for new tools: mark the tool withtier,deletesandwhere. Do not put any of this in README.md.
Not blocking: the test file's SPARED list is long and its reasons are judgement calls. Keep it short, or the next reviewer will not read it.
Steward note: new head 0901a38a, one commit on main, answering the review. The how-to is written in docs/features/danger-confirms.md and docs/features/conversation-fence.md: a call marked tier: "delete" is refused at once and never held; a Do it on an old held row refuses with 409 delete; what counts as destroying and where a person does each themselves; the rule for a new tool (tier, deletes, where). Nothing in README.md. The test's SPARED list is cut from 16 to 6. Checked: type check clean; gate, no rule line; 2438 pass across the related and rule files.
Earlier asks are met. The how-to is in docs/features/danger-confirms.md and conversation-fence.md, and README.md is untouched. The SPARED list is cut to 6, each with a reason. A call marked tier: "delete" is refused at once, with the page named, fence up or down. It is never held, and a non-admin agent learns nothing about admin tools. A Do it on an old held row answers 409 delete, spends the confirm, runs nothing and says where to do it. The page, the API and the terminal confirms screen all go through sayYes and REFUSED, so both doors behave the same. Tests cover every marked tool through /mcp, both fence states, the other calls of the same tool, and two Do it paths. Non-blocking: only deleting a repository asks for its typed name today, which the docs say.
A Do it ran any held tool, the data-destroying ones among them (board_delete, app_data_import, subscription_delete). The owner's rule is that nothing is deleted without a red button and a dialog where the person types the name.
A tool that destroys data now says so on its own definition (
tier: "delete",deletesfor the calls that do,wherefor the page a person does it on). For the forge's agent such a call is refused whererefusedToAgentrefuses, at once, with one sentence naming that page: it is never asked first, never held, and a Do it refuses it even for a row held before this change. test/delete-tier.test.ts walks every write tool: one whose name or description says it destroys carries the mark, or a written reason it does not.Try: in /talk ask the agent to delete a board: it answers with the board's page and draws no Do it. No door: the terminal's confirms screen calls the same sayYes and reads the same REFUSED words, so it refuses a destroying confirm the same way with no edit; the tools' marks change nothing a screen shows.
Co-Authored-By: Claude Fable 5 <[email protected]>
--- SECURITY, live on production today. Found by an adversarial review of Talk on 2026-11-24 and proven on main by a failing test. The owner's rule, 2026-11-24: "never like delete data and stuff without showing like a red button and a delete dialog where they type the name". One commit on main. Checked by the steward on this head: it merges; type check clean; gate, no rule line.
🤖 Generated with Claude Code