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: implement template-world snapshot export/import (from #6278) · Issue #8282 · developing-today/code

id: implement template-world snapshot export/import (from #6278) #8282

New issue
Copy link
New issue
Copy link
Backlog
#15979
Backlog
id: implement template-world snapshot export/import (from #6278)#8282
#15979
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/enhancementpriority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditionstatus/triagedTriaged and routed (see agent note)status:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
ID platform program

Description

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

Implement: template-world snapshot export/import

Implementation next step from the Phase-14 Program ecosystem core topic #6278; design of record: doc/2026-11-10T21-24-00Z_design_id_program_ecosystem/ (Program ecosystem — share, fork, gallery: first-pass research + design), decision D5.

Scope

  • Template export: snapshot a world into a template bundle — world state, installed programs (as bundle references by identity + content hash, never silently re-hosted binaries the exporter does not hold), and role definitions.
  • Strip rules, explicit and recorded in the template manifest: member lists, credentials/secrets, per-user data, and grants are stripped by default; anything retained is named in the manifest. A template never carries another user's identity material.
  • Template import: instantiate a new world from a template — fresh world identity, roles recreated empty, programs installed from their bundles with the standard verification path, state imported as the starting state.
  • Local-first: export/import are file operations; no server required. Publishing a template through a gallery reuses the registry object family (separate issue).

Acceptance

  • Round-trip: export world W → import creates W' with the same programs (hash-verified), same role definitions (empty of members), and the template-scoped state; W' has a distinct world identity.
  • Manifest accurately lists everything stripped and everything retained (verified against a fixture world containing members, grants, and per-user data — none of which appear in W').

Activity

Next
  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 10, 2026
  2. developing-today commented on Nov 10, 2026

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

    CODE-2466

  3. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  4. dezren39
    added this to the ID platform program milestone on Nov 12, 2026
  5. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  6. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    kind/enhancement
    status/triagedTriaged and routed (see agent note)
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up + triaged

    • Agent: queue worker (repo-worker-code), lane any-e
    • Session / ID: task 18625
    • Found via: repo-health-code-pilot atomic claim (unfiltered, lane any-e)
    • Task: Triage issue id: implement template-world snapshot export/import (from #6278) #8282: id: implement template-world snapshot export/import (from id(phase-14): Program ecosystem (share, fork, gallery) — core topic (research + design) #6278)
    • Fresh verification (2026-11-17): issue id: implement template-world snapshot export/import (from #6278) #8282 OPEN; only labels were app/id + epic/id-program and its only comment was a Kaneo link — untriaged in substance, so triaged inline per runbook §1c. No hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit absent).
    • Verdict: work kind task/small-fix · priority/normal · effort/l · kind/enhancement (labels applied this run, plus status/triaged and queue/queued for the follow-on)
    • Priority why: priority/normal — priorities brief line 5 by usefulness; a settled-design implementation follow-on (brief line 3: finish what is open), in line with the comparable id implementation follow-on id: impl: conformance corpus and golden-test harness (from #5855) #7919.
    • Evidence: core topic id(phase-14): Program ecosystem (share, fork, gallery) — core topic (research + design) #6278 is CLOSED and the design of record (doc/2026-11-10T21-24-00Z_design_id_program_ecosystem/, decision D5) is on main, with later revisions v1–v3 also on main — the fix packet names reconciling D5 against the newest revision as a first step. No implementation exists yet: the only template surface in pkgs/id is a fork template: bool marker in id-worlds' world/mod.rs.
    • First step: read D5 in the newest ecosystem design revision, then build the template bundle + manifest (stripped/retained lists) in pkgs/id: export (state, program bundle references by identity + content hash, role definitions) and import (fresh world identity, roles recreated empty, programs via the standard verification path).
    • Acceptance: round-trip W → W' with hash-verified programs, role definitions empty of members, template-scoped state, distinct world identity; manifest accurately lists stripped vs retained, verified against a fixture world containing members, grants, and per-user data — none of which appear in W'.
    • Fix packet: repo-health:v1:fix:developing-today/code:issue:8282 → enqueued as task 20114 (queue repo-health-code-pilot, status queued).
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked for capacity (scoping verified)

    • Agent: repo-worker-code, lane any-h, task 20114
    • Fresh verification (2026-11-17): issue id: implement template-world snapshot export/import (from #6278) #8282 OPEN, effort/l, status/triaged, no hard-stop labels. No implementation exists: a search of pkgs/id/crates on current main finds no template snapshot export/import (the design of record is doc/2026-11-10T21-24-00Z_design_id_program_ecosystem/, decision D5, merged via PR docs(id): program ecosystem (share, fork, gallery) first-pass design (#6278) #8288). Adjacent machinery the build stands on does exist: the id-worlds crate and the id world fork CLI + provenance precedent (PR feat(id): wire id world fork CLI + provenance inspect (F12.2 remainder) (#556) #3291).
    • Why parked, precisely: the acceptance is a full round-trip feature — template bundle format + manifest with strip rules, export, import with fresh world identity and hash-verified program installs, and a fixture world proving members/grants/per-user data never cross. That is an effort/l build in the id workspace that must land whole with its fixture test; it needs a dedicated full-budget shift.
    • Exact first steps: (1) read design D5 in the id(phase-14): Program ecosystem (share, fork, gallery) — core topic (research + design) #6278 ecosystem record; (2) mirror the fork CLI's world traversal for export, adding the manifest + strip rules; (3) build the fixture world (members, grants, per-user data) and the round-trip test first — it is the acceptance oracle; (4) import with fresh identity and bundle hash verification via the standard path.
    • Resume condition: capacity — parked with required-budget-minutes 240.
  9. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    and removed
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  10. 15 remaining items

  11. dezren39
    added a commit that references this issue on Nov 26, 2026

    feat(id-worlds): export a template from a durable world on disk (#8282 …

    ffad064
  12. dezren39 commented on Nov 26, 2026

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

    Slice 3 merged in #15601: id world template-export projects a durable world on disk into a template file. The program goes in as its bundle reference, only the --keep-state keys you name are carried, and issued people, author keys and grants are stripped and counted.

    Slices 4 and 5 are in #15672. id world template-create makes a fresh world from the file, and id world template-resume fills a recorded program gap later. That PR also carries the round-trip acceptance test from this issue. It's waiting on remote tests.


    Generated by Claude Code

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

    style(id-cli): name the map type in the template test (#8282)

    7e84fbd

    feat(id-worlds): create and resume a world from a template (#8282 sli…

    95f2c74
  14. dezren39 commented on Nov 26, 2026

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

    Slices 4 and 5 merged in #15672.

    • id world template-create makes a fresh world from a template file. It writes the kept state, installs the held bundle (signature-checked against --trust-key), and records any program it can't install yet in template-gaps.json.
    • id world template-resume fills that gap later from a bundle file.

    The round-trip acceptance test is in world_store.rs as a_world_round_trips_through_a_template_without_its_people. It exports a world with two issued people, a portal grant and an extra state key. The new world has the same program (hash-verified on install), only the kept state key, and its own identity. The manifest reports the two credentials and the grant as stripped.

    One gap remains against the acceptance text: role definitions. Worlds keep no role records in their journal today, so a template exported from disk carries no roles. A template authored with roles does import them empty. Round-tripping roles from a live world needs role records in the world first, so I'm leaving this issue open for that.


    Generated by Claude Code

  15. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage verdict (2026-11-26, lane any-o): the large feature is not complete, and this is not a small fix. Slices 1–5 are merged (#14097, #15488, #15601, #15672), covering the manifest/export primitives, durable-world export, template creation/resume, and round-trip test. The remaining acceptance gap is role definitions: currently projects no roles because durable worlds have no role-definition journal records. This is confirmed by the merged implementation and the latest #8282 progress note.

    I returned this to real work by enqueuing feature slice 6 as Fleet task 25440 in : persist/project role definitions into template export while keeping member identities stripped. It is intentionally scoped not to close #8282; the full durable round-trip still needs to pass. No source changes or PR in this triage pass.

  16. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Correction to the immediately preceding triage note: the missing function name is template_source_from_journal, and the queue is repo-health-code-pilot. The verdict and disposition are unchanged: merged slices 1–5 leave a durable role-definition projection gap; follow-on slice 6 is live as Fleet task 25440. No source changes or PR were made in this triage pass.

  17. developing-today-fleet
    added a commit that references this issue on Nov 27, 2026

    feat(id-worlds): persist and export world role definitions without me…

    c998e99
  18. developing-today-fleet commented on Nov 27, 2026

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

    Slice 6 done (queue task 25440): durable world role definitions are persisted and exported without member identity. PR: #15979

    • New JournalEntry::TemplateRolesSet (journal version 18); replay applies the last set with empty/duplicate-name refusal; checkpoints re-emit it and raise the header.
    • template_source_from_journal projects the set as roles with empty members; populate_template_world journals imported roles so the durable round-trip preserves them.
    • Done check passes: journal_roles_export_as_definitions_without_member_identity proves role names/descriptions survive and source member identities are absent. Full id-worlds suite: 1274 pass, 0 fail; clippy clean under pinned 1.99.1.

    Not closing: full durable round-trip and acceptance still to pass (later slices).

  19. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    MemberAuthor
    More actions

    Slice 6 landing parked — lane 0137-A-B (alpha DRIVE, 2026-11-27 01:37 CST).

    PR #15979 (slice 6, durable world role definitions) was NOT merged: its only exact-head fleet-command verification, run 45956406744 (dispatch_id 0052D-15979, lane 0052-D), completed failure (metadata only; no CI logs read by this lane). Per 0052-D's recorded note on the PR, the failure was a misspecified verification command (repo root instead of the pkgs/id workspace) and no test ran — not a code failure, but no passing exact-head verification exists, so the merge gate is unmet.

    PR re-checked: OPEN, non-draft, MERGEABLE/CLEAN at head 48bb3575c57651d07fdef442087af37be674fc9a; no other live claim. Wake: one passing fleet-command run at that head with the corrected command (cd pkgs/id && cargo test -p id-worlds template), then merge (merge commit). Full park note on PR #15979. #8282 stays open. Key: 0137-A-B

  20. dezren39
    added a commit that references this issue on Nov 27, 2026

    Merge pull request #15979 from developing-today/oc-code-04/8282-world…

    ed91d30
  21. dezren39
    closed this as completedin #15979on Nov 27, 2026
  22. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    MemberAuthor
    More actions

    LANDED — lane 0152-B-F (bravo SUSTAIN, 2026-11-27).

    PR #15979 is MERGED: merge commit ed91d3042eb9434d9385ee95f73a89ae8b8d5200, mergedAt 2026-11-27T08:18:50Z (read back from the tracker). Verification: fleet-command run 45961836667 (dispatch_id 0152BF-15979) completed success at exact head 48bb3575c57651d07fdef442087af37be674fc9a with the corrected command cd pkgs/id && cargo test -p id-worlds template — metadata only, no CI logs read. Pre-merge re-check: OPEN, non-draft, MERGEABLE/CLEAN at the same head. Slice 6 of #8282 (durable template role definitions, membership absent from export) is now on main. Parent #8282 stays OPEN — full durable round-trip/acceptance remains for later slices. Key: 0152-B-F

  23. dezren39
    reopened this on Nov 27, 2026
  24. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    MemberAuthor
    More actions

    Reopened — lane 0152-B-F: #8282 was auto-closed at 08:18:52Z, two seconds after PR #15979 merged (merge commit ed91d3042eb9434d9385ee95f73a89ae8b8d5200), via the PR's closing linkage. Per the PR body and every prior slice note, slice 6 does NOT close #8282: the full durable round-trip and acceptance still remain for later slices. Restored to OPEN. Key: 0152-B-F

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-programReprioritization program epic (2026-11-12)kind/enhancementpriority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditionstatus/triagedTriaged and routed (see agent note)status:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      • ID platform programNo due date

      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.