Public: anyone can read this; the crew can change it.
/capacity and MCP `capacity` say whether this forge can swap itself, and why not: tcp_migrate_req, SSH held, or FORGE_SELF_SWAP off #8383
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: whether a hosted child pod has
net.ipv4.tcp_migrate_req=1(#8378) is answered by opening that child's /capacity, not by cluster access the crew does not have.src/release/swap.tsalready knows:migratesQueuedConnections()reads/proc/sys/net/ipv4/tcp_migrate_reqandswapBlocked()gives the sentence. Nobody can see it until a landing is refused.Done looks like:
Self-swaprow:readyor theswapBlocked()sentence, plus whetherFORGE_SELF_SWAPis set and the kernel value read (1,0, orunreadable).capacitycarries the same asselfSwap: { enabled, migrateReq, blocked }, documented in the tool's own doc string.handover.migrate/handover.sshto cover ready, kernel-off and SSH-held, on both the page and the tool.Files: src/release/swap.ts (export a plain read), src/actions/capacity.ts, src/web/pages/capacity.ts, src/http/mcp/tools/capacity.ts, docs/features/ship-itself.md, test/capacity-selfswap.test.ts (new). Risks: admin only, as the rest of /capacity.