Files
Codeman/test/fixtures/story-corpus/web-page-node-test.expected.json
T
Codeman maintainer f464548541 test(story-mode): real sessions as a regression corpus
Nine transcripts from the review rounds, each a real Claude Code worker
building a small program (a Python CLI with a fix loop, a web page with
node:test, a bash script with a background helper, a long turn with a
prompt added mid-turn, teammates then an interrupt, a question then tests
first then a push, a text plan with a scratch dry run, /compact then plan
mode, a test failed on purpose). Each is cut down to the lines and fields
the reducer reads, with every path, user name and email rewritten and the
file contents of Reads left out; replaying them before and after gives
the same pages.

The expected file beside each pins every page (panel kinds, captions,
balloons, counts), so a change that alters a story fails with a diff of
exactly what changed; STORY_CORPUS_UPDATE=1 regenerates them. The beats
the reviews were about are also stated outright.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-18 11:45:41 +02:00

102 lines
2.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[
{
"prompt": "Build a tiny single-page pomodoro timer in this folder: index.html with inline CSS, timer.js exporti",
"origin": "human",
"complete": true,
"interrupted": false,
"durationMs": 159207,
"toolCalls": 10,
"filesChanged": 3,
"added": 236,
"removed": 0,
"helpers": 0,
"helpersRunning": 0,
"panels": [
{
"kind": "mission",
"ok": null,
"story": "You give Claude a job.",
"director": "Prompt · 56 words",
"balloon": "Build a tiny single-page pomodoro timer in this folder: index.html with inline CSS, timer.js exporting the timer logic as plain functions, and timer.test.mjs using node:test that covers start, pause and reset; run the t…",
"tests": null,
"events": 1
},
{
"kind": "investigate",
"ok": null,
"story": "Claude reads 2 files to find its way around.",
"director": "Bash ×2 · ls -la && git status 2>&1 | head; git log --oneline 2>&1 |…",
"balloon": null,
"tests": null,
"events": 2
},
{
"kind": "run",
"ok": null,
"story": "Claude works in the terminal.",
"director": "Bash · grep -oE '\"(permissions|env|allow|deny)\"|[A-Za-z_]*(TOKEN|K… · 1 error",
"balloon": null,
"tests": null,
"events": 1
},
{
"kind": "backup",
"ok": null,
"story": "Claude asks the advisor for a second opinion.",
"director": "Advisor · advisor",
"balloon": null,
"tests": null,
"events": 1
},
{
"kind": "fix",
"ok": null,
"story": "Claude writes 3 new files.",
"director": "Write ×3 · timer.js +42 · timer.test.mjs +74 · index.html +120",
"balloon": null,
"tests": null,
"events": 3
},
{
"kind": "check",
"ok": true,
"story": "The tests pass.",
"director": "node --test 2>&1 → ok · 7 passed",
"balloon": "All 7 tests pass, with no module-type warning.",
"tests": {
"passed": 7,
"failed": 0
},
"events": 1
},
{
"kind": "save",
"ok": true,
"story": "Claude saves the work.",
"director": "git commit -q -m \"feat: add pomodoro timer with tests\" -m \"…",
"balloon": null,
"tests": null,
"events": 1
},
{
"kind": "backup",
"ok": null,
"story": "Claude asks the advisor for a second opinion.",
"director": "Advisor · advisor",
"balloon": null,
"tests": null,
"events": 1
},
{
"kind": "complete",
"ok": null,
"story": "Done in 3 minutes.",
"director": "turn_duration · 2 min 39 s · 10 tool calls · 3 files changed",
"balloon": "I built the pomodoro timer.",
"tests": null,
"events": 0
}
]
}
]