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 v2 Q1 — scheduled snapshots + retention · Issue #13739 · developing-today/code

id(phase-14): hosted worlds v2 Q1 — scheduled snapshots + retention #13739

New issue
Copy link
New issue
Copy link
Done
Done
id(phase-14): hosted worlds v2 Q1 — scheduled snapshots + retention#13739
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-platformEpic: id-platform - all issues of this effort carry itkind/featureNew feature or capability requestpriority/lowNice to have; do when convenientqueue/blockedQueue or user escalation statestatus/blockedQueue or user escalation state

Description

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

Implementation packet Q1 from the hosted worlds v2 outline on #6284 (custody & lifecycle, part 1): 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

Scheduled snapshots + retention for hosted worlds. P3 (#10695) delivers the manual snapshot command producing a signed, self-describing journal segment set; Q1 adds the schedule and the policy on top: per-world (and per-host) cadence, retention count/age, where sets live (local data root vs off-host), and size accounting against per-state capacity (F3 counts capacity per state).

Must answer from the outline's open questions: snapshot cadence and retention — fixed interval, on-N-changes, or operator policy? How many sets and for how long, given storage growth is the #2 break-first risk in the v1 doc (§9)?

Acceptance criteria

  • A host takes snapshots on the defined schedule without operator intervention; cadence is configurable per world and per host.
  • Retention is enforced: bounded set count + age safe on one node with one disk; pruning removes whole snapshot sets, never edits a journal (append-only invariant).
  • Snapshot sizes are accounted against per-state capacity; the operator can see custody cost per world.
  • Encryption at rest stays a deployment property — Q1 must not make the journal format crypto-aware (v1 §5 invariant).

Dependencies

Blocked by #10695 (P3 — snapshot/export shape + manual restore): scheduling and pruning have nothing to operate on until P3 lands. Does not depend on open #805 (F12.11); records resync/export bytes so the #805 improvement stays measurable.

{
  "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:07:17Z",
    "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. dezren39
    added
    kind/featureNew feature or capability request
    status/blockedQueue or user escalation state
    priority/lowNice to have; do when convenient
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    queue/blockedQueue or user escalation state
    epic/id-platformEpic: id-platform - all issues of this effort carry it
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

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

    CODE-5043

  3. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (code-h, 2026-11-24): open, not resolved in substance. Checked fresh: OPEN (updated 2026-11-23); no scheduled-snapshot or retention code found under pkgs/id. Sizing: medium, phase-14 Q1 of hosted worlds v2. Route: implement packet on the id lane (phase-14); not built in this triage. Tracking: #14158.

  4. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Agent note — triage verdict (lane code-g, task 23213, coverage pass 2): #13739 stays OPEN and blocked, not resolved in substance. Fresh check 2026-11-24: issue OPEN; P3 dependency #10695 still OPEN (restart/recovery hardening + snapshot/export); no scheduled-snapshot or retention code expected yet — scheduling/pruning have nothing to operate on until P3 lands. Concurs with code-h triage of record (2026-11-24T10:50Z): size medium, phase-14 Q1 implement packet is this issue itself; routed as blocked on #10695 with dep-recheck so it wakes when P3 closes. Tracking: #14158.

  5. dezren39 commented on Nov 26, 2026

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

    Claimed by lane 2, 2026-11-26T18:18Z

    P3 (#10695) closed on 2026-11-26, so this is no longer blocked. I'm building scheduled snapshots and retention in the id host on top of P3's signed export: per-host and per-world cadence, count and age retention that removes whole snapshot sets, and per-world size accounting.


    Generated by Claude Code

  6. dezren39 commented on Nov 26, 2026

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

    Triage verdict (lane 6, queue task 23213, 2026-11-26): no longer blocked. P3 (#10695) closed 2026-11-26T08:07Z, and the implementation is in flight as PR #15693 (lane 2, scheduled snapshots and retention). Nothing further to route; the issue stays open until that PR lands.


    Generated by Claude Code

  7. dezren39
    added 2 commits that reference this issue on Nov 26, 2026

    feat(id-worlds): a serving node takes scheduled snapshots too (#13739)

    2086b5e

    feat(id-worlds): scheduled snapshots and retention for hosted worlds (#…

    c7c914f
  8. dezren39 commented on Nov 26, 2026

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

    Done in #15693 (squash c7c914f).

    How each acceptance criterion is met:

    • Schedule without the operator: id host run and the deployed serving node (id serve --world-host) both check once a minute and take a signed P3 export of each live world whose policy is due. The policy is set host-wide or per world (id host snapshots <ROOT> [--world W] --every 6h --keep 7 [--max-age 30d] | --off | --inherit).
    • Retention: the newest N sets are kept, with an optional max age, and the newest set is never removed. Pruning deletes whole set files and never opens a journal.
    • Size accounting: id host list shows snapshots=<sets>:<bytes> per world and snapshot bytes per lifecycle state.
    • Encryption at rest: the journal format is unchanged. Each set is a plain P3 export, and id host import restores it.

    Answers to the outline's open question:

    • Cadence: a fixed interval per operator policy, with a 60s floor.
    • On-N-changes: covered differently. A due world whose journal hasn't grown gets a fresh set that replaces its newest one, so an idle world never fills its retention with copies.
    • Off-host: an absolute snapshot_dir in the host file sends sets to any mounted path.

    Tests ran on a GitHub-hosted runner: cargo test -p id-worlds --lib -- host node_control (78 passed) and cargo test -p id-cli -- host (12 passed). Clippy exited 0 on both crates.


    Generated by Claude Code

  9. dezren39
    closed this as completedon Nov 26, 2026
  10. developing-today commented on Nov 27, 2026

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

    Fresh triage verdict (oc-code-06, task 23213, 2026-11-27): resolved in substance; no follow-on packet. #13739 is CLOSED (updated 2026-11-26 23:57Z). PR #15693 merged 2026-11-26 23:57Z and implements scheduled snapshots, bounded count/age retention, whole-set pruning, and snapshot byte accounting; the issue’s completion comment maps each acceptance criterion to the implementation. P3 dependency #10695 is also CLOSED. This is a verified closure, not merely the earlier blocked state; no code change or duplicate packet needed.

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)epic/id-platformEpic: id-platform - all issues of this effort carry itkind/featureNew feature or capability requestpriority/lowNice to have; do when convenientqueue/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

      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.