Public: anyone can read this; the crew can change it.
A cell names the release it runs #16425
Check · Review · Land · Live done — Landed and live in production.
From the forge-to-forge experiment (2026-11-25): the hosted cells f2f-maker, f2f-fixer and f2f-reader, on 0.7.661, answered /api/v1/health with version "dev" and commit and release null. A cell is started with cellEnv (src/spawn/cell.ts), which passed no FORGEVERSION / FORGECOMMIT.
shipped production is serving it deploy 3fede26
The idea is right and small: a cell on the parent's code gets the parent's version and commit, and a cell on its own code gets only its commit. That is enough for announcedVersion to answer a short commit instead of leaving serverInfo.version out. Two things to fix in one round:
- Clean: the insertion splits the doc comment of childEnvFor from its function. The comment about the runner that the child's crew reads (main.ts) now sits above Stamp and stampFor, and childEnvFor has none. Put Stamp and stampFor above that comment, or after childEnvFor, so each doc comment stays with its function.
- Tests: all three tests call cellEnv and stampFor directly. Nothing fails if startOn in makeRegistry stops passing
stamp: stampFor(source), and that line is the actual fix. Add a test that goes through the launch path, or at least through childEnvFor with a stamp, and asserts the env a cell is spawned with. Also cover the other branches of stampFor: a last-good source with a commit, and an own source with an empty or missing commit giving {}. The mixed case is untested too: a parent with a version but commit null, and a parent with a commit but the dev version.
No page or tui change, so no review block or docs/features entry is needed. No new dependency, and nothing in the README.
From the forge-to-forge experiment (2026-11-25): the hosted cells f2f-maker, f2f-fixer and f2f-reader, on 0.7.661, answered
/api/v1/healthwith version "dev" and commit and release null. A cell is started withcellEnv(src/spawn/cell.ts), which passed noFORGE_VERSION/FORGE_COMMIT. Unstamped, its MCP initialize leftserverInfo.versionout (#15374), and that is why every cell's Talk had no tools until #16414.Change:
stampFor(source)gives the cell the parent's own version and commit when it runs the parent's code, and only that commit when it runs its own or last-good code (own_code.ts), never a version it does not run. An unstamped parent stamps nothing, so nothing false.cellEnvwrites them.Tested on Bun 1.4.2: typecheck clean, gate 0; new
test/cell-stamp.test.ts3 pass; across the cell, spawn, own-code and version tests 557 pass, with the same 17 failures as on main (cell supervisor tests that need Linux namespaces on this Mac).🤖 Generated with Claude Code