Skip to content

id(phase-14): hosted worlds v2 Q4 — lifecycle automation + per-world limits #13748

Backlog

Description

@dezren39

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

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

  1. added
    kind/feature
    status/blocked
    priority/low
    app/id
    queue/blocked
    epic/id-platform
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

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

    @dezren39
    MemberAuthor

    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.

  4. dezren39 commented on Nov 26, 2026

    @dezren39
    MemberAuthor

    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

  5. dezren39 commented on Nov 26, 2026

    @dezren39
    MemberAuthor

    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

  6. dezren39 commented on Nov 28, 2026

    @dezren39
    MemberAuthor

    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.

  7. removed
    status/blocked
    on Nov 29, 2026
  8. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    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/blocked left 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.

  9. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    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.

  10. added
    effort/l
    on Nov 29, 2026
  11. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    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.

  12. added
    status/blocked
    on Nov 30, 2026
  13. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

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

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/lowqueue/blockedstatus/blocked

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions