What the Tape Remembers: A Post-Mortem Discipline for Crypto Agent Teams
Photo: engineer reviewing blockchain transaction data on multiple monitors in dark office, via thumbs.dreamstime.com
The Record That Survives and the Record That Does Not
A crypto agent that misprices a swap or halts halfway through a rebalance leaves two records behind. The first is public and permanent: calldata, state diffs, event logs, gas consumed, the exact block at which the position went wrong. The second lives inside the firm — the pager thread, the assumption that a particular oracle feed was healthy, the engineer who noticed a warning at 02:40 and decided it could wait until morning. That second record is the one that matters for the next deployment, and it is the one that evaporates within a week.
Cricket has a useful word for the discipline that avoids this. The wicketkeeper keeps the ledger of every ball: what was bowled, how it behaved, what the batter did. Nobody consults it during the over. It exists so that patterns become visible across a season. Autonomous agent operators need the same habit. The failure is the ball. The ledger is the post-mortem.
Why Conventional Incident Reviews Slip
Most teams do not lack good intentions; they lack a container. Engineering retrospectives borrowed from web operations assume a service that can be redeployed and a customer base that experiences an outage. Trading agents fail differently. They fail partially, profitably, or silently. A misconfigured slippage parameter may cost four basis points per trade for six weeks before anyone notices, and by then the incident has no clean start time, no alert, and no obvious owner.
Three pressures erode the practice: the speed of restoration, the discomfort of assigning responsibility, and the belief that on-chain data speaks for itself. It does not. A transaction hash tells you what executed; it does not tell you why the risk limit that should have blocked it was set to the wrong decimal place.
Reading the On-Chain Tape Properly
A competent review treats the chain as a primary source rather than a confirmation. That means examining the state diff before and after each call in the failing sequence, not only the reverting transaction. It means comparing oracle update timestamps against block timestamps to establish whether the agent acted on stale or fresh data. It means reconstructing mempool conditions, because a strategy that is sound in a quiet block is a different strategy in a contested one.
It also means reviewing the agent's decision log alongside the execution log. Where the two diverge — the agent intended one action and produced another — the defect is usually at a boundary: a data adapter, a rounding convention, a permission scope, or a signer that approved something the planner never requested.
Four Rules That Keep the Review Honest
Write it within seventy-two hours. Memory decays faster than logs. A review drafted three weeks later becomes a narrative shaped by the fix rather than the fault.
Separate timeline from judgment. The timeline is a factual artifact and should be defensible to a third party. Judgment belongs in a distinct section with named owners. Mixing them produces documents that are neither reliable nor candid.
Give every action item a name and a date. Items without owners are aspirations. A useful ledger has a closure column, and it is reviewed monthly by someone senior enough to be uncomfortable.
No closure without a test. If the remediation is a new pre-trade check, the review is not complete until a regression test, a simulation, or a canary deployment demonstrates that the check fires.
A Repeatable Template
A workable structure fits on two pages and expands as needed:
- Summary — three sentences a non-engineer can read.
- Impact — capital at risk, capital lost, customer exposure, duration of the degraded state.
- Timeline — UTC timestamps, on-call actions, alert firings, and the block heights involved.
- Technical reconstruction — the state diff walk-through and the divergence between intent and execution.
- Contributing conditions — the pre-existing weaknesses that made the failure possible, stated without moral framing.
- Detection — how the team learned, and how long that took relative to the harm.
- Remediation — owned, dated, and testable.
- Residual risk — what remains after remediation and who accepts it.
The fourth and eighth sections are the ones most often skipped and the ones most useful six months later.
The Compliance Dividend
US operators increasingly face questions that a good ledger answers cheaply. State examiners reviewing money transmission conduct, a board risk committee, an insurer underwriting an autonomous strategy, or outside counsel preparing a disclosure all want the same thing: evidence that the firm detects, records, and corrects its own errors. A file of dated, consistent reviews is far stronger than a policy document asserting that reviews occur.
There is a boundary worth respecting. A post-mortem is an internal improvement instrument, not a legal privilege. Counsel should be involved in deciding how reviews are stored, who may access them, and whether any portion is prepared at their direction. Blame-free internally does not mean consequence-free externally, and operators should not confuse the two.
Keeping the Ledger From Becoming Theater
Two failure modes are common. The first is ritual: reviews that are written, filed, and never read. The second is sprawl: forty action items, none prioritized, all abandoned by the next quarter. The remedy is cadence. Review a sample of near-misses weekly, publish a one-paragraph digest to the whole team, and track a small number of structural fixes rather than a large number of cosmetic ones.
The wicketkeeper does not consult the ledger mid-over. But a team that keeps it can tell you, with evidence, which balls it keeps dropping — and that is the difference between an operation that learns and one that simply restarts.