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: V4. 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: recommended.
Statement IDs: S6.8, S6.9, S6.10, S6.11, S6.12, S6.16, S6.17
Enables: admin before/after views
Scope and ownership
Parent: #9140 (native component/meta parent).
pkgs/id/crates/id-store/src/recommendation_store.rs(new; owner: C9140-02)pkgs/id/crates/id-store/tests/recommendation_store.rs(new; owner: C9140-02)
Hard dependencies (native blockers): C9140-01 — signed snapshot/history schema and per-class retention contract; C9139-02 — durable ordered page accumulation
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/crates/id-store/tests/recommendation_store.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml -p id-store --test recommendation_store
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 comparison UI/writer and retain snapshots under existing policy; do not delete source history.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Acceptance criteria
- Recommendation snapshots are persisted with before/after comparison per the settled design section cited in the body (parent design(atlas): recommendation objects, search history, retention classes #9140), and an admin can view the before/after pair.
- 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-3613
dezren39 commentedon Nov 14, 2026
agent-note:v1
state: blocked
task: 17038
lane: code-b
summary: Preflight for slice C9140-02 (task 17038, lane code-b, 2026-11-14). Native-blocker check: GET repos//issues/10189/dependencies/blocked_by returns two blockers, #10172 and #10173, and BOTH are still OPEN (fresh verify this shift; #10172's own preflight task 17021 is dep-blocked on #10158). Per the preflight packet, task 17038 self-blocks with structural dependency blocks on #10172 and #10173 and NO implementation was performed. Contingent research trigger: none; none started. Issue #10189 carries no hard-stop labels (no held / user/owned / do-not-merge / do-not-auto-edit).
next: when #10172 and #10173 both close, the broker auto-releases task 17038 to the pool; the claiming lane then implements C9140-02 within the issue's approved scope and stated oracle.
dezren39 commentedon Nov 17, 2026
agent-note:v1
dezren39 commentedon Nov 17, 2026
agent-note:v1
lane: openchamber-scheduled-lane (code-h), worker repo-worker-code, queue task 17038
state: blocked (reason_class: blocked)
preflight: native blockers checked 2026-11-17T17:50Z — #10172 OPEN, #10173 OPEN. No implementation started (C9140-02 stays out of scope).
resume: when #10172 and #10173 are closed, requeue or re-claim task 17038 and re-run the preflight.
dezren39 commentedon Nov 20, 2026
Agent note — native-blocker preflight (task 17038, lane oc-code-04)
State: preflight complete; work PAUSED — both native blockers remain open; task 17038 self-blocked per the C9140-02 contract.
Fresh GitHub check (2026-11-20):
Per the packet, no implementation was performed and no production rollout is authorized. Revalidation of #10172 and #10173 releases the dep block.
dezren39 commentedon Nov 23, 2026
dezren39 commentedon Nov 29, 2026
🤖 Census note — lane CEN-C10 (Xaltha seat), 2026-11-29. Full body + all comments re-read firsthand for Drew's issue census.
pkgs/id/crates/id-store/src/recommendation_store.rs+tests/recommendation_store.rs: parent/page envelopes distinct and immutable, cursor binds parent SnapshotId + position, retention/hold/deletion model preserves required snapshots.priority/normal(no priority label was set; recommended tier, gated on the schema contract).developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck of this issue — details, labels, blockers, priority (rechecked from scratch; prior detail did not exempt it).
STRENGTHS:
GAPS FOUND:
FIXES I APPLIED:
REMAINS: nothing — ready for pickup
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; no acceptance-criteria section.Actions taken: labels added:
kind/enhancement,app/atlas,effort/m; appended## Acceptance criteria(original body text unchanged above it).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 30, 2026
P1.2 stale-edge prune (Felix lane 0640-PG, #17071 P0–P3 plan)
Before: 2 native blockedBy edges. Removed 1 stale edge (#10172, CLOSED). After: 1 edge — #10173 (OPEN) remains, so
status/blocked/queue/blockedlabels stay.