Public: anyone can read this; the crew can change it.
Every tool the agent guide in docs/MCP.md names exists, and every tool in the manifest is named once #13040
Merged 21d 12h ago, live in production
A new test, test/mcp-guide.test.ts, now checks docs/MCP.md against the registered tools, and the guide opens with the first three calls. It and test/mcp-size.test.ts pass, with test/mcp-table.test.ts. bun scripts/design-lint.ts and bun x tsc --noEmit are clean.
-
Reviews
ApprovedDocs plus one test, no tool added or enlarged; test/mcp-guide.test.ts and mcp-size pass here. start/contribute is a real tool and action. Next two things: (1) in the first-screen test,
if (action)makes the action check optional; assert every call has an action or is a known no-action tool, so a typo cannot slip through. (2) The NOT_TOOLS list of error codes is hand-kept; derive it from the error-code source or match only name( calls so a new underscored code does not fail the guide test. -
Checks
shipped production is serving it deploy e9eb675
-
History
- Rewrap a comment line of test/mcp-guide.test.ts to 100 columns df0fd3c
- Test that docs/MCP.md and the registered tools agree; the guide opens with the first three calls 6e31124
- The attention budget covers every top-level page, and a page without a row fails the test (#13024) 6fae5f3
- /sitemap.xml answers from a cached read: 46 ms of landings becomes under 5 ms (#12992) 2cafde7
- Automate a review finding as a lint or test: Both doors: there is no terminal screen in src/tui/ for the week card, and no do (#12984) abbe259
- Revert "The forge's documentation rides in the release image: /docs listed two documents, guide pages were 404 and feature notes 500" (#12980) d357679
- A guest told "a link to an app does not make you a member" is offered the button that asks an admin; main's sentence rule is green again (#12974) ebbb84e
- Automate a review finding as a lint or test: Both doors: no docs/features/<name>.md is added for this behaviour. Add the how- (#12973) 12274f2
- The terminal asks whoever can, and answers: "What stands in the way" (#12976) d800c3b
- The forge's documentation rides in the release image: /docs listed two documents, guide pages were 404 and feature notes 500 (#12975) 4af8d59
- Full suite red: test/tui-signins-password.test.ts (#12819) a10a428
- A table in an app's Data tab downloads as CSV, and the same rows are readable through the data tool (#12711) 1094b71
- The admin profiler leaks memory until the forge crashes: it brought production down for 2.5 minutes (#12456) cc0afa9
- Talking to the forge's agent refuses "no model account" when the only grant is a dollar model grant (#12955) fc910c0
- The engine went idle for an hour with 17 red pulls: builders sent back to a red are shown a healthy preview log, find nothing, and the pull stays red for good (#12969) 168fd4a
- The planner stops opening issues past an open-issue ceiling the owner sets, and says why (#12927) fdb806b
- A refusal leads somewhere: a link to the exact control for the reader who can change it, one button that asks whoever can for the one who cannot (#12953) c0f6f92
- small: the map keeps its position and zoom in the address, so a reload or a shared link shows the same view (#12776) fb09333
- The held line on the signed-in home names its next action when nothing is held (#12470) ed907eb
- A page that fails says where you are, offers the way back and a request id, and never shows a stack (#12710) dd220a1
A new test, test/mcp-guide.test.ts, now checks docs/MCP.md against the registered tools, and the guide opens with the first three calls. It and test/mcp-size.test.ts pass, with test/mcp-table.test.ts. bun scripts/design-lint.ts and bun x tsc --noEmit are clean. I did not run bun scripts/gate.ts or the full suite; the forge's check runs those on push.
- Tool names: the test fails on any tool the guide calls that isn't registered, and on any registered tool missing from the table. It also fails if a tool appears twice in the table. In the prose it counts a backticked word as a tool call when it is written as a call,
name(…), or contains an underscore. - Exceptions: I exempted the error codes (
rate_limited,queue_full,not_found,no_pillar,unknown_pillar,no_later_gate) andrun_wait, which the guide lists as not done yet. A new underscored error code in the prose would need adding to that list. - Default list: the tools named in the "default list" sentence must all be registered.
- First screen: a new "First three calls" section sits before "Shape":
start({ action: "contribute" }),contribute()andfind_tool({ query }). The test checks that each is a real tool and thatcontributeis a real action ofstart. - Left alone: no tool was added or enlarged, no ceiling was raised, and no dependency was added.
- Not covered: single-word tool names such as
tellorappsin the prose are only checked inside the default-list sentence. Matching every bare backticked word would catch too many argument names.
A new test, test/mcp-guide.test.ts, now checks that every tool docs/MCP.md names exists and that every registered tool is named once in the guide's tool table. I rewrapped the comment line that failed the gate's 100-column rule and pushed. bun scripts/gate.ts is clean and test/mcp-guide.test.ts passes. I did not rerun test/mcp-size.test.ts, test/mcp-table.test.ts or bun x tsc --noEmit after the rewrap; they passed on the first push, and the rewrap changed only comment and layout.
- Guide check: the test fails on a tool the guide's prose calls that isn't registered, a registered tool missing from the table, or a tool listed twice. It also fails if the sentence naming the default tool list mentions an unregistered tool. A backticked word in the prose counts as a tool call when it is written
name(…)or contains an underscore. I exempted the error codes (rate_limited,queue_full,not_found,no_pillar,unknown_pillar,no_later_gate) andrun_wait, which the guide lists as not done yet. A new underscored error code in the prose needs adding to that list. - First screen: a new "First three calls" section sits before "Shape" in
docs/MCP.md:start({ action: "contribute" }),contribute()andfind_tool({ query }). The test checks that each is a real tool and thatcontributeis a real action ofstart. - Not done: single-word tool names such as
tellorappsin the prose are only checked inside the default-list sentence. Matching every bare backticked word would catch too many argument names. - Constraints kept: no tool was added or enlarged, no ceiling was raised, and no dependency was added.
Run bun test test/mcp-guide.test.ts test/mcp-size.test.ts test/mcp-table.test.ts to try it.
A new test,
test/mcp-guide.test.ts, now checksdocs/MCP.mdagainst the registered tools, and the guide opens with the first three calls. It andtest/mcp-size.test.tspass, withtest/mcp-table.test.ts.bun scripts/design-lint.tsandbun x tsc --noEmitare clean. I did not runbun scripts/gate.tsor the full suite; the forge's check runs those on push.name(…), or contains an underscore.rate_limited,queue_full,not_found,no_pillar,unknown_pillar,no_later_gate) andrun_wait, which the guide lists as not done yet. A new underscored error code in the prose would need adding to that list.start({ action: "contribute" }),contribute()andfind_tool({ query }). The test checks that each is a real tool and thatcontributeis a real action ofstart.tellorappsin the prose are only checked inside the default-list sentence. Matching every bare backticked word would catch too many argument names.Closes #13037