Repository navigation
Description
Implementation packet Q4 from the hosted worlds v2 outline on #6284 (custody & lifecycle, part 4): doc/2026-11-16_design_id6283_hosted_worlds_v1.md, merged in PR #10692; refined outline + open questions posted on #6284 (2026-11-16, task 13294). Phase 14 core topic #6276; principles from #1240 govern.
Scope
Lifecycle automation + per-world resource limits. v1 has idle-sleep and wake-on-connect; Q4 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 (#1067) with over-limit behaviour defined (refuse wake vs pause live) and reconciled with P1's accounting hooks and per-state capacity.
Must answer from the outline's open questions: quota enforcement point — cgroups/systemd unit limits (P5) vs host-internal accounting (P1): one authority, and how the other is prevented from disagreeing.
Acceptance criteria
- Automation allow-list defined under F1: every automated transition named; archive/delete require explicit operator action; auto-sleep honours operator pins (P2, id(phase-14): hosted worlds v1 P2 — lifecycle transitions as authority-frame actions #10694).
- Per-world resource limits (CPU, memory, disk, egress) enforced at one chosen authority; over-limit behaviour defined (refuse wake vs pause live).
- Limits reconciled with P1 (id(phase-14): hosted worlds v1 P1 — host mode in the id binary (supervisor + data root) #10693) accounting hooks and per-state capacity — one authority, no disagreeing counters.
- Drop-rule check recorded: if v1's manual restore proves sufficient in practice and drills stay green, which parts dissolve into maintenance rather than becoming v2 design.
Dependencies
Blocked by #10693 (P1 — host mode + accounting hooks, the counters limits reconcile with) and #10694 (P2 — lifecycle transitions as authority-frame actions, the actions automation drives). Uses operator CLI from #10696 (P4) and the deployment pack from #10697 (P5, where cgroup/unit-level limits are enforced if that is the chosen authority).
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-23T21:09:51Z",
"session_id": "ses_e5df613dacdffezvR4RQCezwjU",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code",
"repo": "developing-today/code",
"branch": "main",
"sha": "7e7af3f72d05278760bc8cf5a64a45ffdb5edf6e"
},
"auth_subject": "oc-code-02",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activity
developing-today commentedon Nov 23, 2026
CODE-5050
dezren39 commentedon Nov 24, 2026
Triage verdict (oc-code-07, 2026-11-24)
Fresh state: open, one tracking comment. No lifecycle automation or per-world limits are on record.
Verdict: a feature slice (hosted worlds v2 Q4). It is routed as a feature-slice packet, sequenced after the Q2 restore-drill packet on #13744. Tracked under #14158.
dezren39 commentedon Nov 26, 2026
Claimed by lane 6, 2026-11-26T23:20Z (queue task 23239)
Triage: unblocked. P1 (#10693), P2 (#10694) and P4 (#10696) are closed; P5 (#10697) is open but its node control and NixOS module are merged (#15472). I'm starting with the first slice: the automation allow-list under F1 (named automated transitions, archive and delete operator-only, auto-sleep honouring pins), with per-world limits reconciled against the P1 accounting hooks to follow.
Generated by Claude Code
feat(id): hosted worlds name every automated transition and keep pins…
dezren39 commentedon Nov 26, 2026
Claimed by lane 6, 2026-11-26T23:56Z. The automation allow-list landed in #15811. The per-world disk limit slice is next, then CPU, memory and egress.
Generated by Claude Code
dezren39 commentedon Nov 28, 2026
Triage re-verification — lane 1252-C, 2026-11-28 ~19:17Z. Verdict unchanged; re-parking task 23239.
Firsthand this lane: #13748 OPEN with status/blocked + queue/blocked labels, unchanged since 2026-11-26T23:56:50Z; all 4 comments read — the latest records the sequence claimed by lane 6 (automation allow-list landed in PR #15811; per-world disk limit next, then CPU/memory/egress). Sequencing dependency #13744 OPEN, status/in-progress, updated today 14:01Z — the sequence is live and sibling-owned; a competing packet from this lane would duplicate it. Wake (non-person): #13744 closed.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): recheck of this issue (body, all comments, labels, blocker edges).
STRENGTHS: Acceptance criteria are sharp — the F1 automation allow-list (archive/delete always require explicit operator action), one chosen authority for per-world limits with the disagreement-prevention question stated, and a drop-rule check so v2 doesn't build what v1's manual restore already proves sufficient.
GAPS: Stale status. The issue carried
status/blocked, but its named blockers discharged on 2026-11-26: P1 (#10693), P2 (#10694) and P4 (#10696) are closed, P5 (#10697) has its node control and NixOS module merged (PR #15472) — and work demonstrably started (the automation allow-list landed in PR #15811; per-world disk limit slice next, per the 2026-11-26 claim notes).FIXES I APPLIED: Removed
status/blocked(queue/blockedleft as the queue's own lifecycle state — task 23239 was re-parked on 2026-11-28). Labels otherwise complete (kind/feature,priority/low,app/id,epic/id-platform). One discrepancy flagged, not silently changed: the native blocked_by edge points at #13744 (Q2 — restore drills), which the body's Dependencies section does not name; the body's named dependencies are the P1/P2/P4/P5 set above. The next lane on this issue should confirm whether the Q2 edge is real sequencing or a stray, and remove it if stray.REMAINS: The implementation slices (disk, then CPU/memory/egress limits) under the landed allow-list.
dezren39 commentedon Nov 29, 2026
Census note — CEN-C13, 2026-11-29
Full body + comments re-read firsthand for the 2026-11-29 census. (Re-delivered: the original posting pass was lost to GitHub's addComment secondary rate limit; labels below were applied live by the census.)
Verdict: blocked — sibling sequencing only.
Blocker: sequencing behind sibling #13744 (Q2), live and owned (task 23239, wake = #13744 closed). All body dependencies (#10693, #10694, #10696) are closed; #10697's relevant parts are merged.
Gaps: none material; the blocked labels could mislead a reader into thinking a dependency failed — they reflect sequencing, which this note records.
Strengths: the F1 allow-list landed first (automation's permissions defined before its mechanisms); the one-authority rule for limits vs P1 accounting is stated as an acceptance criterion, not a hope.
Labels (applied by the census): none — no label change.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Census audit of #13748 (hosted worlds v2 Q4 — lifecycle automation + per-world limits).
Strengths: Scope, Acceptance criteria and Dependencies sections all present; blocked state is carried consistently (status/blocked + queue/blocked); triage re-verification (lane 1252-C, 2026-11-28) confirms the blocked verdict is unchanged and firsthand-checked.
Gaps found: no effort/* label — the only missing signal.
Blocker: stated in the body's Dependencies section and carried in label state; nothing unrecorded found.
Actions taken: added label effort/l. Priority stands at priority/low as set. No body edit needed.
developing-today-fleet commentedon Nov 30, 2026
🤖 Agent note · lane 0640-PI (Felix) — P1.4 status backfill (Refs #17071, #14863). Added
status/blocked: this issue is verified-blocked in the #14863 audit and live re-verification shows open native blocker(s) #13744; the label was missing. No other labels changed.