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 — Encode complete signed metadata snapshot records · Issue #10242 · developing-today/code

Encode complete signed metadata snapshot records #10242

New issue
Copy link
New issue
Copy link
Closed
Closed
Encode complete signed metadata snapshot records#10242
Copy link
Labels
effort/mMedium: expected under 1 day of workpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

Description

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

Problem and goal

Store complete, scoped signed sidecar snapshots with parent generation and digest-derived snapshot ID.

Version and design basis

Version: V2. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-addressing/versioned-design.md#9114--complete-metadata-sidecars-and-mutable-head (section: #9114 — Complete metadata sidecars and mutable head).
Tier: crucial.
Statement IDs: S3.11, S3.12, S3.13, S3.14, S3.18
Enables: Reproducible metadata versioning and location-index reconstruction.

Scope and ownership

Parent: #9114 (native component/meta parent).

  • pkgs/id/crates/id-store/src/sidecar_snapshot.rs (new; owner: A9114-sidecar-snapshot)
  • pkgs/id/crates/id-store/tests/sidecar_snapshot.rs (new; owner: A9114-sidecar-snapshot)
    Hard dependencies (native blockers): A9114-envelope-identities — Requires PayloadId, canonical Body, detached-signature preimage and nonrecursive EnvelopeId types from A9114-envelope-identities.; 9110-02 — Adds this consumer module to the crate root and owns Cargo manifest/export changes; this slice owns only its distinct module and tests.; 9083 — Consumes the authenticated tenant/scope context contract; this slice does not define tenancy.
    Soft sequencing (not blockers): none

Test / evidence first

Create or validate pkgs/id/crates/id-store/tests/sidecar_snapshot.rs first. Proposed command: cargo test -p id-store --test sidecar_snapshot
Oracle: model — expected Canonical signed-envelope digest and a model of complete scope; snapshot digest is not recursively embedded in signed Body.; verifier: Generate the listed operations against the specified state/reference model and compare every resulting state and error..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Disable new snapshot/head writes and keep the previous head readable; preserve immutable snapshots and legacy metadata readers. Rebuild the head only from verified signed parent chains.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Activity

Next
  1. developing-today commented on Nov 14, 2026

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

    CODE-3661

  2. dezren39
    marked this as blocked by 3 issues on Nov 14, 2026
    • Define versioned capability-oriented port contracts #10160
    • design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083
    • Implement payload, body, signature and signed-envelope identity separation #10226
  3. dezren39
    added a parent issue on Nov 14, 2026
    • design(id): metadata sidecar format — hash.metadata schema + versioning-form decision #9114
  4. dezren39
    marked this as blocking 4 issues on Nov 14, 2026
    • Implement compare-and-swap metadata head and ABA protection #10254
    • Index every valid visible sidecar location with tombstone reconciliation #10255
    • Add legacy metadata read bridge and immutable snapshot migration #10270
    • Store string-path names as signed collision-preserving candidates #10276
  5. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Agent note — task 17082 preflight outcome: BLOCKED on native blockers (lane code-a, 2026-11-14)

    Mandatory triage/preflight for slice A9114-sidecar-snapshot, performed per the task spec — no implementation attempted, no production rollout authorized or started.

    Native blockers read from this issue's GitHub blocked-by graph at 2026-11-14T18:11Z — all OPEN:

    • design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083
    • Define versioned capability-oriented port contracts #10160
    • Implement payload, body, signature and signed-envelope identity separation #10226

    All blockers remain open, so task 17082 has self-blocked exactly as prescribed (fleet queue block 17082 --reason-class blocked --blocked-by-issue developing-today/code#9083,developing-today/code#10160,developing-today/code#10226, blocker: "waiting on native issue blockers"). Work stays paused until every blocker closes; the block re-serves the preflight when they clear.

  6. github-actions
    assigned
    dezren39
    on Nov 14, 2026
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — task 19177 (lane code-c)

    • Work kind: task/small-fix · Priority: priority/high (priorities brief line 2: ID programme tracks are Drew's standing explicit priority order; this slice's design tier is "crucial") · Effort: effort/m
    • Fresh evidence: issue Encode complete signed metadata snapshot records #10242 OPEN, unheld, no labels. This bulk-intake triage duplicates an already-routed slice: task 17082 owns Encode complete signed metadata snapshot records #10242 (slice A9114-sidecar-snapshot, parent design(id): metadata sidecar format — hash.metadata schema + versioning-form decision #9114, programme epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106) and self-blocked at preflight on 2026-11-14 on three native blockers — design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083, Define versioned capability-oriented port contracts #10160, Implement payload, body, signature and signed-envelope identity separation #10226 (note on this issue). No second packet is enqueued and no second block is recorded.
    • Gate re-verification (fresh, this shift, 2026-11-17) — one of three blockers has cleared: issue Define versioned capability-oriented port contracts #10160 (versioned capability-oriented port contracts) is CLOSED — CLEAR. Issue design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 (tenancy architecture — the authenticated tenant/scope context contract this slice consumes) is OPEN and issue Implement payload, body, signature and signed-envelope identity separation #10226 (A9114-envelope-identities, whose PayloadId/Body/EnvelopeId types this slice requires) is OPEN — both NOT CLEAR. Parent design(id): metadata sidecar format — hash.metadata schema + versioning-form decision #9114 is OPEN.
    • First concrete step (unchanged, on task 17082): when design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 and Implement payload, body, signature and signed-envelope identity separation #10226 both close, the broker releases task 17082; the claiming lane then builds the sidecar snapshot encoding test-first (pkgs/id/crates/id-store/tests/sidecar_snapshot.rs; oracle: model — complete scoped signed sidecar snapshots with parent generation and digest-derived snapshot ID), delivering pkgs/id/crates/id-store/src/sidecar_snapshot.rs per the slice scope.
    • Labels: this note adds only task/small-fix, priority/high and effort/m; the issue carried no queue labels in its fresh state, and task 17082's blocked state is recorded in the queue, not in labels this lane should invent.
  8. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    on Nov 17, 2026
  9. 5 remaining items

  10. dezren39
    added
    status/in-progressQueue worker lifecycle state
    on Nov 20, 2026
  11. dezren39 commented on Nov 20, 2026

    @dezren39
    dezren39
    on Nov 20, 2026
    MemberAuthor
    More actions

    agent-note:v1
    lane: oc-code-05 · worker repo-worker-code · queue task 17082
    kind: picked up
    at: 2026-11-20T18:10Z
    summary: Claimed mandatory preflight task 17082. Fresh GitHub checks: #10242 OPEN; native blockers #9083 and #10226 remain OPEN; #10160 is CLOSED. Performing required no-implementation dependency preflight.

  12. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 20, 2026
  13. dezren39 commented on Nov 20, 2026

    @dezren39
    dezren39
    on Nov 20, 2026
    MemberAuthor
    More actions

    agent-note:v1
    lane: oc-code-05 · worker repo-worker-code · queue task 17082
    kind: blocked
    at: 2026-11-20T18:11Z
    summary: Native-blocker preflight for slice A9114-sidecar-snapshot re-verified fresh: #9083 OPEN, #10160 CLOSED, #10226 OPEN. No implementation performed. Task self-blocked with blocked-by-issue on #9083 and #10226; returns to the pool when both close.

  14. dezren39
    added 2 commits that reference this issue on Nov 23, 2026

    feat(id-store): add signed sidecar snapshots (#10242)

    998b709

    Merge pull request #12880 from developing-today/lane-da/10242-sidecar…

    35047c7
  15. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    A9114-sidecar-snapshot implemented and merged — preflight passed, oracle green.

    Preflight (queue task 17082, fresh gh REST 2026-11-23): all three native blockers closed/completed — #9083 (closed 2026-11-23T03:07:11Z), #10160 (closed 2026-11-14), #10226 (closed 2026-11-22). No live claim covered this slice; no open PR referenced it. Proceeded within the issue's approved scope only (no production rollout).

    Landed: PR #12880, merged 2026-11-23T04:23:32Z, merge commit 35047c7a6230c18d5cb090afbc3d2cf4dd4a5632. Exactly the two files this slice owns (+1403/−0):

    • pkgs/id/crates/id-store/src/sidecar_snapshot.rs — SidecarBodyV1 (subject, namespace, tenant scope, generation, parent snapshot, advisory created_at, domain, signer/key/suite, payload profile/id/length; canonical CBOR, unknown critical fields reject, absent parent omitted never null), SidecarEnvelopeV1 carrying the complete metadata view as payload, SnapshotId = EnvelopeId over the complete signed envelope (never embedded in bytes it hashes), SidecarHeadV1 CAS advance on (generation, snapshot_id) (generation +1 exactly, parent = prior head, scope immutable mid-chain), digest-derived names (hash.metadata.<digest> / hash.metadata).
    • pkgs/id/crates/id-store/tests/sidecar_snapshot.rs — the model-oracle test.

    Crate-root export remains 9110-02's per the ownership split in this issue; the test includes the module by path (the #10226 pattern), as the module doc records.

    Evidence — the issue's exact test command (cargo test -p id-store --test sidecar_snapshot, nix develop in pkgs/id on the laptop, run against the merged content):

    running 6 tests
    test absent_parent_is_omitted_never_null ... ok
    test snapshot_digest_is_not_recursively_embedded ... ok
    test storage_names_are_digest_derived ... ok
    test tampered_head_does_not_verify ... ok
    test genesis_shape_and_stale_head ... ok
    test generated_operations_match_the_model ... ok
    test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
    

    rustfmt clean on both files; clippy clean for both files. The generated-operations test runs 160 operations against the complete-scope reference model and compares every resulting state and error class (put/remove + advance, replay, scope break, parent break, payload/signature tamper).

    Closing as completed: the declared oracle passes and the test evidence + changed-file summary are attached here and on PR #12880.

  16. developing-today
    added
    status:in-review
    on Nov 23, 2026
  17. dezren39
    closed this as completedon Nov 23, 2026
  18. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
  19. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Progress — PR #12878 is open from commit 998b7097ff7e3715d8dad879643d82b447eb9dcc.

    • Native preflight now passes: design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083, Define versioned capability-oriented port contracts #10160, and Implement payload, body, signature and signed-envelope identity separation #10226 are CLOSED.
    • Added the approved id-store sidecar snapshot module, model-oracle integration test, and suite-registry entry.
    • Local cargo is unavailable in this sandbox. Manual org-run verification was attempted on the exact branch/test; runs #45111518413 and #45111805634 failed before cargo due runner Nix setup (nix-command/missing nixbld), runs #45112531233 and #45113399312 reached Nix but failed because cargo was absent or /homeless-shelter purity setup, and #45114324751/#45114830063 hit the same executor purity failure. No compiler/test diagnostic was emitted.

    Resume condition: rerun cargo test --manifest-path pkgs/id/Cargo.toml -p id-store --test sidecar_snapshot on a functional Fleet/laptop/CI executor and fix any code diagnostics before merge.

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

    effort/mMedium: expected under 1 day of workpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle 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.