GeezerVison is showing github.com — id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack · Issue #10697 · developing-today/code
id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack #10697DescriptionImplementation 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. Activitydeveloping-today commented on Nov 16, 2026 dezren39 commented on Nov 17, 2026
Agent note — task 19348 triage (lane any-k): #10697 P5 dep-blocked on P1 #10693 + P4 #10696, both OPEN
dezren39 commented on Nov 20, 2026
Agent note — task 19348 triage (lane oc-code-05): #10697 dependency-blocked
dezren39 commented on Nov 23, 2026
Agent note — task 19348 triage re-verification (lane xaltha): #10697 remains dependency-blocked
- state: blocked (dependency)
- task: 19348 · issue: id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack #10697 · P5 basement-cluster deployment pack (hosted worlds v1, design id(phase-14): Hosted worlds & always-on hosting — v1 — first-iteration design #6283)
- Fresh verification 2026-11-23 (gh, this run): id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack #10697 OPEN (labels include status/blocked, queue/blocked). Its stated dependencies are both still OPEN: P1 id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693 (host mode in the id binary) and P4 id(phase-14): hosted worlds v1 P4 — operator CLI (list/start/stop/inspect) #10696 (operator CLI). No open PR references id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693, id(phase-14): hosted worlds v1 P4 — operator CLI (list/start/stop/inspect) #10696, or id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack #10697.
- Chain state: id(phase-14): hosted worlds v1 P4 — operator CLI (list/start/stop/inspect) #10696 itself depends on id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693 and P2 id(phase-14): hosted worlds v1 P2 — lifecycle transitions as authority-frame actions #10694 — id(phase-14): hosted worlds v1 P2 — lifecycle transitions as authority-frame actions #10694 is also OPEN. The root of the chain, id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693, has no dependencies, no hold labels, and no implementation PR; its queue task 20689 (lane oc-code-03) is blocked on a packet defect (kind=small_fix vs triage-only acceptance), not on code.
- Verdict: keep id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack #10697 open and dependency-blocked; P5 acceptance cannot be verified until the packets below it land. Resume condition: id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693 and id(phase-14): hosted worlds v1 P4 — operator CLI (list/start/stop/inspect) #10696 closed.
dezren39 commented on 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 over host.sock, so a deployed node needs only the one process the design names. Today only id host run binds the socket, and id host start/stop/archive/restore fail against a serving node. Then the NixOS module option for host mode and the runbook.
Generated by Claude Code dezren39 commented on Nov 26, 2026
Agent note — task 19348 triage re-verification (lane xaltha, 2026-11-26): #10697 dependencies cleared, implementation in flight in PR #15472
- state: blocked (in-flight PR — do not duplicate)
- task: 19348 · issue: id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack #10697 · P5 basement-cluster deployment pack (hosted worlds v1, design id(phase-14): Hosted worlds & always-on hosting — v1 — first-iteration design #6283)
- Fresh verification 2026-11-26 (gh, this run): id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack #10697 OPEN. Its stated dependencies are now both CLOSED — P1 id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693 (host mode in the id binary) and P4 id(phase-14): hosted worlds v1 P4 — operator CLI (list/start/stop/inspect) #10696 (operator CLI) — so the previous dependency block (last verified 2026-11-23, comment 7094561969) no longer applies. P2 id(phase-14): hosted worlds v1 P2 — lifecycle transitions as authority-frame actions #10694 is also CLOSED.
- Claim check: lane 6 claimed this packet 2026-11-26T08:15Z (comment on this issue) and opened PR feat(id): deployed world host — serving node answers host.sock, NixOS option, VM test (P5) #15472 "feat(id): deployed world host — serving node answers host.sock, NixOS option, VM test (P5)" (branch claude/project-thread-52d9fo, Refs id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack #10697, updated 2026-11-26T18:34Z). It covers
id serve --world-host answering operator acts over host.sock, the NixOS world.* module options, a nixos-world-host VM test, unit tests, and the runbook in the services book chapter.
- No duplicate implementation or follow-on packet from this lane: the slice is actively in flight in feat(id): deployed world host — serving node answers host.sock, NixOS option, VM test (P5) #15472.
- Remaining for P5 acceptance once feat(id): deployed world host — serving node answers host.sock, NixOS option, VM test (P5) #15472 lands: verify the full acceptance list against the merged pack — fresh node deploys from the pack alone, public/private split enforced (connection from outside the private tunnel fails), world directory copied in while asleep appears/starts/serves/stops via runbook steps only, and unclean-kill (simulated power cut) recovery per design §5. The PR's VM test covers part of this (list, refused second host, export, stop/start, archive/restore, pin + restart), but the tunnel-split and copy-in-while-asleep criteria are not claimed in its body.
- Resume condition: PR feat(id): deployed world host — serving node answers host.sock, NixOS option, VM test (P5) #15472 merged; then verify the remaining P5 acceptance criteria and disposition id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack #10697.
developing-today-fleet commented on Nov 26, 2026 Merge-watch update: PR #15472 has been refreshed onto current main; the NixOS VM test and id-worlds/id-cli tests are now running remotely in Fleet run 45903768695 (personal GitHub Actions runner). The PR covers the host process, operator socket, NixOS options and one VM scenario. The remaining tunnel-split, copy-in-while-asleep and power-cut acceptance still needs reconciliation after merge; issue #10697 will remain open unless those checks are satisfied. dezren39 commented on Nov 26, 2026 PR #15472 merged (e949cc5): id serve --world-host now binds host.sock and answers every operator act, the NixOS module gains world.enable / world.host / world.idleSecs, and the new VM check nixos-world-host passed in id-e2e-nightly run 45877069794 (list, export, stop/start, archive/restore, pin and a restart). The host file now records its data root canonically, so a relative state dir no longer breaks HostFile::load.
Still open against the acceptance criteria:
- The public/private split enforced by deployment, with a refused connection from outside the tunnel.
- A simulated unclean kill recovering per design §5, checked by the runbook's verification steps.
- A world directory copied in while asleep, walked through with the runbook alone.
Leaving this open for those.
Generated by Claude Code developing-today-fleet commented on Nov 26, 2026 Verification update for PR #15472: on refreshed branch head fe05748, the changed-file rustfmt check passed, id-worlds passed 1,242 tests and id-cli passed 797 tests. The targeted NixOS VM derivation could not complete: its dependency build hit an unrelated id-events test compile error at crates/id-events/src/event_store/persistence_tests.rs:95 (missing thread in ChainExt), then the Fleet executor timed out. I am refreshing to latest main and rerunning the Rust suites without the blocked VM build; this issue remains open for the remaining P5 deployment acceptance. developing-today-fleet commented on Nov 26, 2026 Verification correction: the full id-e2e-nightly run 45877069794 succeeded on PR head 612fa37, including the nixos-world-host check. The separate refreshed-head Fleet run 45903768695 passed the package rustfmt check plus id-worlds (1,242) and id-cli (797) unit tests, but timed out before the targeted VM derivation completed after hitting the unrelated id-events test compile error. PR #15472 is now merged as e949cc5. The public/private tunnel split, copy-in-while-asleep flow, and unclean power-cut recovery remain unchecked, so #10697 stays open. developing-today-fleet commented on Nov 26, 2026 Follow-up coverage is now explicit: task #24475 is parked on a green Fleet CI/VM check for the three remaining P5 criteria (outside-tunnel refusal, copy-in while asleep, and unclean power-cut recovery). PR #15472 is merged as a reference-only slice; #10697 remains open. The full nix flake check on PR head 612fa (run 45877069794) passed, including nixos-world-host; the refreshed-head Fleet attempt timed out in an unrelated id-events test compile before the VM derivation completed.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|