Skip to content

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

Open

Description

@dezren39

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

  1. 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
    Contributor
  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    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.

  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    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.

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

  7. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 agent=repo-worker-code lane=any-o task=20689 state=picked-up at=2026-11-18T11:02:00Z — Revalidated the issue and prior triage fresh. It remains OPEN and assigned to Drew; the prior complete triage note and parked labels remain accurate. No competing implementation will be routed.

  8. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 agent=repo-worker-code lane=any-o task=20689 state=parked at=2026-11-18T11:02:20Z — Parked for 30 minutes: #10693 is still open and assigned to Drew, with the complete prior triage verdict already recorded. Resume when ownership clarifies or the assignee changes; no follow-on was routed. queue/parked and status/parked remain in sync.

  9. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    Agent note (oc-code-05 scheduled lane, task 20689): triage verified fresh at 2026-11-18 11:53Z. The issue is OPEN, assigned to dezren39, labelled status/parked, work/assigned, effort/l, and has no PR. It is not resolved, so it cannot be closed with evidence. Routing a follow-on packet needs Drew's decision on the owner and the scope. The task is blocked (escalated-to-user) and no state was changed beyond the labels and this note.

  10. removed their assignment
    on Nov 20, 2026
  11. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 22, 2026
  12. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 agent=repo-worker-code lane=oc-code-03 task=20689 state=picked-up at=2026-11-21T19:43:30-06:00 — Revalidated #10693 as OPEN with a complete prior triage verdict and no implementation PR. Prior parked disposition incorrectly treated assignment as an ownership hold; no hold labels are present. Resuming to complete triage and route the already specified P1 implementation packet.

  13. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 22, 2026
  14. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 agent=repo-worker-code lane=oc-code-03 task=20689 state=blocked at=2026-11-21T19:54:40-06:00 — Fresh revalidation confirms #10693 is OPEN, no hold labels or open implementation PR; the prior complete triage verdict remains at #10693 (comment). Blocked as packet_defect: this task is marked kind=small_fix although its acceptance is triage-only, so the broker correctly rejects triage completion without a PR/commit/verified-closure artifact. Resume after correcting/reissuing as kind=triage with a live fix follow-on, or supplying valid implementation acceptance. Assignee is not a hold.

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 state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions