Files
Codeman/test/fixtures/story-corpus/web-page-node-test.expected.json
T
Codeman maintainer b98deebafc feat(story-mode): a plain Simple caption on every panel
Story Mode gets a third reading level for someone who has never seen a
terminal (a parent, a manager). Every panel now carries caption.simple:
one short sentence in everyday words, with no file name, command, tool
name, flag or jargon. The sentences are templates only, so nothing from
the transcript (a path, a commit message, a branch) can reach them, and
they are written from the same facts as the story caption: a failed
check never reads as a pass, a failure you asked for says so, and a
check that fails after one passed is a failure again.

The final panel's simple caption is a plain summary: how the turn ended
and roughly how long it took, how many files changed, whether the checks
pass, whether the work is saved (only claimed "not saved" where saving
is in play: you asked for it, or the turn used git), and what the reader
must not miss (a problem left, a note, a question for them).

test/story-plain-words.ts is the guard: the corpus test runs it over
every panel of every page of the eleven sessions, and the unit tests
cover the honest endings (failed check, catch, note, question, stopped,
not done, to be continued, done for now) and the guard itself. The
corpus expectations only gain "simple" lines.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 05:17:31 +02:00

118 lines
4.3 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": 8,
"filesChanged": 3,
"added": 236,
"removed": 0,
"helpers": 0,
"helpersRunning": 0,
"finishedLater": 0,
"openNote": "catch",
"asks": false,
"panels": [
{
"kind": "mission",
"ok": null,
"story": "You give Claude a job.",
"simple": "You give Claude a job.",
"unaskedSave": false,
"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 tests with node --test until they pass, then git init and commit everything with a short message, with no remote and no push.",
"tests": null,
"roundsOk": null,
"printed": null,
"events": 1
},
{
"kind": "investigate",
"ok": null,
"story": "Claude reads CLAUDE.md.",
"simple": "Claude reads a file from the project.",
"unaskedSave": false,
"director": "Bash ×2 · ls -la && git status 2>&1 | head; git log --oneline 2>&1 |…",
"balloon": null,
"tests": null,
"roundsOk": null,
"printed": null,
"events": 2
},
{
"kind": "run",
"ok": null,
"story": "Claude looks a few things up; the last one finds a git setting that is not set, which is no error.",
"simple": "Claude looks something up and finds nothing, which is fine.",
"unaskedSave": false,
"director": "Bash · grep -oE '\"(permissions|env|allow|deny)\"|[A-Za-z_]*(TOKEN|K… · 1 error",
"balloon": null,
"tests": null,
"roundsOk": null,
"printed": [
"['hooks'] {'hooks': ['Notification', 'Stop', 'UserPromptSubmit', 'SubagentStop', 'Teammat…",
"…@…"
],
"events": 1
},
{
"kind": "fix",
"ok": null,
"story": "Claude writes 3 new files.",
"simple": "Claude writes 3 new files.",
"unaskedSave": false,
"director": "Write ×3 · timer.js +42 · timer.test.mjs +74 · index.html +120 · after 1 second opinion",
"balloon": null,
"tests": null,
"roundsOk": null,
"printed": null,
"events": 4
},
{
"kind": "check",
"ok": true,
"story": "The tests pass.",
"simple": "Claude checks the work: everything passes.",
"unaskedSave": false,
"director": "node --test 2>&1 → ok · 7 passed",
"balloon": "All 7 tests pass, with no module-type warning.",
"tests": {
"passed": 7,
"failed": 0
},
"roundsOk": null,
"printed": null,
"events": 1
},
{
"kind": "save",
"ok": true,
"story": "Claude starts a git repository and saves the work: \"add pomodoro timer with tests\".",
"simple": "Claude saves the work.",
"unaskedSave": false,
"director": "git commit -q -m \"feat: add pomodoro timer with tests\" -m \"… · then 1 second opinion",
"balloon": null,
"tests": null,
"roundsOk": null,
"printed": null,
"events": 2
},
{
"kind": "complete",
"ok": null,
"story": "Done in 3 minutes.",
"simple": "Done in about 3 minutes. 3 files changed. The checks pass. The work is saved. Claude says a problem is left: read its message.",
"unaskedSave": false,
"director": "turn_duration · 2 min 39 s · 8 tool calls · 3 files changed",
"balloon": "I built the pomodoro timer. All 7 tests pass under node --test, and everything is committed on main as c4e7b0b feat: add pomodoro timer with tests. Opening the page: it won't work if you double-click index.html. Serve the folder instead, for example with python3 -m http.server in the folder, then open http://localhost:8000. I didn't open it in a browser; I only checked that its script is valid.",
"tests": null,
"roundsOk": null,
"printed": null,
"events": 0
}
]
}
]