ConceptsExecution ModelReplay and recovery

Replay and recovery

These words get used for different operations. They are not substitutes.

The production-core paths re-apply recorded ledger patches. They do not re-run DSL rules, and they do not call payment providers again. The matrix and the sandbox-only commands are on Replay.

You want toOperationExternal effects
See what committedTimeline inspectionNone
See entity state at a past cursorHistorical entity readNone
Rebuild a projection table from committed eventsProjection rebuildNone. Handlers only
Try a change without touching the original forkFork from a cursorNone until you submit a new intent on the fork
Correct a workflowA new intent, including a repair intentWhatever that intent’s side effects do
Re-drive a failed webhook deliveryThe delivery worker’s own retryThe HTTP call can run again

Replaying a projection does not retry a charge. Submitting the intent again can, unless the intent id or your rules make the second submit a no-op.

causet forensics and causet recovery replay are sandbox tooling. They are not the supported production repair path. See What runs today?.


Where a commit can still be invisible

A successful sync response means the ledger and the entity snapshot for that cursor were committed. It does not mean every projection query can see it.

The projection worker applies the event later and, on that path, writes the visibility watermark in the same transaction as the row change. If that event never arrives, a token query stays 409 for as long as the min-cursor flag is on. The cursor recovery scan does not publish the missing event. See Consistency and concurrency.


Failures by component

ComponentWhat a caller should expect
Rule rejectionThe intent is rejected. No new commit.
Runtime or Postgres failure before commitThe intent does not commit. Retry only with the same idempotency key if you are unsure whether the commit landed.
Commit succeeded, projection worker has not appliedEntity read shows the new snapshot. A query can still be old. A token read is 409 until the watermark catches up, when the flag is on.
Kafka or the worker is downThe snapshot remains. Projection queries lag until the worker consumes.
Webhook delivery failsThe workflow commit is unchanged. Delivery retry can call the receiver again.

Next steps