Repository navigation
Description
Implementation packet P5 from the hosted worlds v1 design for #6283: doc/2026-11-16_design_id6283_hosted_worlds_v1.md (§3, §9), merged in PR #10692. Phase 14 core topic #6276; principles from #1240 govern.
Scope
Basement-cluster deployment pack for the single-node host: a service definition (systemd/NixOS) running the one id host process, the data-root layout, and Drew's topology split from #6276 — one public main endpoint reachable by clients, with deeper backend pieces as separate iroh/id servers behind private tunnels with limited trusted access. Includes the operator runbook: start/stop/inspect, host restart after power events (recovery per design §5), adding a world by copying its directory in while asleep, and reading the per-state census for capacity. Power/thermal is the cluster's real ceiling: asleep worlds cost no CPU, and power events are ordinary host restarts — no new machinery.
Acceptance criteria
- A fresh basement-cluster node deploys from the pack alone: service up, host mode running over an empty data root, operator CLI answering.
- The public/private split is enforced by the deployment: backend pieces are reachable only through their private tunnels, verified by a connection attempt from outside the tunnel failing.
- A world directory copied in while asleep appears in
host list, starts, serves, and stops using only the runbook's steps. - A simulated power cut (host killed uncleanly) recovers per design §5 with the runbook's verification steps confirming the recovered state.
Dependencies
Builds on packets P1 (issue #10693) and P4 (operator CLI). Does not depend on open #805 (F12.11). Public-server operation for others is v4 (#6286), not this packet.
Activity
developing-today commentedon Nov 16, 2026
CODE-3877
dezren39 commentedon Nov 17, 2026
Agent note — task 19348 triage (lane any-k): #10697 P5 dep-blocked on P1 #10693 + P4 #10696, both OPEN
dezren39 commentedon Nov 20, 2026
Agent note — task 19348 triage (lane oc-code-05): #10697 dependency-blocked
dezren39 commentedon Nov 23, 2026
Agent note — task 19348 triage re-verification (lane xaltha): #10697 remains dependency-blocked
dezren39 commentedon Nov 26, 2026
Claimed by lane 6, 2026-11-26T08:15Z. P1 (#10693) and P4 (#10696) are both closed now, so this is no longer dependency-blocked.
First slice: the serving node itself (
id serve --world-host) answers the operator CLI overhost.sock, so a deployed node needs only the one process the design names. Today onlyid host runbinds the socket, andid host start/stop/archive/restorefail against a serving node. Then the NixOS module option for host mode and the runbook.Generated by Claude Code
feat(id): NixOS world-host option, VM test and runbook (P5)
fix(id): a world host keeps an at-rest default world closed across re…
11 remaining items
feat(id): host adopt — copy-in step for the P5 deployment pack (#10697)
feat(id): host adopt — copy-in step for the P5 deployment pack (#10697)
feat(id): host adopt — copy-in step for the P5 deployment pack (#10697)
feat(id): host adopt — copy-in step for the P5 deployment pack (#10697)
feat(id): host adopt — copy-in step for the P5 deployment pack (#10697)
Merge pull request #16620 from developing-today/lane-1737l-10697-host…
dezren39 commentedon Nov 29, 2026
Agent note — lane 1737-L (alpha DRIVE, queue task 24475): copy-in slice landed; acceptance evidence now rides on the nightly VM run
Premise + ownership check (issue + all 11 comments read): PR #15472 merged the pack; the three criteria below were the whole remainder. Firsthand gap found:
Supervisor::adopt/HostFile::adoptexisted inid-worlds, but no CLI verb and no control-socket request exposed them — a world directory copied into a running node's data root could never appear inhost listby runbook steps, so the copy-in criterion was not merely unverified, it was unimplementable as written.Landed — PR #16620, merged 2026-11-29T00:07:18Z as
9e3f664c:id host adopt <ROOT> <WORLD> [--actor] [--json]: newControlRequest::Adopt,HostLifecycle::adopt, arms in both theid host runsupervisor and the serving node'sNodeControl, and a CLI act that goes through the running host or edits the host file directly (theimportshape). Unit tests at all three layers + a CLI parse test.nixos-world-hostextended with the three acceptance scenarios: copy-in while asleep (invisible until adopted, then lists/starts/serves/stops by runbook steps), a no-TCP-listener assertion for the private operator plane, and a simulated power cut (crash()+ reboot: live → live by replay, asleep → asleep, operator path re-verified).Verification state, honestly: the fleet Actions exec route failed twice from this seat (TLS
UnknownIssueron dispatch) and repo CI for pkgs/id runs the fast matrix on main pushes with the VM checks inid e2e nightly— so the extended VM test's green run is still owed. I dispatched the nightly manually on main at the merge SHA; itsnixos-world-hostresult is the acceptance evidence for all three criteria. Queue task 24475 is parked on exactly that (non-person ready condition: id-e2e-nightly success on main ≥ 9e3f664). If the VM scenario fails, the failure output names the scenario and this issue gets the fix-forward, not a claim of acceptance.No acceptance is claimed by this note.
dezren39 commentedon Nov 29, 2026
Agent note — lane 0037-A-C (alpha DRIVE, queue task 24475): parked nightly has concluded FAILURE (metadata only)
epic/id-platform,status/blocked,queue/blocked; all comments read. The remainder was landed by lane 1737-L in PR feat(id): host adopt — copy-in step + P5 acceptance scenarios in the VM test (#10697) #16620 (merged9e3f664c) and task 24475 was parked on id-e2e-nightly run 46204897144 at that exact head.9e3f664cf01d350eac27c7883650d68c19be38df, status completed, conclusion: failure, finished 2026-11-29T00:56:43Z. https://github.com/developing-today/code/actions/runs/46204897144developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck of this issue — details, labels, blockers, priority (rechecked from scratch; prior detail did not exempt it).
STRENGTHS:
GAPS FOUND:
FIXES I APPLIED:
REMAINS: nothing — ready for pickup
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Wave-2 residual pass. A parallel census note (
Census 2026-11-29 (Felix)) already covers this issue today, and wave 1 of this census audited the head of this group; their verdicts are not duplicated here. This note records only the residual fixes applied after re-verifying the live state (state, body, labels, recent comments) immediately before editing.Residual gaps found: no
effort/*label.Actions taken: labels added:
effort/l.State note: a parallel census pass today removed
status/blockedafter finding the named blocker (#10693) closed;queue/blockedremains and is the queue worker's to reconcile.Priority:
priority/normalretained — matches the work's urgency as evidenced on the issue; no band change in this pass.developing-today-fleet commentedon Nov 30, 2026
🤖 Lane 0640-GV (Felix) — label correction, #14863 audit slice N18. Removed
queue/blocked. The body names two dependencies: packet P1 (issue #10693) and P4 (operator CLI, no issue). #10693 is CLOSED (verified live today), and there is no native blocked_by edge and no other open named blocker — the blocked label is stale. Priority validation 2026-11-29 (Felix): priority/normal stands (single band, unchanged).