Record and read
Read a session
See a session at a glance, open the turn that matters, and read its labels.
Reading a session takes two moves: glance to see its shape, then open the part that matters. Your agents use the same two moves, through their skill.
wisdom glance # every recorded session, newest firstwisdom glance latest # one session: its shape and every turnwisdom open t2 --capture latest # turn 2, wholeName a session by its full ID, by its first 8 or more characters, or as latest (the newest
session with a turn). Every command finds .wisdom/ from the folder you’re in, like git
finds .git.
To start from a commit instead, see Read a commit.
Positions
Section titled “Positions”Everything in a session has a short address. A glance shows them; open takes them.
| Position | What it opens |
|---|---|
t3 |
Turn 3: your third prompt and everything the agent did until it answered |
t3/c2 |
The second tool call of turn 3, its full input and output |
a1 |
The first subagent, laid out like a turn |
a1/c2 |
A tool call of that subagent |
outside |
Calls and file changes outside any turn |
p1, p2… label the file changes inside a turn. They aren’t addresses: open the turn or the
call to see them.
Opening a turn
Section titled “Opening a turn”A turn comes back in recorded order: thinking, each call with its result, the reply, and then all the turn’s file changes together, as diffs. An example:
❯ wisdom open t2 --capture latestt2 · session 3f9c2a71 · version 412 · 168,204 tokensin fix it and add a test
thinking redacted (it happened; its text was not recorded)c1 Edit src/totals.ts · ok · 12 ms · → p1 input and output repeat p1 · open t2/c1 to read themc2 Write test/totals.test.ts · ok · 9 ms · → p2 input and output repeat p2 · open t2/c2 to read themc3 Bash · failed · 1.8 s input {"command":"npm test -- totals"} output Exit code 1 ✖ rounds a 40-line invoice once (2.1 ms) expected 1204.37, received 1204.3656c4 Edit src/totals.ts · ok · 10 ms · → p3 input and output repeat p3 · open t2/c4 to read themc5 Bash · ok · 1.6 s input {"command":"npm test -- totals"} output { "stdout": "✔ rounds a 40-line invoice once (1.9 ms)", "stderr": "", "interrupted": false, "isImage": false, "noOutputExpected": false }reply Totals now round once, after the sum. A new test covers a 40-line invoice.
p1 src/totals.ts · modify · +1 −1 · observed during c1 --- src/totals.ts +++ src/totals.ts @@ -6,5 +6,5 @@ // Prices are in the invoice's currency.
export function invoiceTotal(lines: Line[]): number { - return lines.reduce((sum, l) => sum + round(l.qty * l.price), 0); + return lines.reduce((sum, l) => sum + l.qty * l.price, 0); }p2 test/totals.test.ts · create · +8 −0 · observed during c2 --- /dev/null +++ test/totals.test.ts @@ -0,0 +1,8 @@ +import assert from 'node:assert/strict'; +import test from 'node:test'; +import { invoiceTotal } from '../src/totals.js'; + +test('rounds a 40-line invoice once', () => { + const lines = Array.from({ length: 40 }, () => ({ qty: 3, price: 10.03638 })); + assert.equal(invoiceTotal(lines), 1204.37); +});p3 src/totals.ts · modify · +2 −1 · observed during c4 --- src/totals.ts +++ src/totals.ts @@ -6,5 +6,6 @@ // Prices are in the invoice's currency.
export function invoiceTotal(lines: Line[]): number { - return lines.reduce((sum, l) => sum + l.qty * l.price, 0); + const raw = lines.reduce((sum, l) => sum + l.qty * l.price, 0); + return round(raw); }
complete · 61 linesEach piece of evidence is shown once. An edit’s input is its diff, so the call points to
p1 instead of repeating it. A file the agent read is listed by size; open the call to read it.
The same text everywhere
Section titled “The same text everywhere”The terminal prints the exact text your agents read: plain, uncoloured and unfolded. To keep a turn, send it to a file:
wisdom open t2 --capture latest > turn.txtReading the labels
Section titled “Reading the labels”These labels say how much the record can tell you:
| Label | What it means |
|---|---|
observed during c1 |
The file changed while that call ran. Timing, not proof the call made it. |
external-or-unknown |
The file changed while no tool was running: you, your editor, another process. |
reported-by-harness |
The agent’s own account of a change Wisdom didn’t observe. |
thinking redacted |
The agent thought, but its text wasn’t recorded (Claude Code omits it; Codex encrypts it). |
not recorded |
A gap in the recording, with the reason. |
no result recorded |
The call never reported back. Not the same as success. |
in (harness notice) |
The agent’s own program woke it, such as a finished background command. Nobody asked this. |
script step |
Codex’s own scripting (exec, wait); the calls beside it are the real actions. |
pending |
The call has no result yet, and the session is still recording. |
in worktree bp3 (branch x) |
The path is inside that git worktree. |
cloned from …, continues … |
The session is a clone, or took a handoff. Earlier work is in the other session. |
ok |
The tool reported success. Not proof the code is right. |