Repository navigation
Description
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
developing-today commentedon Nov 14, 2026
CODE-3661
dezren39 commentedon Nov 14, 2026
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:
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.dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — task 19177 (lane code-c)
pkgs/id/crates/id-store/tests/sidecar_snapshot.rs; oracle: model — complete scoped signed sidecar snapshots with parent generation and digest-derived snapshot ID), deliveringpkgs/id/crates/id-store/src/sidecar_snapshot.rsper the slice scope.5 remaining items
dezren39 commentedon Nov 20, 2026
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.
dezren39 commentedon Nov 20, 2026
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.
feat(id-store): add signed sidecar snapshots (#10242)
Merge pull request #12880 from developing-today/lane-da/10242-sidecar…
dezren39 commentedon Nov 23, 2026
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),SidecarEnvelopeV1carrying the complete metadata view as payload,SnapshotId = EnvelopeIdover the complete signed envelope (never embedded in bytes it hashes),SidecarHeadV1CAS 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):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.
dezren39 commentedon Nov 23, 2026
Progress — PR #12878 is open from commit
998b7097ff7e3715d8dad879643d82b447eb9dcc.id-storesidecar snapshot module, model-oracle integration test, and suite-registry entry.nix-command/missingnixbld), runs #45112531233 and #45113399312 reached Nix but failed because cargo was absent or/homeless-shelterpurity 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_snapshoton a functional Fleet/laptop/CI executor and fix any code diagnostics before merge.