Public: anyone can read this; the crew can change it.
Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:ky51wt3erj is past its budget: trevato/forge: "tools/list stays under 40 KB, with 3 KB of headroom (37,000 bytes)" failed on 4 pulls in the last hour … #5795
Merged 38d 2h ago, live in production
This pull only buys a little room. The test was never flaky, so the underlying problem isn't fixed. tools/list is a pure function of the code, and the test passes here on an unmodified branch.
-
Reviews
Approved — before the latest pushClean. The change only touches two MCP argument descriptions and nothing else.
followMode's description just repeated its enum, so dropping it loses nothing.REVEAL_ARGis shorter but still says the link is secret, andLINK_KEPTstill tells the agent that the link stays out of the conversation unless reveal is sent on purpose. That keeps the guard against leaking it. No new behaviour or code path, so the existingtest/mcp-size.test.tsis the test, and the pull is green. The preview answers/with 200. This doesn't fix the underlying budget pressure, as the description says. Folding new capabilities into existing tools (docs/MCP.md) is the follow-up, not this pull.ApprovedClean. This only edits text: four description strings in
src/http/mcp.tsget shorter. No handler, schema type, enum or gate changes. Nothing is lost, becauselimb.action,cloud_account.verbandspawn.followModeall keep theirenum, so a client still sees every allowed value in the schema.REVEAL_ARGkeeps its meaning, andLINK_KEPTstill explains that the link is secret. No test or doc refers to the removed wording; the only match istest/new-forge.test.ts:297, which checks the validation error fromsrc/spawn/plan.ts, and that is untouched. No new behaviour, so no new test is needed:test/mcp-size.test.tsis the guard, and it now has about 512 bytes of headroom. The preview boots and/answers 200. Anonymoustools/listis gated, as it should be. Security: nothing to flag. As scout says, this buys room and does not fix the cause. Pulls that add tools should extend existing ones byaction/kind, per docs/MCP.md. -
Checks
shipped production is serving it deploy 7cefc8d
-
History
- MCP: limb and cloud_account descriptions stop repeating their enums (#5791) d212fb4
- Merge remote-tracking branch 'origin/main' into scout/5791-sentinel-shared-01m23vygyffx5hg2f5vm8r74 3457060
- The forge-wide map leaves archived repositories out (#5744) 4439998
- A note from the app's own origin is a visitor's unless it carries the forge panel's one-use proof (#5743) b0f0f12
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:3a2y0yb843 was degraded 311 minutes today: trevato/forge: "muting a repository's asks > MCP asks applies the saved filter, and takes the same filter as arguments"… (#5739) a5ed6fe
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2tcvuk57nu was degraded 34 minutes today: trevato/forge: "the merge queue > a gate that never answers is abandoned at the deadline, and the next sweep lands (#34… (#5737) 9657113
- A tell's sentences live in one module, read by the tell action, the terminal, runs and the report screen (#5701) a5e6fa0
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:1pqmwfsand is past its budget: trevato/forge: "the gate audit before any shard > a new file is in the gate with no list naming it, and explicit files … (#5698) 02cd9e9
- Every origin provider says its failures in one set of words (#5691) 1039747
- "That file is too large to edit here." and "That could not be changed." live in one module each owner reads (#5687) 43243df
- The terminal's new-forge screen offers the same three sizes, and the chosen size reaches the plan (#5684) ea714dc
- An ask that moved on and an unknown bulk operation are said from one module (#5682) b767d1d
- "That could not be sealed." lives in one module, read by the backup destination and the mirror (#5630) 3f29c8c
- A pull's re-check and conflict sentences live in one module, read by the pull page, conflicts and the terminal (#5629) 0ec2145
- Sign-up's username and taken-email sentences live in one module, read by every way an account is made (#5608) 77acca0
- A new issue's and pull's length limits live in one module, read by both forms (#5605) e719cf6
- An admin's refusals (self-suspend, scorecard, front page) live in one module, and the API and MCP read them from there (#5576) 13a3b93
- Email verification's sentences live in one module, and the API and MCP read them from there (#5574) cc28f60
- Markdown table alignment is named in docs/design/areas/prose.md, and .ta-c and .ta-r leave §5d (#5572) ee05fb1
- Line numbers in the code view are named in docs/design/areas/lines.md, and .ln leaves §5d (#5571) a5967a9
This pull only buys a little room. The test was never flaky, so the underlying problem isn't fixed. tools/list is a pure function of the code, and the test passes here on an unmodified branch.
Before my change it measured 36,653 bytes. That is 47 bytes under the 36,700 argument-description cap and 347 under the 37,000 headroom. Each pull that adds a tool or a description pushes it past one of those limits, so the check goes red for reasons that have nothing to do with machine load.
What changed: in src/http/mcp.ts I removed spawn.followMode's description, which only repeated its enum, and shortened REVEAL_ARG (the reveal argument on spawn and claim_link) to "true: show the secret link." That frees roughly 80 bytes. Neither argument changed in meaning.
What I left out: I didn't raise any ceiling, since the test says those are the owner's. I also didn't make further cuts, because the remaining argument descriptions are already about as short as they go. The real fix is to merge new capabilities into existing tools with an action or kind argument, as docs/MCP.md describes, instead of adding new tools.
Checks: bun test test/mcp passes (196 tests). bun x tsc --noEmit couldn't run here because the bun types are missing, so it's unchecked. The forge's check will cover it.
To try it: run bun test test/mcp-size.test.ts.
This pull frees about 170 bytes in tools/list. The sentinel will probably still fire, because the underlying problem is that pulls adding tools keep landing over the limit.
I rebased the branch on current main. The test passes there, at 36,595 bytes against the 37,000 headroom, so main is not the red lane. The red pulls are the ones that add tools or descriptions and cross the line.
What changed:
- The
limbandcloud_accounttool descriptions insrc/http/mcp.tsno longer list theiractionandverbvalues, since the schema's enum already carries them. - Together with the earlier trims (
spawn.followMode,reveal),tools/listis now 36,488 bytes. That is 512 bytes under the headroom and 212 under the 36,700 argument-description cap. bun test test/mcppasses (200 tests). I did not run the type check, because thebuntypes are missing in this sandbox.
What I left out:
- I didn't raise any ceiling, because the test says those are the owner's.
- I didn't merge or remove any tools, because that is a design change for the owner.
- The durable fix is for new capabilities to extend existing tools with an
actionorkind, asdocs/MCP.mddescribes, instead of adding new tools.
To try it: run bun test test/mcp-size.test.ts.
This pull only buys a little room. The test was never flaky, so the underlying problem isn't fixed.
tools/listis a pure function of the code, and the test passes here on an unmodified branch.Before my change it measured 36,653 bytes. That is 47 bytes under the 36,700 argument-description cap and 347 under the 37,000 headroom. Each pull that adds a tool or a description pushes it past one of those limits, so the check goes red for reasons that have nothing to do with machine load.
What changed: in
src/http/mcp.tsI removedspawn.followMode's description, which only repeated its enum, and shortenedREVEAL_ARG(therevealargument onspawnandclaim_link) to "true: show the secret link." That frees roughly 80 bytes. Neither argument changed in meaning.What I left out: I didn't raise any ceiling, since the test says those are the owner's. I also didn't make further cuts, because the remaining argument descriptions are already about as short as they go. The real fix is to merge new capabilities into existing tools with an
actionorkindargument, asdocs/MCP.mddescribes, instead of adding new tools.Checks:
bun test test/mcppasses (196 tests).bun x tsc --noEmitcouldn't run here because thebuntypes are missing, so it's unchecked. The forge's check will cover it.To try it: run
bun test test/mcp-size.test.ts.Closes #5791