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 — design(atlas): retention rule engine — composite age / supersede-count / last-surfaced policy with dry-run reporter · Issue #6041 · developing-today/code

design(atlas): retention rule engine — composite age / supersede-count / last-surfaced policy with dry-run reporter #6041

New issue
Copy link
New issue
Copy link
Closed
#10924
Closed
design(atlas): retention rule engine — composite age / supersede-count / last-surfaced policy with dry-run reporter#6041
#10924
Copy link
Assignees
dezren39
Labels
area/infraInfrastructure, deployment, and operationsepic/atlas-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
Atlas program

Description

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

Parent: #6026 (content versioning + retention). Research source: prior-art doc ~/workspace/scratch/atlas-ingestion-brief-2026-11-04/prior-art-research.md (2026-11-04). Follow-up 11 (Cluster 2).

Finding (research, in substance)

Versioned-data systems converge on: keep everything until a policy-driven vacuum. Delta Lake VACUUM (default deleted-file retention 7 days), Iceberg expire_snapshots (older_than + retain_last_n), restic's GFS thinning (--keep-daily/weekly/monthly) — the brief's three triggers (age / supersede-count / access) each have a production precedent. Atlas has a better access signal than any of them: its own query traces record exactly which versions ever surface. Dead end to avoid: vacuum without a dry-run reporter — every system above deletes silently once policy fires; for a personal corpus, retention must report first ("these 412 versions would cold-tier, these 38 would delete") until the policy has earned trust.

Scope

  • Rule engine over the lineage graph: per-class composite rules (age AND/OR supersede-count AND/OR last-surfaced-in-top-K), evaluated against query-trace stats (sibling design design(atlas): retrieval statistics, result feedback, and query traces — top-K survival, thumbs + essays, per-stage scores #6027).
  • Dry-run reporter as the only mode until Drew promotes a rule to live; cold-tier moves precede deletions by at least one full retention cycle.
  • Interaction with design(atlas): content versioning + retention — versions, rename lineage, newest-resolution, cold rollout, deletion triggers #6026's governing tension: atlas: provenance registry (chunk occurrences), content-addressed extracts, multi-DB vector resolution #3125's keep-ALL rule vs the 2026-11-04 deletion triggers — the engine encodes which rule governs which tier/class.

Done looks like

An engine design: rule schema, evaluation cadence, dry-run report format, promotion path from dry-run to live.

Activity

Next
  1. dezren39
    added
    area/infraInfrastructure, deployment, and operations
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

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

    CODE-1706

  3. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-u
    • Session / ID: task 10407
    • Found via: queue claim
    • Task: Work issue design(atlas): retention rule engine — composite age / supersede-count / last-surfaced policy with dry-run reporter #6041 per task 10407 — handed off to the opencode execution lane; the laptop claimant launches the bound opencode session for task 10407. Verified fresh: issue design(atlas): retention rule engine — composite age / supersede-count / last-surfaced policy with dry-run reporter #6041 is OPEN with no hard-stop labels (no held, user/owned, do-not-merge, do-not-auto-edit).
    • Expectation: triage/work at current main with evidence by the bound opencode session.
    • Links: task 10407 (repo-health-code-pilot), assigned_lane=opencode
  5. github-actions
    assigned
    dezren39
    on Nov 5, 2026
  6. developing-today commented on Nov 5, 2026

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

    🤖 Agent note · state: handed off

    • Agent: queue worker (repo-worker-code), lane code-m
    • Session / ID: task 10407
    • Found via: queue claim (task 10407 returned to the queue after a prior handoff)
    • Task: Triage of issue design(atlas): retention rule engine — composite age / supersede-count / last-surfaced policy with dry-run reporter #6041 (design(atlas): retention rule engine) is assigned to the opencode execution lane — handed off again to the opencode claimant, which launches a bound session to drive task 10407 to its terminal state.
    • Expectation: claimant launches the bound opencode session during the park window; if unbound at lease expiry, task 10407 returns to the queue.
    • Links: issue design(atlas): retention rule engine — composite age / supersede-count / last-surfaced policy with dry-run reporter #6041
  7. developing-today
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 5, 2026
  8. 189 remaining items

    Load more actions
  9. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up — writing the rule-engine design record in this claim

    • Agent: repo-worker-code (Muse lane any-b)
    • Session / ID: queue task 18430
    • Task: triage of design(atlas): retention rule engine — composite age / supersede-count / last-surfaced policy with dry-run reporter #6041 confirmed task 10569's verdict fresh: REAL and CURRENT design work — the retention rule engine exists only as the parent design(atlas): content versioning + retention — versions, rename lineage, newest-resolution, cold rollout, deletion triggers #6026 record's §4 policy + this issue's scope; no rule schema, cadence, report format, or promotion path has been produced anywhere in doc/ or pkgs/atlas-search.
    • Plan: author the design record as doc/2026-11-17_design_atlas_retention_rule_engine.md (rule schema over the §4.2 table as data, evaluation cadence, dry-run report format, per-rule promotion path), grounded strictly in the parent record's §4.1 governing rule, §4.3 triggers, §4.4 report-before-deletion, and §7's parameter boundary; PR + merge under standing criteria; close this issue on the linked record per the design-ticket precedent (id: design: provider discovery & negotiation protocols (from #5686) #5899).
  10. dezren39
    added a commit that references this issue on Nov 17, 2026

    Merge pull request #10924 from developing-today/queue/18430-6041-rete…

    e883883
  11. dezren39
    closed this as completedin #10924on Nov 17, 2026
  12. developing-today
    added
    status:done
    status:in-review
    and removed
    status:done
    on Nov 17, 2026
  13. developing-today
    reopened this on Nov 17, 2026
  14. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — retention rule-engine design record landed

    • Agent: repo-worker-code (Muse lane any-b)
    • Session / ID: queue task 18430
    • Outcome: fixed_merged via PR design(atlas): retention rule engine — schema, cadence, dry-run report, promotion path (#6041) #10924 (MERGED, merge commit e883883); this issue auto-closed by the PR.
    • What landed: doc/2026-11-17_design_atlas_retention_rule_engine.md — the four deliverables from this issue's 'Done looks like', grounded in the parent design(atlas): content versioning + retention — versions, rename lineage, newest-resolution, cold rollout, deletion triggers #6026 record: (1) rule schema as versioned data, one record per (class, tier), with the §4.2 table as the initial all-dry-run rule set and the §4.1 conjunction as fixed semantics; (2) weekly deterministic evaluation pinned to (lineage snapshot, surfaced-events snapshot, rule-set version) so reports re-derive byte-for-byte; (3) dry-run report format (JSON + human summary: per-rule candidates split would-cold-tier vs would-delete, grouped by trigger, explicit floor/head protection notes, cycle deltas, tombstone annex on deletion runs); (4) per-rule promotion path (two unchanged cycles to live-cold, one further cycle to live-delete, owner-recorded with earning run ids; edits reset to dry-run; demotion immediate), with cold-before-delete ≥1 cycle per version and the atlas: provenance registry (chunk occurrences), content-addressed extracts, multi-DB vector resolution #3125 keep-ALL reconciliation encoded per tier/class.
    • Boundary kept: the record parameterizes §4 without amending it, decides no thresholds beyond the §4.2 defaults, and authorizes no implementation — that is a separate packet when the atlas program prioritizes it.
  15. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
  16. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Triage — task 19970: deliverable merged; closing on merits (auto-close did not fire)

    Fresh verification 2026-11-17: the retention rule-engine design record for this issue landed via PR #10924 — MERGED 2026-11-17T03:14:15Z, merge commit e883883db3e9b4b034e0edea80e2137290a4aa5c (doc/2026-11-17_design_atlas_retention_rule_engine.md; task 18430's note on this issue records the four deliverables). The PR's auto-close did not take effect — the issue was still open — so it is closed here on the same evidence, with status:done.

    Task 19970 completes as triaged. No follow-on routed.

  17. dezren39
    closed this as completedon Nov 17, 2026
  18. dezren39
    added
    status:done
    on Nov 17, 2026
  19. developing-today
    removed
    status:in-review
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

area/infraInfrastructure, deployment, and operationsepic/atlas-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    • Atlas programNo due date

    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.