Reversibility — undoing a mistake

Most mutations can be reverted from /audit. Reverts append a fresh forward event so the chain is intact.

Updated 2026-04-25

Kodori treats reversibility as a first-class invariant. From /audit, find the offending event and click "Revert" — Kodori dispatches the inverse tool (a permission.granted reverts to revokePermission, a collection.member-added reverts to removeDocumentFromCollection, etc.).

Important properties:

- the revert is a NEW event, not an edit. The original event stays in the chain. - revert events themselves can be reverted, in case you reverted by accident. - inverse tools enforce the same permission rules as forward tools — only people who could have done the action can undo it.

Tombstoned (soft-deleted) documents are recoverable inside the retention window — the bytes stay in object storage, only the document_objects.status flips. Hard-purge happens later behind a separate retention sweep with a longer grace period.