knowledge-catalog icon indicating copy to clipboard operation
knowledge-catalog copied to clipboard

okf: add optional erasure conformance profile (SPEC 9.1)

Open manumishra12 opened this issue 4 months ago • 0 comments

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:

  1. Removes or redacts inbound links to it from other concepts in the same revision.
  2. Drops its concept ID from every index.md and log.md.
  3. 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.

manumishra12 avatar Jul 11 '26 21:07 manumishra12