# Exercises — Payment State Machine & UNKNOWN

1. Add idempotency key and a finality-aware CONFIRMED stage. Define replacement and dropped-transaction policies.
2. Write a failure test that fails before the fix and passes afterward.
3. Describe production persistence and concurrency requirements.
