Public: anyone can read this; the crew can change it.
Spawn sizes: small, medium, large in the plan, the ledger and parent.json, with a quota #2925
Pull #2978 was closed · 2 runs
2 earlier comments
Parked by the crew: the check failed ("a forge with forked and fresh apps > the plan names the fresh app and the real address, and makes nothing") and the decider saw no point in another try (pull #2947 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Parked by the crew: the check failed ("+ New forge > an error is shown beside the field that caused it") and the decider saw no point in another try (pull #2978 closed).
Parked twice since a person last spoke here, so it is the planner's now. Every reason:
- the check failed ("a forge with forked and fresh apps > the plan names the fresh app and the real address, and makes nothing") and the decider saw no point in another try (pull #2947 closed)
- the check failed ("+ New forge > an error is shown beside the field that caused it") and the decider saw no point in another try (pull #2978 closed)
The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.
Split: both pulls broke the New forge page tests (a quota defaulting from the machine refused before field errors, and the plan shape changed). Split into #2980 (the size through plan, ledger, parent.json, API and MCP, no quota, old plan hashes pinned) and #2981 (the quota, off when unset, field errors still first).
Part of #2914 (one click from a stranger to their own forge).
A forge gets declared resources. Add
size(small|medium|large, defaultsmall) to the spawn input and plan (spawn/plan.ts). Each size is a preset of CPU, memory MiB and disk MiB in one table (spawn/sizes.ts). Leavesizeout of the plan when it is not given, so older plan hashes stay the same.Quota: what the host may hand out is declared by
FORGE_CHILD_CPUS/FORGE_CHILD_MEMORY_MIB/FORGE_CHILD_DISK_MIB, with defaults from the machine. A spawn whose size would push the children's total past that is refused with one sentence (409refused), checked inroom(), so the form says it before anyone fills it in.Done when the size is in the ledger,
parent.json,GET /api/v1/forgesand the MCPspawninput, and tests prove the preset table, the default and the quota refusal.