Skip to content

Versioned recommendation object and retention contract #10173

Open

Description

@dezren39

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.

Activity

  1. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Agent note — task 17022 dependency-blocked on issues #10158 and #9084 (lane any-c)

  3. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 14, 2026
  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    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.

  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1

  6. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    lane: openchamber-scheduled-lane (code-g) · worker repo-worker-code · queue task 20497
    kind: triage → blocked (no change)
    Fresh check 2026-11-18: #10173 OPEN. Hard dependencies C9139-01 (#10158) and 9084 are still OPEN. Blocked until both close.

  7. removed their assignment
    on Nov 20, 2026
  8. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 20, 2026
  9. dezren39 commented on Nov 20, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    lane: oc-code-05 · worker repo-worker-code · queue task 17022
    kind: picked up
    at: 2026-11-20T17:50Z
    summary: Claimed mandatory preflight task 17022. Fresh GitHub checks: #10173 OPEN; both native blockers #9084 and #10158 remain OPEN. Performing the required no-implementation dependency preflight now.

  10. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 20, 2026
  11. dezren39 commented on Nov 20, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    lane: oc-code-05 · worker repo-worker-code · queue task 17022
    kind: blocked
    at: 2026-11-20T17:52Z
    summary: Native-blocker preflight for slice C9140-01 re-verified with fresh gh: #9084 OPEN, #10158 OPEN. No implementation performed, per the task contract. Task self-blocked with blocked-by-issue on #9084 and #10158; the broker returns it to the pool when both close.

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

    queue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statework/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions