Skip to content

v1.2: Fact State Model (active/core/retired) #255

Closed

Description

@hurttlocker

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.
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions