mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-12-02 16:59:32 +01:00
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>
151 lines
5.5 KiB
JSON
151 lines
5.5 KiB
JSON
[
|
||
{
|
||
"prompt": "Build a tiny Python command-line tool in this folder that turns text into URL slugs. Before doing an",
|
||
"origin": "human",
|
||
"complete": true,
|
||
"interrupted": false,
|
||
"durationMs": 297209,
|
||
"toolCalls": 18,
|
||
"filesChanged": 6,
|
||
"added": 220,
|
||
"removed": 1,
|
||
"helpers": 0,
|
||
"helpersRunning": 0,
|
||
"finishedLater": 0,
|
||
"openNote": "note",
|
||
"asks": false,
|
||
"panels": [
|
||
{
|
||
"kind": "mission",
|
||
"ok": null,
|
||
"story": "You give Claude a job.",
|
||
"simple": "You give Claude a job.",
|
||
"unaskedSave": false,
|
||
"director": "Prompt · 121 words",
|
||
"balloon": "Build a tiny Python command-line tool in this folder that turns text into URL slugs. Before doing anything else, ask me with your AskUserQuestion tool whether the tool should be named slugify or kebab (offer exactly those two options). After my answer, first write me your plan as a short numbered list, then write the pytest tests FIRST (at least 8 tests in tests/), run them with python3 -m pytest…",
|
||
"tests": null,
|
||
"roundsOk": null,
|
||
"printed": null,
|
||
"events": 1
|
||
},
|
||
{
|
||
"kind": "ask",
|
||
"ok": null,
|
||
"story": "Claude asks you, and you answer.",
|
||
"simple": "Claude asks you a question, and you answer.",
|
||
"unaskedSave": false,
|
||
"director": "AskUserQuestion · answer: kebab",
|
||
"balloon": null,
|
||
"tests": null,
|
||
"roundsOk": null,
|
||
"printed": null,
|
||
"events": 1
|
||
},
|
||
{
|
||
"kind": "investigate",
|
||
"ok": null,
|
||
"story": "Claude looks around the project.",
|
||
"simple": "Claude looks around the project.",
|
||
"unaskedSave": false,
|
||
"director": "Bash ×2 · ls -la && git status 2>&1 | head -5; git rev-parse --show-t…",
|
||
"balloon": null,
|
||
"tests": null,
|
||
"roundsOk": null,
|
||
"printed": null,
|
||
"events": 2
|
||
},
|
||
{
|
||
"kind": "loop",
|
||
"ok": true,
|
||
"story": "At first the tests don't even load, as you asked; the second run passes.",
|
||
"simple": "At first the checks can't even start, as you asked; then they pass.",
|
||
"unaskedSave": false,
|
||
"director": "2 checks · 4 edits · +150 · last: ok · after 1 second opinion",
|
||
"balloon": "All 19 test cases pass (13 test functions), and ruff check and ruff format both come back clean.",
|
||
"tests": {
|
||
"passed": 19,
|
||
"failed": 0
|
||
},
|
||
"roundsOk": [
|
||
false,
|
||
true
|
||
],
|
||
"printed": null,
|
||
"events": 7
|
||
},
|
||
{
|
||
"kind": "fix",
|
||
"ok": null,
|
||
"story": "Claude writes README.md and .gitignore and changes CLAUDE.md.",
|
||
"simple": "Claude writes 2 files and changes a file.",
|
||
"unaskedSave": false,
|
||
"director": "Write ×2 · Edit · README.md +54 · .gitignore +11 · CLAUDE.md +5 −1",
|
||
"balloon": null,
|
||
"tests": null,
|
||
"roundsOk": null,
|
||
"printed": null,
|
||
"events": 3
|
||
},
|
||
{
|
||
"kind": "run",
|
||
"ok": null,
|
||
"story": "Claude works in the terminal.",
|
||
"simple": "Claude runs some steps on the computer.",
|
||
"unaskedSave": false,
|
||
"director": "Bash ×3 · python3 src/kebab.py \"Hello, World!\" && python3 src/kebab.p…",
|
||
"balloon": "Now I'll run each documented README command by hand and check the git identity:",
|
||
"tests": null,
|
||
"roundsOk": null,
|
||
"printed": [
|
||
"Initialized empty Git repository in /work/cases/story-r2-c/.git/",
|
||
"A .gitignore",
|
||
"A CLAUDE.md"
|
||
],
|
||
"events": 3
|
||
},
|
||
{
|
||
"kind": "save",
|
||
"ok": true,
|
||
"story": "Claude starts a git repository, saves the work: \"add kebab CLI that turns text into URL slugs\" and copies it to remote.git, a folder on this computer, but a check after that fails; Claude fixes it, and the check passes next.",
|
||
"simple": "Claude saves the work, but a check after that fails; Claude fixes it.",
|
||
"unaskedSave": false,
|
||
"director": "git commit -q -F - · git push -u origin main · 1 error",
|
||
"balloon": null,
|
||
"tests": null,
|
||
"roundsOk": null,
|
||
"printed": null,
|
||
"events": 2
|
||
},
|
||
{
|
||
"kind": "check",
|
||
"ok": true,
|
||
"story": "The tests pass in a fresh copy made from remote.git.",
|
||
"simple": "Claude checks the work: everything passes.",
|
||
"unaskedSave": false,
|
||
"director": "python3 -m pytest -q -p no:cacheprovider) → ok · 19 passed · then 1 second opinion",
|
||
"balloon": null,
|
||
"tests": {
|
||
"passed": 19,
|
||
"failed": 0
|
||
},
|
||
"roundsOk": null,
|
||
"printed": null,
|
||
"events": 2
|
||
},
|
||
{
|
||
"kind": "complete",
|
||
"ok": null,
|
||
"story": "Done in 5 minutes.",
|
||
"simple": "Done in about 5 minutes. 6 files changed. The checks pass. The work is saved. Claude left you a note: read its message.",
|
||
"unaskedSave": false,
|
||
"director": "turn_duration · 4 min 57 s · 18 tool calls · 6 files changed",
|
||
"balloon": "I've built the kebab slug tool in this folder, committed it, and pushed it to the new bare repo remote.git. If you want a different author, run git commit --amend --reset-author and push again. Not tested: the README says pip install . gives you a kebab command.",
|
||
"tests": null,
|
||
"roundsOk": null,
|
||
"printed": null,
|
||
"events": 0
|
||
}
|
||
]
|
||
}
|
||
]
|