Post retraction records v1

A newly accepted retraction retains three files in the same commit that deletes the target post and its signature:

  • records/post-retractions/post-retraction-<post-id>.txt: the exact signed request.

  • The request path plus .asc: its exact detached ASCII-armored OpenPGP signature.

  • records/post-retraction-acceptances/post-retraction-<post-id>.txt: local acceptance.

The request uses Record-ID, Created-At, Target-ID, Operation: retract and Author-Identity-ID, with Actor-Identity-ID and Retraction-Class: operator for an operator action. Target-ID names the record being retracted; Record-ID is post-retraction- plus that ID. Author-Identity-ID is the target's author. Its body is empty. Acceptance never rewrites these signed bytes or adds unsigned headers to them.

text
Record-ID: post-retraction-reply-001
Created-At: 2026-11-13T12:00:00Z
Target-ID: reply-001
Operation: retract
Author-Identity-ID: openpgp:0168ff20eb09c3ea6193bd3c92a73aa7d20a0954

Target header compatibility

Requests signed before 2026-11-13 name the target Post-ID instead of Target-ID. They remain valid and are read as stored; their signed bytes are never rewritten. A request uses one of the two headers, never both, and a request with neither is rejected. New requests always use Target-ID.

The target's record family is read from its ID: posts may not use the post-reaction- or thread-label- prefixes, which belong to reactions.

Reaction targets

Since 2026-11-14, Target-ID may name a like: a reaction record in records/post-reactions/ or records/thread-labels/ whose only tag is like. Author-Identity-ID is the liker; an operator retracting someone else's like adds Actor-Identity-ID and Retraction-Class: operator, as for posts. A request that names a reaction must use Target-ID; one that names it with Post-ID is rejected. Acceptance removes the like and its signature. Other reactions are not retractable yet.

The receipt uses the shared removal acceptance v1 contract, with Format: removal-acceptance-v1, Operation: delete and Authority: signed-retraction. It retains post/conversation structure, accepted actor/time, source hash when available, request/signature hashes and retraction class/display attribution. Signed receipts have no label blocks; separate local operator receipts retain label bindings and the common reader combines them. Request target, actor, author, class and acceptance time must match the receipt. No deleted prose or cleanup state is retained. Invalid or unknown fields and mismatched signed evidence are rejected.

A receipt is trusted local acceptance, not a transferable authorization claim. Hashes bind evidence but do not confer authority. The writer verifies the signed request and action-time permissions; imports cannot manufacture acceptance by supplying a receipt. Missing or mismatched companion evidence is not an accepted retraction. Existing accepted deletions prevent imported old content reappearing.

Previous retraction formats, including the separate Version: 1 text receipt, are unsupported and are not migrated. Do not restore deleted prose to upgrade them. Retry/recovery for new records must retain a coherent evidence set; a post-commit refresh failure does not undo deletion. Previous application versions cannot read this shared format.

Finalize returns record_path, signature_path and acceptance_path. An exact signed-action replay remains retryable after prepared-token cleanup; changed requests or signatures cannot reuse that acceptance.