Repository navigation
Description
Problem and goal
Separate recommendation snapshots from search history and apply per-class retention/deletion policy. ParentSnapshotId hashes only the complete signed parent envelope of inputs, ranking configuration and cutoff; it excludes pages. Each page has an independently signed envelope and EnvelopeId; cursor binds parent SnapshotId plus position.
Version and design basis
Version: V3. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/versioned-design.md#9140-recommendation-objectshistory-s68s612-s616s617 (section: #9140 recommendation objects/history (S6.8–S6.12, S6.16–S6.17)).
Tier: crucial.
Statement IDs: S6.8, S6.9, S6.10, S6.11, S6.12, S6.16, S6.17
Enables: snapshot persistence
Scope and ownership
Parent: #9140 (native component/meta parent).
pkgs/id/crates/id-store/src/recommendation_object.rs(new; owner: C9140-01)pkgs/id/crates/id-store/tests/recommendation_object.rs(new; owner: C9140-01)
Hard dependencies (native blockers): C9139-01 — stable materialized snapshot/page IDs and finite retention semantics; 9084 — reference/deletion authority and retention hooks
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/crates/id-store/tests/recommendation_object.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml -p id-store --test recommendation_object
Oracle: model — expected Parent and page envelopes remain distinct and immutable; page EnvelopeId does not replace or enter ParentSnapshotId; cursor binds parent SnapshotId plus position; retention/hold/deletion model preserves required snapshots.; verifier: Independent canonical-envelope digest/signature verifier for parent and page envelopes plus finite cursor and retention model..
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 object writer; preserve existing signed snapshots and use prior retention policy until migration resumes.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Acceptance criteria
- The versioned recommendation object and retention contract is specified per the settled design section cited in the body (parent design(atlas): recommendation objects, search history, retention classes #9140), including retention and expiry behaviour.
- Evidence for the result (test run, live check, or the delivered artifact) is linked on this issue.
- Follow-on work, if any remains, is filed as its own issue and linked here.
Activity
developing-today commentedon Nov 14, 2026
CODE-3597
dezren39 commentedon Nov 14, 2026
Agent note — task 17022 dependency-blocked on issues #10158 and #9084 (lane any-c)
pkgs/id/crates/id-store/src/on origin/main contains no snapshot/page-ID types for this slice'sParentSnapshotId/ pageEnvelopeIdmodel to build on (fresh git grep this claim).recommendation_object.rs+ its tests).--blocked-by-issueon both Recommendation snapshot paging state machine #10158 and design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084; the broker returns it to the pool when ALL deps clear. No code was started. On unblock, the claiming lane implements against the landed snapshot-ID and deletion-authority contracts, with the issue's model oracle: parent and page envelopes distinct and immutable; page EnvelopeId never enters ParentSnapshotId; cursor binds parent SnapshotId plus position; retention/hold/deletion preserves required snapshots.dezren39 commentedon Nov 17, 2026
Triage — task 19131, lane any-i, 2026-11-16: duplicate bulk-intake triage; existing gated disposition stands.
Fresh verification (gh, 2026-11-17T06:55Z):
Verdict: triaged (existing disposition stands). No duplicate follow-on enqueued; work proceeds via task 17022 when #10158 and #9084 close. Issue labels queue/blocked + status/blocked left as task 17022's state.
19 remaining items
developing-today-fleet commentedon Nov 29, 2026
Priority validation 2026-11-29 (Felix): priority/high → priority/normal — ordinary V3 store-contract slice (its V4 sibling #10189 sits at normal); sole remaining blocker is the long-horizon #9084 design hub and no time-sensitive consumer waits on this slice
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Wave-2 residual pass. A parallel census note (
Census 2026-11-29 (Felix)) already covers this issue today, and wave 1 of this census audited the head of this group; their verdicts are not duplicated here. This note records only the residual fixes applied after re-verifying the live state (state, body, labels, recent comments) immediately before editing.Residual gaps found: no
kind/*label (a parallel census note today left it for the picking-up lane; set here from the title/body); noapp/*/area/*label although the owning project is clear from the title/body; noeffort/*label.Actions taken: labels added:
kind/design,app/atlas,effort/m.Blocker recorded in this census note: the issue carries
status/blocked+queue/blocked; its Scope and ownership section names the parent and hard dependencies — the wait is on those, not on missing detail here.Priority:
priority/normalretained — matches the work's urgency as evidenced on the issue; no band change in this pass.developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29 (addendum)
Mop-up for the wave-2 residual pass on this issue: the
## Acceptance criteriaappend failed on a transient GitHub stream error during the main pass and has now been applied (original body text unchanged above it). Everything else in the main census note on this issue stands as written.developing-today-fleet commentedon Nov 30, 2026
🤖 P0.4a stale-edge prune — Felix lane 0640-PA, 2026-11-30 (Refs #17071)
blockedByedge to design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084 (closed) via the dependencies API (HTTP 200, verified by re-query: this issue'sblockedByno longer lists design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084, and design(pm-stack): content-addressed media/data plane — R2 dedup, reference-based access, GC when the last reference drops #9084'sblockingcount is now 0 across all 7 dependents).status/blockedandqueue/blockedremoved. (Any remaining closedblockedByedges on this issue are inert and belong to the P1.2 batch prune.)status/blocked/queue/blockedcarried. After: edge gone, 0 open blockers, blocked labels cleared.developing-today-fleet commentedon Dec 1, 2026
Claim — lane 2107-AA (Archer, charlie ADVANCE 2026-11-30 21:07 CST, third wave; first draw per 2107-M's successor note).
FULL claim-scan firsthand: body + all 13 comments read. No live claim: the newest comment is Felix 0640-PA's 2026-11-30T09:15:13Z stale-edge prune — #9084 is CLOSED, its blockedBy edge removed, 0 open native blockers, status/blocked + queue/blocked labels cleared. The body's other hard dependency C9139-01 (#10158) is CLOSED per the 2026-11-29 census note on this issue. Old queue task 17022 notes (Nov 14–20) are blocked-self dispositions, not live lane claims.
Taking slice C9140-01 in full:
pkgs/id/crates/id-store/src/recommendation_object.rs+pkgs/id/crates/id-store/tests/recommendation_object.rs(test-first), per the settled #9140 design section (S6.8–S6.12, S6.16–S6.17). Model oracle: parent and page envelopes distinct and immutable; page EnvelopeId never enters ParentSnapshotId; cursor binds parent SnapshotId plus position; retention/hold/deletion preserves required snapshots. Authoring via the Git-API contents route; verification via fleet Actions exec (cargo test -p id-store --test recommendation_object). Landing this also unblocks #10189. Key: 2107-AA