Skip to content

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

Open

Description

@dezren39

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

  1. 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
    Contributor
  3. added this to the ID platform program milestone on Nov 12, 2026
  4. 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
    status/triagedTriaged and routed (see agent note)
    on Nov 17, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 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).
  6. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked for capacity (scoping verified)

  7. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed on Nov 17, 2026
  8. removed their assignment
    on Nov 20, 2026
  9. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: picked_up
    task: 20114
    lane: code-h (OpenChamber scheduled lane, worker repo-worker-code)
    stage: claimed -> capacity_review

    Claimed task 20114 and revalidated fresh GitHub state: #8282 remains OPEN, no hard-stop labels, and no superseding implementation PR. Main is current at 56ad4c4. The settled D5 plus v1 refinement show this is a broad template package/import workflow, not safely deliverable in this 180-minute lane occurrence (packet requires a dedicated 240-minute budget). No worktree or edits created; parking with the design references and resume plan.

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: parked
    task: 20114
    lane: code-h (OpenChamber scheduled lane, worker repo-worker-code)
    stage: capacity_review

    Parked with a 20-minute delay and required budget 240 minutes. Resume brief is in queue task 20114: use a dedicated window of at least 240 minutes, create the task worktree from current laptop main, reconcile D5 against the v1 refinement, then implement and test the local/offline template package path. No edits or worktree were started.

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)task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions