docs: belief retention class + aging policy spec (#290) - #296
Merged
Conversation
Owner
Author
|
[claim:review:Gylf:2026-04-29T02:29:16Z] |
Owner
Author
|
[release:review:Gylf:2026-04-29T02:29:36Z] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Spec memo for #290. Phase-3 of the #286 redesign — the foundational typing axis that ranking, aging, and promotion all consume. Doc-only — no code change. Posted for ratification.
Core moves:
retention_classwith three live values:fact,snapshot,transient(plusunknownfor migration). Distinct from the existingtypeenum, which describes form not expected lifetime.fact. Transcript/hook →snapshot.transientrequires explicit operator opt-in. Table in §2.retention_age_multiplier(class, age_days)term. Per-class exponential decay with floor (fact ~300d half-life, snapshot 14d, transient 1d). Locks force multiplier = 1.0.corroboration_count >= 3 AND distinct_sessions >= 2 AND no contradiction. Reuses [phantom-prereqs T1] Belief corroboration tracking — sibling table + ingest recorder #190 corroboration recorder. Doctor-pass opt-in (aelf doctor --promote-retention, mirrors feat(doctor): --classify-orphans pass for un-typed low-prior beliefs (#206) #253). No demotion — contradictions handle correctness._maybe_classify_retention_class(), schema-meta gated, heuristic bysource_kind.legacy_unknownrows stayunknown.Decision asks (nine)
Bottom of the memo. Schema shape, defaults table, transient opt-in, multiplier shape, lock override, calibration plan, promotion thresholds, no-demotion, migration heuristic.
What ships if ratified
Three PRs:
aelf doctor --promote-retention(~300 lines)Test plan
Refs #290, #286