Use Session History as Primary Evidence

When something went wrong — or right — in a prior run, the session transcript is the primary evidence; reading it is the first act of diagnosis, not a fallback after other approaches fail.

What it is

When a system behaves unexpectedly, the immediate instinct is to look at the current state and reason forward: inspect the output, check the config, re-run the command. This is hypothesis-first diagnosis — constructing a model of what might have happened and then looking for confirming evidence. Session history inverts this: the transcript of what actually happened already exists. The model's reasoning, the tool calls it made, the outputs it received, the decisions it took and the context in which it took them — all of this is recorded, available, and deterministic. Reading it is not archaeology in the pejorative sense; it is reading the primary source. A session that ended in failure contains the failure event, its immediate context, and the chain of decisions that led to it. A session that succeeded unexpectedly contains the same. Treating session history as primary evidence means making transcript reading the first act of diagnosis for any question about a past run, not something attempted after other approaches fail. The record is more reliable than reconstruction from current state, faster than reproduction from scratch, and more informative than any hypothesis about what probably happened.

When to reach for it

When NOT to

Exemplars

Related