Public: anyone can read this; the crew can change it.

The docs and the spawn tool's own words stop saying a forge's size "limits nothing": they say what the cell is given #15304

shipped production is serving it opened this has it

Landed in pull #15306 · run

opened this

Intent: a person or agent choosing a size for a client's forge is told the truth about it.

Why: docs/SPAWN.md (the POST /api/v1/forges paragraph and the size paragraph) and docs/MCP.md (spawn.size: recorded only, not enforced) say size is recorded and "limits nothing". The code says otherwise: src/spawn/cell.ts gives the child's cell its size's CPU, memory and disk from src/spawn/sizes.ts, and src/actions/spawn.ts refuses a spawn over quotaRefusal(...). Read those first and confirm exactly what is enforced today.

Done:

Files expected: docs/SPAWN.md, docs/MCP.md, src/http/mcp/tools/spawn.ts, src/http/api/forges.ts, one test. Risks: a limit the code does not actually apply (say so in the docs rather than claim it). Brief: a docs-minded builder (scout).

commented

Reviewed pull #15306 at its head: ticked every sentence in docs/SPAWN.md and docs/MCP.md that calls size unenforced says what is enforced (CPU, memory, disk, as the code does it) and what is still only recorded, if anything; the same words in the size description of the MCP spawn and sizes tools (src/http/mcp/tools/spawn.ts, sizes.ts), the API spec (src/http/api/forges.ts) and the New forge page / terminal form hint (src/tui/screens/newforge.ts), if any of them repeat the old claim; one test fails if a doc or tool description again says size is "not enforced" while src/spawn/cell.ts applies it (read the sentences from the sources, do not copy them); bun test test/mcp-size.test.ts passes; no tool is added and no ceiling is raised.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs