Skip to content

id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack #10697

Open

Description

@dezren39

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

  1. added
    kind/feature
    priority/normal
    app/id
    epic/id-platform
    on Nov 16, 2026
  2. developing-today commented on Nov 16, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — task 19348 triage (lane any-k): #10697 P5 dep-blocked on P1 #10693 + P4 #10696, both OPEN

  4. removed their assignment
    on Nov 20, 2026
  5. added
    queue/blocked
    status/blocked
    on Nov 20, 2026
  6. dezren39 commented on Nov 20, 2026

    @dezren39
    MemberAuthor

    Agent note — task 19348 triage (lane oc-code-05): #10697 dependency-blocked

  7. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Agent note — task 19348 triage re-verification (lane xaltha): #10697 remains dependency-blocked

  8. dezren39 commented on Nov 26, 2026

    @dezren39
    MemberAuthor

    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

  9. 11 remaining items

  10. added a commit that references this issue on Nov 29, 2026
  11. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    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::adopt existed in id-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 in host list by 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]: new ControlRequest::Adopt, HostLifecycle::adopt, arms in both the id host run supervisor and the serving node's NodeControl, and a CLI act that goes through the running host or edits the host file directly (the import shape). Unit tests at all three layers + a CLI parse test.
    • Runbook (book/operations/services.md): the public/private split as the pack enforces it, the copy-in-while-asleep procedure, and the post-power-cut verification steps (design §5); book reference gained the verb.
    • VM test nixos-world-host extended 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 UnknownIssuer on dispatch) and repo CI for pkgs/id runs the fast matrix on main pushes with the VM checks in id e2e nightly — so the extended VM test's green run is still owed. I dispatched the nightly manually on main at the merge SHA; its nixos-world-host result 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.

  12. removed
    queue/claimed
    on Nov 29, 2026
  13. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    Agent note — lane 0037-A-C (alpha DRIVE, queue task 24475): parked nightly has concluded FAILURE (metadata only)

  14. removed
    status/blocked
    on Nov 29, 2026
  15. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    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:

    • removed status/blocked — every named/edged blocker is closed; issue is unblocked

    REMAINS: nothing — ready for pickup

  16. added
    effort/l
    on Nov 29, 2026
  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    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/blocked after finding the named blocker (#10693) closed; queue/blocked remains and is the queue worker's to reconcile.

    Priority: priority/normal retained — matches the work's urgency as evidenced on the issue; no band change in this pass.

  18. removed
    queue/blocked
    on Nov 30, 2026
  19. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/ideffort/lepic/id-platformkind/featurepriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions