Skip to content

feat(spawn): host EVERY resumed citizen + recipe overlay in prod + drop vestigial default_room gate (#432) - #2303

Merged
joelteply merged 1 commit into
canaryfrom
fix/432-overlay-wiring-floor-orphans-room-gate
Aug 14, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/432-overlay-wiring-floor-orphans-room-gate

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Spawn-gate slices 4+5 (#432), completing the survey's remaining structural fixes:

Floor orphans resumed citizens (5a). The spawner's plan was sized to CONTINUUM_PERSONA_FLOOR while ResumeOrMintProvider held every resumed seed on disk — 5 seeds + floor=1 meant one citizen hosted and four orphaned, silently, forever. The boot task now re-sizes the plan to provider.identities_available() (= resumed.max(floor)): the floor mints, it never caps a resume.

Vestigial default_room gate (5b). Persona bootstrap gated on daemon_socket.zip(default_room) — no discovered default room meant no citizens, for no reason (#298 removed the operator-room birth dep; the zip outlived it). The persona block now gates on the socket alone. The room remains a dep only for its genuine consumers: GridCapacityModule (registered when present, loud warn when absent) and the node-presence emitter (pair rebuilt explicitly).

Recipe disk overlay wired in prod (4). builtins_with_overlay had zero production callers, so "a new experience is a new recipe entry, zero code" was false in the running system. The chat projection now resolves embedded + <continuum_root>/recipes via one canonical overlay_dir helper, and #431's validate_recipe validates against the SAME union (known_purposes(overlay_dir)) — validation and resolution cannot drift, so an authored on-disk recipe is spawnable the moment the file exists. Malformed overlay files refuse loudly, naming the file, at both boot and activity/spawn.

Tests: floor/resume matrix on identities_available; set_population plan resize + clamp; overlay-authored purpose validates; malformed overlay refuses naming the file; all existing recipe/activity/projection tests green. cargo check clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

… + drop vestigial default_room gate (#432, slices 4+5)

Three fixes from the spawn-gate survey, all landing the same contract:
citizens spawn cleanly from recipe registries, and nothing on disk is
silently ignored.

FLOOR ORPHANS (5a): the spawner's plan was sized to CONTINUUM_PERSONA_FLOOR
while ResumeOrMintProvider held every resumed seed — 5 citizens on disk with
floor=1 meant one hosted and four orphaned forever. The boot task now calls
supervisor.set_population(provider.identities_available()) after provider
construction: the floor stays a MINT floor, never a resume CAP. New:
ResumeOrMintProvider::identities_available(), PersonaSpawnerModule/
PersonaSpawnSupervisor::set_population (same >=1 clamp as with_population).

VESTIGIAL ROOM GATE (5b): persona bootstrap zipped daemon_socket with
default_room, so "no default room => no citizens, for no reason" (#298
removed the operator-room birth dep; the zip outlived it). The persona block
now gates on the SOCKET alone; the room stays a dep only for its genuine
consumers — GridCapacityModule (registered when present, loud warn when not)
and the node-presence emitter (pair rebuilt explicitly).

RECIPE OVERLAY IN PROD (4): builtins_with_overlay existed with zero
production callers — "a new experience is a new recipe entry, zero code" was
false in the running system. The chat projection now resolves embedded +
<continuum_root>/recipes (one canonical overlay_dir helper), and #431's
validate_recipe grows the SAME union via known_purposes(overlay_dir), so
validation and resolution cannot drift: an authored on-disk recipe is
spawnable the moment the file exists. A malformed overlay file refuses
loudly naming the file — at boot in the log, and at activity/spawn as the
command error.

Tests: identities_available floor/resume matrix; set_population plan resize
with clamp; overlay-authored purpose validates + malformed overlay refuses
naming the file; all existing recipe/activity/projection tests green.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply merged commit 9bae87f into canary Aug 14, 2026
5 checks passed
@joelteply
joelteply deleted the fix/432-overlay-wiring-floor-orphans-room-gate branch August 14, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant