type: rule
status: active
timestamp: 2026-06-25
tags: [knowledge, okf, supersession, deletion, agent-rule]
status: active
timestamp: 2026-06-25
tags: [knowledge, okf, supersession, deletion, agent-rule]
Knowledge — hard-delete superseded files
Superseded decision: git rm old file same commit as new. Audit trail in git history
Knowledge — hard-delete superseded files
When a knowledge decision is superseded:
git rmthe old file- Create the new decision file in the same commit
- List the deleted path(s) in the new file’s
supersedes:frontmatter array - Cross-link to the new file from any other knowledge that referenced the old one
The git history is the audit trail. git log --follow --diff-filter=D -- <path> recovers any deleted file. git log --all -- <path> shows the full lifecycle including renames.
Why not keep superseded files on disk?
- A graveyard of dead files makes it harder to know what’s current.
status: supersededfiles clutter grep results.- Pointer lines like
> SUPERSEDED 2026-06-25 by [X]create dangling references when X itself gets superseded.
Reversal note
Reverses the earlier (2026-06-25 morning) rule knowledge-supersession-not-deletion. Same day, opposite direction. Both decisions captured in memory + git history.