GeezerVison is showing github.com — id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle · Issue #6284 · developing-today/code
id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle #6284DescriptionHosted worlds & always-on hosting — v2 — outline: custody & lifecycle
Part of the Phase 14 core topic #6276 (Hosted worlds & always-on hosting), filed from the next-horizons discussion #1240 per Drew's 2026-11-05 decision. The Phase 14 epic links the whole map.
Scope (rough outline — the core topic's research refines it)
Snapshots and export/import of hosted worlds; backup/restore drills; lifecycle automation (auto-sleep idle worlds, wake on join); per-world resource limits wired to F12.10 quotas.
Entry condition
The previous step (v1 — first-iteration design) has its design written, with open questions answered or explicitly deferred to this step.
Deliverable
An updated, refined outline on this issue — tightened scope, open questions, dependencies — and the next-step issue breakdown when this step's turn approaches. If the step has dissolved into the previous one, close this issue with that note (drop rule).
Drew's Phase 14 principles (#1240) govern this step: local-first always; hostable by anyone at any scale; p2p behavior identical to hosted behavior; our hosted instance is the public backstop, never a requirement.
Acceptance criteria
- Entry condition verified on this issue: the previous step's design is written, with its open questions answered or explicitly deferred to this step.
- A refined outline is posted on this issue: tightened scope, open questions enumerated, and dependencies named (native blocked-by relations where a dependency is known).
- The step is checked against Drew's Phase 14 principles from id: next horizons — what comes after Phase 13 (discussion with Drew) #1240 (local-first always; hostable by anyone at any scale; p2p behavior identical to hosted behavior; the hosted instance is a public backstop, never a requirement) and any tension is named in the outline.
- Next-step issue breakdown is filed when this step's turn approaches, or the issue is closed with the drop-rule note if the step has dissolved into the previous one.
Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 6, 2026 Intake review
Fleet monitor intake (§5 pass), 2026-11-05 run.
- Still live: yes — issue open, filed 2026-11-05/06; merged-PR search for an explicit resolving reference found none (the few merged PRs whose text contains this issue's number are unrelated cross-references — e.g. PR titles fixing other issues — not implementations of this ticket). Nothing to close.
- Related: Phase 14 core topic id(phase-14): Hosted worlds & always-on hosting — core topic (research + design) #6276 (Hosted worlds & always-on hosting); principles in id: next horizons — what comes after Phase 13 (discussion with Drew) #1240; previous step is the v1 first-iteration design issue in the same series.
- Notes: Outline step, not an implementation ticket: custody & lifecycle (snapshots, backup/restore drills, auto-sleep/wake, per-world resource limits wired to F12.10 quotas). It stays inert until the v1 design lands — the entry condition is the gate, not the calendar.
- Risks: Sequence risk only: refining this outline before v1 exists invites rework. No code or user impact at this stage.
- Suggested approach: Leave queued behind the v1 step; when v1's design is written, refine this outline against it and file the next-step breakdown then.
dezren39 commented on Nov 16, 2026
Agent note — task 13294 dependency-blocked (lane any-c)
dezren39 commented on Nov 16, 2026
🤖 Agent note — entry condition verified; refined v2 outline (custody & lifecycle)
Entry condition — MET (verified fresh 2026-11-16). #6283 (v1 first-iteration design) is CLOSED, design landed as doc/2026-11-16_design_id6283_hosted_worlds_v1.md (PR #10692, merge 53eda8b3f3), with its open choices decided-with-defaults and the custody depth explicitly deferred here: "scheduled snapshots and restore drills are v2 (#6284) scope" (§10.4), "restore drills … owned by v2 (#6284)" (§5), "replication-based backup and read replicas … belong to custody depth in v2 (#6284)" (§8). #6276's first-pass findings are dispositioned in the v1 doc §2, so nothing upstream is outstanding.
Refined scope (tightened from the rough outline)
What v1 already delivers, and therefore what v2 must not re-decide:
- lifecycle states
live / asleep / archived with transitions as authority-frame actions, wake-on-connect for members, idle-window sleep (operator default 15 min), per-world operator pins (P2, id(phase-14): hosted worlds v1 P2 — lifecycle transitions as authority-frame actions #10694);
- the snapshot/export shape — a signed, self-describing journal segment set over id: F12.13 journal replication (read replicas over a signed stream) #806's signed stream — plus one documented manual restore procedure (P3, id(phase-14): hosted worlds v1 P3 — restart/recovery hardening + snapshot/export #10695);
- quota accounting hooks only, following the closed id: F12.10 fair scheduling and per-account quotas #1067 design (P1, id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693); no quota system of its own;
- operator CLI
list/start/stop/archive/restore/inspect (P4, id(phase-14): hosted worlds v1 P4 — operator CLI (list/start/stop/inspect) #10696) and the single-node deployment pack (P5, id(phase-14): hosted worlds v1 P5 — basement-cluster deployment pack #10697).
v2's own scope, in four parts:
- Scheduled snapshots + retention. Cadence per world (and per host), retention count/age, where sets live (local data root vs off-host), and size accounting against per-state capacity (F3 counts capacity per state). v1's manual snapshot command is the primitive; v2 adds the schedule and the policy.
- Restore drills — the thing that makes a snapshot a backup. Drill cadence, and the drill check itself: restore into a scratch world, replay to the same journal head, and compare. Record each drill result so absence of a recent successful drill is visible (same posture as the design(atlas): ingest attestation record — in-toto-shaped per-batch statement binding chunks to sources #6045 attestation / design(atlas): embedding cost ledger — per-batch token/$ accounting with a delta reuse-ratio alert #6058 ledger pattern: a missing record is the alarm). Restore-into-scratch is an explicit non-goal of v1 and belongs here.
- Custody depth beyond a local file set. The id: F12.13 journal replication (read replicas over a signed stream) #806 signed stream is the landed input: incremental snapshot sets, retention/pruning of segment sets, and read-replica/backup replication if it earns its keep. Encryption at rest stays a deployment property (v1 §5 invariant) — v2 must not make the journal format crypto-aware.
- Lifecycle automation + per-world limits. v1 has idle-sleep and wake-on-connect; v2 adds what automation is allowed to do under F1 (zero clients never archives or deletes) — e.g. storage-pressure archive proposals that require explicit operator action, never silent eviction; auto-sleep honouring operator pins; and per-world resource limits (CPU, memory, disk, egress) wired to F12.10 (id: F12.10 fair scheduling and per-account quotas #1067) with over-limit behaviour defined (refuse wake vs pause live) and reconciled with P1's accounting hooks and per-state capacity.
Open questions this step must answer
- Snapshot cadence and retention: fixed interval, on-N-changes, or operator policy? How many sets and for how long, given storage growth is the Bump checkmarx/ast-github-action from 2.0.11 to 2.0.18 #2 break-first risk in the v1 doc (§9)?
- Drill cadence and evidence shape: how often must a restore drill succeed; does a failure of a scheduled drill block anything, or only surface for the operator?
- Transport for off-host sets: plain file copy of the signed segment set (v1 shape) vs a host-mediated export, and how a recipient verifies a set without trusting the sender.
- Cross-host import semantics: importing a set for a world ID the target host already has — reject, fork to a new identity, or overwrite-under-operator-confirmation? v1 leaves this unaddressed.
- Read replicas: is a replica of a world (not just its segments) in v2 scope, or does replication stay a backup mechanism only?
- Operational ownership: does the drill harness live in
id-worlds host mode, in id-cli, or as an external operator script? Where does the drill record live (issue comment, host file, ledger)?
- Quota enforcement point: cgroups/systemd unit limits (P5) vs host-internal accounting (P1) — one authority, and how the other is prevented from disagreeing.
- Drop rule: if v1's manual restore proves sufficient in practice and drills stay green, which of these parts dissolve into maintenance rather than becoming a v2 design?
Dependencies (named, not assumed)
Next step
The next-step issue breakdown (custody depth, drills, automation/limits) is written when this step's turn approaches, i.e. after P3 lands — at that point this outline is refined against the delivered snapshot/export + restore implementation. Until then this issue stays the v2 outline; it has not dissolved into v1 (v1 explicitly leaves scheduled snapshots, drill cadence and replication depth here).
(Task 13294, lane code-g. No code or design change is claimed by this comment; it is the step's deliverable.) dezren39 commented on Nov 16, 2026
🤖 Outline addendum — check against Drew's Phase 14 principles (#1240)
Acceptance criterion 3, checked part by part, with the tensions named:
- Local-first always. Every custody mechanism in this outline must work with no network and no hosted service: a snapshot is a local signed segment set, a restore drill is a local restore into a scratch world, and the drill record must be readable locally (host file /
inspect / journal header) with publishing to a ledger optional. Tension named: the design(atlas): ingest attestation record — in-toto-shaped per-batch statement binding chunks to sources #6045-attestation-style "a missing record is the alarm" pattern can quietly require a central ledger — v2 must define the local record first and treat any aggregation as convenience, not proof.
- Hostable by anyone at any scale. Snapshot cadence and retention need defaults that are safe on one node with one disk (bounded set count + age), and off-host transport must be optional. Tension named: retention pruning interacts with append-only journal segments — pruning must remove whole snapshot sets, never edit a journal; any policy that would require rewriting a world's journal is out of scope.
- p2p behavior identical to hosted behavior. The export/import format must be the same signed segment set whether the world is local, p2p or hosted — no "hosted export" variant. Tension named: a richer hosted-side backup API (if one is ever wanted) must consume the same segment set, never become the only path.
- The hosted instance is a public backstop, never a requirement. Read replicas and replication-based backup must be a deployment option, not a precondition for custody: a solo self-hoster with a disk and a restore script has the full v1+custody story. Tension named: the cross-host import question (reject / fork / confirm-overwrite) must have an answer that does not assume a fleet registry exists; a single-host operator must be able to import a set without any global naming service.
Native dependency recorded: #6284 is blocked_by #10695 (P3 — snapshot/export shape + manual restore), set in this pass. dezren39 commented on Nov 16, 2026
🤖 Agent note — done: entry condition verified, refined outline posted
- Task: 13294 (id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle #6284 v2 custody & lifecycle outline), lane code-g.
- Entry condition (fresh 2026-11-16): MET — id(phase-14): Hosted worlds & always-on hosting — v1 — first-iteration design #6283 CLOSED, v1 design landed (
doc/2026-11-16_design_id6283_hosted_worlds_v1.md, PR design(id): hosted worlds & always-on hosting v1 — first-iteration design (#6283) #10692), with scheduled snapshots, drill cadence and replication depth explicitly deferred to this step.
- Deliverable posted: refined v2 outline (tightened scope in four parts, eight open questions, dependencies named) plus the id: next horizons — what comes after Phase 13 (discussion with Drew) #1240 principle check with its tensions.
- Native dependency recorded: id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle #6284
blocked_by id(phase-14): hosted worlds v1 P3 — restart/recovery hardening + snapshot/export #10695 (P3 — snapshot/export shape + manual restore), the primitive this step operates on.
- Remaining work, deliberately not filed now: the next-step issue breakdown is due when this step's turn approaches (after P3 lands), per the issue's own deliverable and drop rule. Nothing further to enqueue while id(phase-14): hosted worlds v1 P3 — restart/recovery hardening + snapshot/export #10695 is open — the issue stays OPEN as the v2 outline with id(phase-14): hosted worlds v1 P3 — restart/recovery hardening + snapshot/export #10695 as its native blocker.
- Labels: clearing the in-flight queue/status labels left by earlier blocked runs; the dependency is carried by the native blocked-by relation. Keeps
kind/feature, design/id-phase-14, epic labels, source/human, priority/low, effort/m, meta/enriched.
dezren39 commented on Nov 23, 2026
🤖 Agent note — reconciliation: outline complete, final criterion not yet due (dependency chain verified fresh)
- Picked up via:
fleet agent next --agent archer (shortlist rung, dep-chain head per Lane BN's 2026-11-22 order audit).
- Premise verdict: Issue OPEN, premise real, no live claim by another worker — the last work on this issue is the completed 2026-11-16 outline pass (task 13294, state=done); no open PR references id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle #6284's slice.
- Acceptance criteria, fresh-checked 2026-11-22:
- Entry condition — MET. id(phase-14): Hosted worlds & always-on hosting — v1 — first-iteration design #6283 (v1 first-iteration design) is CLOSED; design on main as
doc/2026-11-16_design_id6283_hosted_worlds_v1.md (PR design(id): hosted worlds & always-on hosting v1 — first-iteration design (#6283) #10692, merge 53eda8b3f3), custody depth explicitly deferred to this issue.
- Refined outline — POSTED 2026-11-16 (comment 6914386011): tightened scope in four parts, eight open questions, dependencies named.
- Phase 14 principles check (id: next horizons — what comes after Phase 13 (discussion with Drew) #1240) — POSTED 2026-11-16 (comment 6914394010), tensions named (local-record-first vs central-ledger attestation; retention pruning vs append-only journal).
- Next-step breakdown — NOT YET DUE, by the issue's own terms. The breakdown is filed "when this step's turn approaches"; the outline pass recorded that the turn comes after P3 lands, and the native dependency stands: id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle #6284 is
blocked_by id(phase-14): hosted worlds v1 P3 — restart/recovery hardening + snapshot/export #10695 (v1 P3 — restart/recovery hardening + snapshot/export), verified still OPEN today.
- Dependency chain (fresh reads): id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle #6284 → id(phase-14): hosted worlds v1 P3 — restart/recovery hardening + snapshot/export #10695 (OPEN, status/blocked) → id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693 (v1 P1 — host mode in the id binary, OPEN, priority/high, updated 2026-11-22). P3 must not start until P1 closes (recorded on id(phase-14): hosted worlds v1 P3 — restart/recovery hardening + snapshot/export #10695, 2026-11-17), so id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle #6284's turn has not approached and filing the breakdown now would be premature.
- Drop rule: does not apply — the step has not dissolved into v1; v1 explicitly deferred the custody depth here.
- Next concrete step: id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693 (P1) closes → id(phase-14): hosted worlds v1 P3 — restart/recovery hardening + snapshot/export #10695 (P3) lands → file id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle #6284's next-step breakdown, then this issue closes. The issue correctly stays OPEN as the v2 outline with id(phase-14): hosted worlds v1 P3 — restart/recovery hardening + snapshot/export #10695 as its native blocker; no code was manufactured for an outline deliverable.
dezren39 commented on Nov 23, 2026
🤖 Outcome record — next-step issue breakdown filed (task 21493, lane code-j, 2026-11-23)
Acceptance criteria 1–3 were already met 2026-11-16 (task 13294); this pass files the criterion-4 breakdown, dependency-ordered exactly as the packet requires — each packet carries status/blocked + queue/blocked and names its hard blockers:
Each packet embeds its share of the outline's eight open questions (cadence/retention, drill evidence, transport, cross-host import, replicas, ownership, enforcement point, drop rule) plus the governing invariants (local-first, append-only pruning, no crypto-aware journal, one limit authority, F1 allow-list). Drop rule does not apply — v1 explicitly deferred this depth here.
Dependency chain verified fresh: #10693 OPEN, #10695 OPEN (status/blocked, queue/blocked) — so the packets correctly wait; the broker/queue will surface them when P1/P3 land. #6284 stays OPEN as the v2 outline tracker. Tests note: no design-record file was touched by this task (issue filing only), so no docs build was run; the v1 record doc/2026-11-16_design_id6283_hosted_worlds_v1.md is unchanged on origin/main. dezren39 commented on Nov 24, 2026 🤖 Agent note · triaged (second pass — all criteria met, breakdown queue-backed, no new packet)
Second-pass findings (verified fresh 2026-11-24, task 21879)
- Still live, no hard stops: id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle #6284 is OPEN with no hold labels (native blocked_by id(phase-14): hosted worlds v1 P3 — restart/recovery hardening + snapshot/export #10695 carries the dependency, not a hold). Prior passes: outline pass task 13294 (2026-11-16, done), reconciliation task 21493 (2026-11-23, filed the breakdown).
- Acceptance criteria, fresh-checked: (1) entry condition MET — id(phase-14): Hosted worlds & always-on hosting — v1 — first-iteration design #6283 CLOSED, v1 design on main; (2) refined outline POSTED 2026-11-16; (3) id: next horizons — what comes after Phase 13 (discussion with Drew) #1240 principles check POSTED with tensions named; (4) next-step breakdown FILED 2026-11-23 — Q1 id(phase-14): hosted worlds v2 Q1 — scheduled snapshots + retention #13739, Q2 id(phase-14): hosted worlds v2 Q2 — restore drills + drill record #13744, Q3 id(phase-14): hosted worlds v2 Q3 — custody depth: incremental sets, pruning, replication #13747, Q4 id(phase-14): hosted worlds v2 Q4 — lifecycle automation + per-world limits #13748, dependency-ordered with hard blockers named.
- Breakdown queue-backed: all four Q issues are OPEN and carry status/blocked + queue/blocked; blockers id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693 (P1) and id(phase-14): hosted worlds v1 P3 — restart/recovery hardening + snapshot/export #10695 (P3) verified still OPEN today. The queue will surface the Q packets when P1/P3 land — no action needed from this pass.
- Drop rule: does not apply (v1 explicitly deferred custody depth here).
- Why no new packet: every acceptance item is met or owned by a live queue-backed issue. A new id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle #6284 packet would duplicate the Q breakdown.
- Route: id(phase-14): Hosted worlds & always-on hosting — v2 — outline: custody & lifecycle #6284 stays OPEN as the v2 outline tracker until the Q issues land. Nothing here is blocked on Drew.
developing-today-fleet commented on Nov 26, 2026 Triage verdict — oc-code-07, 2026-11-26
Verdict: still open; entry condition NOW MET, ready for its v2 outline packet.
Fresh verification:
developing-today-fleet commented on Nov 27, 2026
🤖 Agent note · verify-and-route verdict (queue task 25316, lane code-h, 2026-11-27)
Fresh verification:
Verdict: already triaged; no duplicate packet. The v2 outline is complete and implementation is already routed to its child issues. Keep #6284 open while its children proceed; no new work is created by this coverage import.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|