Memory & stateComputer agent

Action ledger (check before acting)

Writes down every payment before and after making it, so nothing happens twice.

What it is
Before an irreversible action the agent records the intent ("pay INV-1042, ₹18,400"); after it, the result (receipt number). On resume it reads the ledger and checks the real system ("is INV-1042 already paid?") before acting again.
When to use it
  • Any irreversible action: payments, sending, deleting, publishing
When to skip it
  • Read-only tasks
Why (the trade-off)
Checkpoints can't close the gap between doing something and saving that you did it. The ledger plus a state check can.
Where it sits
Memory layer, wrapped around side-effecting steps.
What it needs first
What can be added to it
  • pairs withApproval gatethe ledger is also the record of what a person approved
Effect of adding it
  • cost —
  • latency ↑
  • reliability ↑
  • safety ↑↑
Risks it handles
  • A retry repeats a payment · full

depth 4+1 production note with numbers.