# Event projection replay worksheet

Blank working document. Replace placeholders with your own evidence; an empty field is unknown, not a passing result.

Owner: [fill in]
Source revision: [fill in]
Environment: [fill in]
Evidence date: [fill in]

## Frozen projection and target

Replay owner/data owner: ___
Projection revision and fixture hashes: ___
Disposable state store/sink and allowed writes: ___
Disabled external effects and verification: ___
Runner/version and supported clock/crash controls: ___

## Domain and time contract

Event identity and conflicting-payload rule: ___
Valid entity/causal ordering: ___
Event time, arrival/processing time and timezone: ___
Lateness boundary and watermark meaning if used: ___
Correction rule and references: ___
Deduplication/state retention: ___
Independent report paths and unresolved decisions: ___

## Frozen sequence expectations

| Sequence/hash | Events and arrival order | Time/control schedule | Expected intermediate/final state | Rule source | Expected convergence |
| --- | --- | --- | --- | --- | --- |
| ___ | ___ | ___ | ___ | ___ | ___ |
Unrepresentable or excluded scenarios: ___

## Replay observations

| Case | Initial state/checkpoint | Command and exit | Output/state receipt | Expected comparison | Status |
| --- | --- | --- | --- | --- | --- |
| ___ | ___ | not run | ___ | ___ | unrun |
Duplicate replay into populated state: not run
Restart versus uninterrupted run: not run
Unexpected transitions and source event references: ___

## Recovery and handoff

Failure/stop trigger and run ID: ___
Retained failed state/checkpoint evidence: ___
Baseline state, checkpoint and deduplication snapshot: ___
Disposable restore/recreate command and exit: not run
Baseline rerun evidence: not run
Proposed change and owner: ___
Separately authorised production action or untested recovery limit: ___

## Boundaries

- This recipe examines projection state and data correctness in an existing event-oriented system. It does not choose event sourcing for a new product or design background-job retry side effects.

- Both profiles target Claude Code. Verify frontmatter/tool mappings and restrict host grants to the approved fixtures and disposable stores. They provide instructions, not an event broker, replay runner or permission boundary; use manual file handoffs and leave unsupported cases unrun.

- Confirm sinks and callbacks cannot publish events, send notifications or call production services during replay. Use credentials limited to the disposable target if credentials are needed, and retain no live tokens or unnecessary personal data in receipts.

- Ordering and exactly-once behaviour are not assumed. An event-time watermark, where used, expresses the engine's progress estimate; record the actual late-data rule and runner capability instead of borrowing a different engine's guarantees.

- Stop on unknown event identity, undefined correction semantics, an unconfirmed target or a failed invariant. Retention/deletion policy takes precedence over the profile's blanket never-delete-event advice; do not modify retained source events as a test repair.

- Recovery needs a matched projection state and checkpoint, including deduplication state. A tested disposable restore does not prove production recovery; retain that limitation and the exact production action/owner in the handoff.

Workflow: https://undominated.ai/workflows/#replay-a-late-and-duplicate-event-stream

Original worksheet: MIT. Linked resources retain their own licences and setup requirements.
