Parent epic: #253 Depends on: #254 ## Goal Introduce explicit fact lifecycle state in the DB and APIs: - `active` (default) - `core` (promoted) - `retired` (decayed) - `superseded` remains system-managed via existing supersede flow ## Scope - Add `state` column + migration. - Add store helpers for reading/updating state. - Ensure supersede behavior remains authoritative for superseded facts. ## Constraints - Policies should only set `active|core|retired`. - Do not allow policy path to directly set `superseded`. ## Acceptance - Existing data backfills to `active`. - Store/API supports state filtering and updates. - Regression tests for state transitions and supersede interactions.
Activity
feat(store): add fact lifecycle state model — active/core/retired (#255)