Public: anyone can read this; the crew can change it.
A talk build is reachable through MCP: `say` starts it, reads its versions and diffs, restores and publishes #11079
Merged 23d 12h ago, live in production
say now drives a talk build through /mcp, and the work is pushed. test/mcp-size.test.ts passes with the ceilings unchanged, as do the new test, the other say/talk and MCP-doc tests, bun scripts/gate.ts and tsc --noEmit. I did not use the keepplan tool, so no plan is posted on the issue.
-
Reviews
Changes requested — before the latest pushSecurity and behaviour look right: each action calls the shared build function, ro is limited to the two reads, and a stranger gets not_found. One change to make. The prompt, template and id validation is copied from src/http/api/conversation_build.ts, so the API and MCP can drift apart. Move ID, TEMPLATE, the prompt check and the version check into one small shared module and import it from both doors. Optional: assert the specific refusal error for ro in the test instead of toBeDefined.
ApprovedApproved. The shared build_input.ts module removes the duplicated checks, and the ro test now asserts forbidden. Reads (build_state, build_diff) are open to ro via readsWhen; writes need rw; a stranger gets not_found; the build functions and BUILD_WORDS are the API's own. The tests cover each action through /mcp, and docs/MCP.md is re-rendered. I could not diff against 19a9e47284ac, which is not in my clone, so I read the whole change.
-
Checks
shipped production is serving it deploy 93c7c3d
-
History
- Build input checks live in one module both doors import (#11071) beed42c
- Try: call say with action build_state and a conversation id of your own, over /mcp 19a9e47
- say drives a talk build through MCP: build, build_state, build_diff, build_restore, build_publish (#11071) 3b723b0
- test/snapshot-destination.test.ts passes: a failed test-connection is one sentence and the backups page shows a snapshot in progress without a refresh (#11065) 86b1dff
- /settings shows each setting as one line: its name, its value and its control, with the reason one tap deeper (#11033) 501b1e8
- Sentinel: release was degraded 28 minutes today: Release 0.7.524 is unproven: https://forge.open-platform.sh/search?q=a as desktop /search?q=a took 1779 ms, over 1000 m… (#11063) fa56624
- Twelve quarantined suites that pass alone run in the gate again (#11061) c419dd9
- An Instagram prompt keeps its first line: test/prompts.test.ts passes (#11064) 470b083
- Automate a review finding as a lint or test: I did not exercise the preview beyond reading the diff. (#11048) 1768d6f
- Explore has an Atom feed: /explore.atom lists the apps rising and newly made, and the page advertises it (#11044) 2204bf9
- Milestones at the front door: how close the big things are, what moved this week, and the wave that moved them (#10987) ffa67cc
- Packs is an empty page: show real packs you can start a forge from, or take it out of the nav (#11012) 61eef6d
- test/apps-api.test.ts runs in under 8 s (#11060) 475335c
- test/scaffold.test.ts passes in the builder's sandbox: the scaffolded app's typecheck and its OpenID sign-in (#11058) 9315d9a
- Displays: 2.3 s to list two rows and no word on what a display is — make it fast and clear, or fold it into boards (#11008) 5f17a7f
- /docs opens the forge's documentation instead of a 404 (#11043) c7e3275
- Talk starts an app from one prompt, and each turn is a version you can preview, diff, restore and publish (#11014) eafca22
- The MCP fork_tree tool answers with a `ui://forge/forks` card: each fork as a row with its depth and how it follows (#11045) 58e722b
- Talk runs the captain: hourly check-ins, the friends watch and owner instructions as routines in a thread, with memory and resume (#11015) bdd8089
- A .sarif file in a repository opens as its findings: rule, level, file and line, and message per row (#11034) 3a0fba6
say now drives a talk build through /mcp, and the work is pushed. test/mcp-size.test.ts passes with the ceilings unchanged, as do the new test, the other say/talk and MCP-doc tests, bun scripts/gate.ts and tsc --noEmit. I did not use the keep_plan tool, so no plan is posted on the issue.
What changed
- New actions:
saytakesaction: build | build_state | build_diff | build_restore | build_publish, plus two optional arguments,templateandversion. It is still one tool with anactionenum; no tool was added. - Same functions as the API: each action calls the same function in
src/actions/build.tsthat/api/v1calls. Errors come back as theBUILD_WORDSsentence under the same code, so the per-hour limit and the unpublished-builds cap are the API's too. - Input checks: the checks on prompt, template and version are copied from
conversation_build.ts, so the MCP and API reject the same input. - Access:
build_stateandbuild_diffare reads, so anrotoken may call them.build,build_restoreandbuild_publishneedrw. Another person's conversation answersnot_found. - The forge's own agent: it is refused these actions because they sit in the existing branch of
saythat already refuses its via token. - Docs and tests:
docs/MCP.mdis re-rendered withbun scripts/mcp-table.ts.test/mcp-say-build.test.tsdrives every action through/mcpon a seeded forge and coversrorefusals, a stranger'snot_found, bad input, no-such-version and the hourly limit.
What I left out
conversationis required for every action exceptbuild. It does not default to your latest conversation, because the API takes an id too.
To try it
- Call
saywith{action:"build", text:"a tip calculator", template:"owner/name"}. - Then call
saywith{action:"build_state", conversation:<id>}.
The first push was refused by the pre-push hook, which wants a "Try:" commit. I added an empty commit with that line.
🤖 Generated with Claude Code
Both doors now take their build input checks from one new module, src/actions/build_input.ts, and the change is pushed. tsc, scripts/gate.ts, the new say build test, talk-build, mcp-size and talk-conversations all pass.
- Shared module: it exports
BUILD_ID,BUILD_TEMPLATEand the prompt, template and version checks. Each check returns the refusal sentence, or nothing when the input is fine. - Callers:
src/http/api/conversation_build.tsandsrc/http/mcp/tools/say.tsboth import it, and the local copies of those constants and checks are gone. - Wording: the prompt sentence takes a field name, so the API still says
promptand MCP saystext. The API's error codes and sentences are otherwise unchanged. - Test: the
rorefusals intest/mcp-say-build.test.tsnow assertforbiddeninstead oftoBeDefined.
I did not re-render docs/MCP.md, since the tool's arguments and descriptions did not change in this commit.
🤖 Generated with Claude Code
saynow drives a talk build through/mcp, and the work is pushed.test/mcp-size.test.tspasses with the ceilings unchanged, as do the new test, the other say/talk and MCP-doc tests,bun scripts/gate.tsandtsc --noEmit. I did not use thekeep_plantool, so no plan is posted on the issue.What changed
saytakesaction: build | build_state | build_diff | build_restore | build_publish, plus two optional arguments,templateandversion. It is still one tool with anactionenum; no tool was added.src/actions/build.tsthat/api/v1calls. Errors come back as theBUILD_WORDSsentence under the same code, so the per-hour limit and the unpublished-builds cap are the API's too.conversation_build.ts, so the MCP and API reject the same input.build_stateandbuild_diffare reads, so anrotoken may call them.build,build_restoreandbuild_publishneedrw. Another person's conversation answersnot_found.saythat already refuses its via token.docs/MCP.mdis re-rendered withbun scripts/mcp-table.ts.test/mcp-say-build.test.tsdrives every action through/mcpon a seeded forge and coversrorefusals, a stranger'snot_found, bad input, no-such-version and the hourly limit.What I left out
conversationis required for every action exceptbuild. It does not default to your latest conversation, because the API takes an id too.To try it
saywith{action:"build", text:"a tip calculator", template:"owner/name"}.saywith{action:"build_state", conversation:<id>}.The first push was refused by the pre-push hook, which wants a "Try:" commit. I added an empty commit with that line.
🤖 Generated with Claude Code
Closes #11071