Erasure Cascade#

Surface consumes retention facts and recomputes the existing derivation; the producer and store own physical erasure. A claim tombstone keeps an opaque identity, the schema-required non-content classification fields, and permitted erasure provenance in metadata.surfaceRetention: { state: "deleted", erasedAt, actor, rationale }. The required claim value is null. Producers must ensure that identifiers, classification fields, provenance, links and metadata contain no erased content, and remove related evidence, events, excerpts, anchors and copies that do. Bundle validation and report derivation reject any evidence attached to a deleted claim, including when a caller skips bundle validation; this is a safeguard, not proof that other fields or copies have been purged. Bundle validation and report derivation accept only this deleted state in the reserved surfaceRetention envelope and require the fields above, a null value, and no claim integrity reference or anchor; other Retention States are not yet implemented in this envelope. No content digest is retained in this shape; in particular a plain hash of short content enables confirmation attacks. A producer that needs an integrity reference must manage a keyed reference under its own key and retention policy. Surface does not authenticate the metadata or perform a purge.

A deleted input no longer supplies a derivation ceiling. A live intermediate that rests only on deleted inputs is unsupported and still limits its dependents to at most unknown. If no input survives, the derived claim is at most unknown and gets an unsupported_inference gap. Every non-deleted intermediate continues to apply its own status ceiling, including rejection, even if its inputs were erased. Surviving branches continue to apply the ordinary weakest-input ceiling. Removing a previously weak or rejected input can therefore raise the resulting status; every affected survivor also receives a provenance gap and review signal, so that lift is visible. A cycle that reaches deleted inputs but has no surviving support does not supply support. A separate live cycle keeps its existing status and cycle gap. The report retains a deletion change record with erased input IDs, and the existing drilldown retains the tombstone. For unsupported inputs, the record names directly unsupported inputs when present, otherwise one transitive example; its status map contains only directly unsupported inputs. This bounded explanation is not a complete dependency inventory. Existing input-status records describe the input’s own status; the deletion record describes its deletion-limited status, so their values can differ. Producers must inspect affected derived content and remove any copy of erased content; a change record is a review signal, not proof of removal. traceDependents gives the pre- or post-erasure dependency radius; recomputeChangeRecords identifies transitive deletion pressure even where a survivor's status did not change. These APIs do not discover unrecorded dependencies. Reports list deleted identities on each affected claim, and recompute lists each newly deleted identity for every affected direct input. When many deletions affect many claims, report and recompute output size and work grow with those associations.

This is a Surface-specific convention in Hachure's open claim metadata, not a normative Hachure retention field or proof that other Hachure consumers enforce deletion. Hachure status function version 4 remains the selected upstream version: this is an additional Surface-specific metadata interpretation, not a claim that Hachure version 4 specifies deletion behavior. Hachure issue 35 requests a normative contract and version decision. It aligns with the retention and erasure extension point in knowledge accumulation decision and the intended identity, provenance and links retained by Corpus Store's purge. The store's producer shape and transactional purge are not yet implemented here.

Hachure bundles and their signatures or digests cover their bytes. Removing content or replacing a claim invalidates the old bundle's integrity proof: publish a newly derived bundle and a new proof; do not mutate a signed bundle and claim its original proof still verifies. Old bundles, reports, logs, backups, checkpoints and prior recompute records can contain the erased content or an ordinary digest of it and require producer-owned removal or retention handling. Logical audit continuity does not make old bytes safe to retain. A tombstone does not itself establish that all replicas have been purged.

Visibility coordination#

A tombstone may retain a non-content visibility declaration if the producer has verified it is safe to retain. Under visibility derivation, a deleted input remains in the dependency trace and continues to narrow visibility; omission fails closed to sealed. Removing content does not authorize widening access. Surface derives the visibility trace alongside the erasure result; hosts enforce the resulting restriction.

Source: docs/decisions/erasure-cascade.md