Skip to content

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.

Terminal
wisdom glance # every recorded session, newest first
wisdom glance latest # one session: its shape and every turn
wisdom open t2 --capture latest # turn 2, whole

Name 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.

Everything in a session has a short address. A glance shows them; open takes them.

Glance, then open: wisdom glance latest lists a session’s turns (t1, t2, t3), subagents (a1) and changes outside any turn. wisdom open t2 shows turn 2 in order: the prompt, each tool call, the reply and the diffs. wisdom open t2/c3 shows one call whole: its status, full input and full output.

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.

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:

~/invoice-api
❯ wisdom open t2 --capture latest
t2 · session 3f9c2a71 · version 412 · 168,204 tokens
in 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 them
c2 Write test/totals.test.ts · ok · 9 ms · → p2
input and output repeat p2 · open t2/c2 to read them
c3 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.3656
c4 Edit src/totals.ts · ok · 10 ms · → p3
input and output repeat p3 · open t2/c4 to read them
c5 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 lines

Each 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 terminal prints the exact text your agents read: plain, uncoloured and unfolded. To keep a turn, send it to a file:

Terminal
wisdom open t2 --capture latest > turn.txt

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.