GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) · Issue #10693 · developing-today/code

id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693

New issue
Copy link
New issue
Copy link
Done
Done
id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root)#10693
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-platformEpic: id-platform - all issues of this effort carry itkind/featureNew feature or capability requestpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus:in-review

Description

@dezren39
dezren39
opened on Nov 16, 2026
Issue body actions

Implementation packet P1 from the hosted worlds v1 design for #6283: doc/2026-11-16_design_id6283_hosted_worlds_v1.md (§3, §4, §5), merged in PR #10692. Phase 14 core topic #6276; principles from #1240 govern.

Scope

Host mode in the existing id binary (pkgs/id): a supervisor over one data root of world directories (same local layout — journal.jsonl + modules/<blake3>.wasm per world). The supervisor keeps a small host file beside the data root recording each world's lifecycle state (live / asleep / archived), data-root path, and state-change history (time, actor, prior state); the host file is rebuildable from the directories it describes — journals remain the only authority on world contents. Start = journal replay then serve; stop = drain, final fsync, record transition. Quota accounting hooks per the #1067 design (storage tier + per-state byte counts) — hooks only, no new quota system.

Acceptance criteria

  • One id binary runs in host mode over a data root with at least two worlds in different lifecycle states simultaneously.
  • Host restart returns live worlds to live (by replay), asleep to asleep, archived to archived, driven by the host file; deleting the host file and rebuilding it from the directories loses no world and no journal data.
  • No new binary, database, scheduler, or queue is introduced; world internals (id-worlds FileJournal, replay, ceilings) are unchanged.
  • Per-state census data (counts + bytes for live/asleep/archived) is produced for the operator surface (packet P4) and follows id: F12.10 fair scheduling and per-account quotas #1067's accounting shape.

Dependencies

First packet of the #6283 breakdown — P2, P3, P4 build on it. Does not depend on open #805 (F12.11); does not assume its outcome.

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 16, 2026
  2. developing-today commented on Nov 16, 2026

    @developing-today
    developing-todayBot
    on Nov 16, 2026 – with developing.today
    Contributor
    More actions

    CODE-3873

  3. dezren39
    added
    epic/id-platformEpic: id-platform - all issues of this effort carry it
    on Nov 16, 2026
  4. github-actions
    assigned
    dezren39
    on Nov 17, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1 agent=repo-worker-code lane=code-i task=19344 state=picked-up at=2026-11-17T06:42:30Z — Claimed for fresh triage. Issue remains OPEN; implementation packet P1 describes hosted-world host mode and is assigned to Drew. Linked design PR #10692 is MERGED, but that is not implementation completion. Evaluating ownership before routing follow-on work.

  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 17, 2026
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1 agent=repo-worker-code lane=code-i task=19344 state=parked at=2026-11-17T06:44:00Z — Triage confirms #10693 is a real, open implementation packet; PR #10692 is only the merged design. Parked because the issue is currently assigned to Drew, so this lane will not route a competing implementation task. Resume when Drew clarifies ownership or the assignee changes; then route the scoped follow-on through the queue.

  8. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 17, 2026
  9. 26 remaining items

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Slice-1 outcome (task 21463, lane oc-code-01):

    • PR: id(worlds): host-mode supervisor core (#10693 P1 slice 1) #13841 (branch id-10693-p1-host-mode @ 6d41f33) — library-only host-mode supervisor core: host file, lifecycle transitions, rebuild, census, replaying Supervisor. Refs, does not close, this issue.
    • Tests: cargo test -p id-worlds host:: -- --test-threads=4 -> 11 passed, 0 failed, locally (rustc 1.99.1) and remote https://github.com/dezren39/fleet/actions/runs/45290065111 (nightly-2026-11-08, conclusion success). cargo fmt --check -p id-worlds clean.
    • Evidence comment: id(worlds): host-mode supervisor core (#10693 P1 slice 1) #13841 (comment)
    • Remaining for P1: slice 2 (serve-attach + id host CLI).

    This issue stays open.

  11. dezren39
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #13841 from developing-today/id-10693-p1-host-mode

    b05abeb
  12. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Slice-1 merged — outcome record, updated (task 21463, lane xaltha):

    • PR: id(worlds): host-mode supervisor core (#10693 P1 slice 1) #13841 (branch id-10693-p1-host-mode @ 6d41f33) — library-only host-mode supervisor core: host file, lifecycle transitions, rebuild, census, replaying Supervisor. Refs, does not close, this issue.
    • Merged: 2026-11-24T00:13:41Z by dezren39 — merge commit b05abeb (parents: main 27597b8 + PR head 6d41f33). Merge commit touches exactly the PR's 6 files (+924/−4), no conflict-resolution changes, so the verified head is what landed on main.
    • Tests (remote dispatch, verified first-hand from the run log): cd pkgs/id && export CARGO_TARGET_DIR=/tmp/fleet-ct-10693 && cargo test -p id-worlds host:: -- --test-threads=4 → 11 passed, 0 failed (incl. supervisor_replays_live_worlds_on_open, supervisor_tracks_two_worlds_in_different_states, delete_and_rebuild_loses_no_world_or_journal_data, census_reports_per_state_counts_and_bytes). Run: https://github.com/dezren39/fleet/actions/runs/45290065111 (conclusion success). No CI test checks ran on the PR itself (only CodeRabbit/Proof skipping); the remote dispatch above is the verification.
    • Note: the earlier remote run 45288628132 cited in the packet 404s — it never existed; the run above is the real verification.

    Slice 1 is done and on main. Remaining for P1: slice 2 (serve-attach + id host CLI). This issue stays open.

  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Verify-and-route pass (second pass, task 22049, lane oc-code-02, 2026-11-24)

    Fresh state: issue open. Slice 1 is merged (PR #13841, merge b05abeb), covering the host-mode supervisor core. The tests pass per the slice-1 evidence comment.

    Remaining for P1, not started in this pass:

    • Slice 2: serve-attach plus the id host CLI, per the slice-1 outcome comment.

    Verdict: keep #10693 open. Slice 2 is the only remaining P1 work and is already described on this issue, so it routes to the existing feature-slice path (effort/l feature, one vertical slice per PR). No new issue is needed.

  14. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    Claimed by lane 6, 2026-11-25T19:20Z: P1 slice 2a, a host shutdown that drains every held world without recording a transition, so a clean host restart returns live worlds to live (design §5). Supervisor currently has only stop_all, which records worlds asleep, so a clean restart could not keep them live. The id host CLI and serve-attach come after this.


    Generated by Claude Code

  15. dezren39
    added 3 commits that reference this issue on Nov 25, 2026

    id-worlds: gate the fuel-rate actor test on the sandbox feature

    d16863e

    id-worlds: host shutdown keeps live worlds live across a clean restart (

    b810e2a

    id: id host run and id host list over a data root of worlds (#15220)

    23e7bce
  16. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    P1 progress from lane 6, 2026-11-25:

    • Slice 2a, merged as id-worlds: host shutdown keeps live worlds live across a clean restart #15202. Supervisor::shutdown drains held worlds without recording a transition, so a clean host restart replays live worlds back to live. Remote run 45689964581: 12 host tests passed.
    • Slice 2b, merged as id: id host run and id host list over a data root of worlds #15220. id host run <root> [--start WORLD] runs host mode in the id binary until Ctrl-C. id host list <root> [--json] prints the per-world and per-state census without opening a world or writing host.json. Remote run 45691768195: 13 host tests and 4 CLI tests passed, the binary built, and id host list was exercised on a two-world root.

    Acceptance status:

    • Host mode in one binary with worlds in different states: met. run holds live worlds while asleep and archived ones stay at rest.
    • Restart returns each world to its recorded state: met for both crash and clean restart.
    • Rebuild loses no data: met in slice 1.
    • No new binary or database: met.
    • Census in the id: F12.10 fair scheduling and per-account quotas #1067 shape: met.

    Still open: serve-attach, meaning clients reaching the live worlds over iroh. This issue stays open for that.


    Generated by Claude Code

  17. dezren39
    added 4 commits that reference this issue on Nov 25, 2026

    id-worlds: hub reports closed worlds; host lifecycle for serve-attach (…

    660db65

    id host tests: allow unwrap in test modules, as the workspace lints ask

    856e0b0

    id serve --world-host: parse test passes the admin token --world needs

    35044b9

    id serve --world-host: serve the worlds directory as a host data root (…

    7887b69
  18. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    MemberAuthor
    More actions

    P1 finished by lane 6, 2026-11-25. The one gap left in the last update, serve-attach, has landed:

    • id-worlds: hub reports closed worlds; host lifecycle for serve-attach #15231: the world hub tells its opener when it closes a world, and HostLifecycle keeps a data root's host.json true from a serving process. Asleep worlds wake on demand, recorded by wake-on-connect. Idle closes record the world asleep. Archived and unknown worlds are refused. A failed open takes its wake back. Remote run: 33 host and hub tests passed.
    • id serve --world-host: serve the worlds directory as a host data root #15243: id serve --world --world-host serves .id-worlds as a host data root. Clients reaching worlds over iroh, the web bridge or SSH now go through that lifecycle. Admin-authorised creates are recorded by admin-create, and worlds recorded live reopen at startup. Remote run 45705058556: 17 host tests and 146 CLI tests passed, the id binary built, and clippy found nothing in the changed files.

    Every acceptance criterion is met:

    • Host mode runs in one binary.
    • A restart returns each world to its recorded state.
    • A rebuild loses nothing.
    • No new binary or store was added, and world internals are unchanged.
    • The per-state census exists.

    Closing as completed. Membership-enforced wake (P2, #10694) and the control-socket operator CLI (P4, #10696) build on this. id host inspect and the first P3 restart tests are in draft #15291.


    Generated by Claude Code

  19. dezren39
    closed this as completedon Nov 25, 2026
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/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-platformEpic: id-platform - all issues of this effort carry itkind/featureNew feature or capability requestpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus:in-review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.