Skip to content

docs(rfc): define retention, erasure, and lifecycle policies - #1447

Open
Ethan-Xingyue wants to merge 2 commits into
masterfrom
docs/rfc-retention-erasure-lifecycle
Open

docs(rfc): define retention, erasure, and lifecycle policies#1447
Ethan-Xingyue wants to merge 2 commits into
masterfrom
docs/rfc-retention-erasure-lifecycle

Conversation

@Ethan-Xingyue

@Ethan-Xingyue Ethan-Xingyue commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Which issue or RFC does this PR close?

Closes #1425.

Rationale for this change

Existing lifecycle mechanisms (Memory forget(), Artifact head governance, protected Source observations) stop short of retention and erasure. Several stores grow without any policy, and every schema reference is RESTRICT, so deleting referenced rows would break lineage and exact citations. RFC 1447 defines retention, archival, purge, and erasure without rewriting immutable history.

What changes are included in this PR?

Documentation only, no code or schema changes.

  • docs/en/rfcs/1447_retention_erasure_lifecycle.md and its Chinese translation under docs/zh/rfcs/.
  • zensical.toml navigation entries for both locales.

The RFC defines five distinct operations (forget, governance, Scope archival, purge, erase), record classes, a versioned Lifecycle Policy, precedence with Legal Hold on top, a preview/plan-digest/apply run protocol with crash recovery and content-free receipts, in-place tombstones, derived-Artifact policy for Source erasure, stable erased citation states, projection and copy cleanup, a redacted audit, and an acceptance plan mapped to the issue.

Are there any user-facing changes?

No. Proposed API additions are design intent and do not ship here.

How was this change tested?

  • make docs-test: no issues.
  • uv run prek run --files ...: all hooks passed.
  • Verified relative links resolve and both locales share the same heading structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC: define retention, erasure, and lifecycle policies

1 participant