knowledge-catalog
knowledge-catalog copied to clipboard
okf: add optional erasure conformance profile (SPEC 9.1)
What
Adds an optional erasure profile to SPEC section 9 (as section 9.1). Issue #90 notes that erasing a concept currently discloses it; this specifies an opt-in profile for bundles that must not leak removed knowledge.
Why
A plain file deletion still discloses the concept: dangling inbound links keep naming it, index.md/log.md may still reference it, and git history keeps the content recoverable.
The profile
When a concept is erased, a bundle conforming to the erasure profile:
- Removes or redacts inbound links to it from other concepts in the same revision.
- Drops its concept ID from every
index.mdandlog.md. - Where history must not disclose it, realizes the erasure by rewriting history (e.g. a fresh export) rather than an additive deletion commit.
Opt-in: consumers MUST NOT assume a bundle follows it unless it says so, and ordinary bundles remain valid under section 9.
Additive and backward-compatible (SPEC section 11 minor-version rules).
Addresses #90.