fix(story-mode): read right by a screen reader, and the last of review round 6

Accessibility (review6-c):
- A panel is named "Panel 2 of 7" and its caption is read once, as its
  content (it was the name and the content both).
- Balloons say who speaks, visually hidden ("Claude says: ", "You say: ",
  "Claude asks: ", "Notice: "); Save image leaves those words out.
- The overlay is named "Story Mode: <session>", the drawer by its kind and
  title ("Diff 2 files"), the final panel's chips by what they open, and
  the wire's panel labels are headings.
- While a file preview opened from a panel is up, the overlay is not
  aria-modal (the preview sits beside it), and is again once focus returns.
- The focus ring on a click region gets a light band under its dashes; on
  the loop's magenta halftone it vanished.

From review6-b:
- "Mission complete!" no longer shows while a helper or a background
  command is still out ("To be continued…").
- A background command's drawer says "Started in the background…", then
  "Finished in the background, exit code 0…", instead of the launch note
  meant for Claude ("do not poll that file").
- `sed -n '5,25p' README.md` is a printed file, offered in the drawer.
- A report turn no longer counts the helper it answers as one it started.
- A helper's `cd /work/x && ls` keeps its folder as ".".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-10-18 13:51:11 +02:00
1 parent 89c222086a
commit 6e45831909
7 files changed
+83 -17

No files matched your search

@@ -104,7 +104,7 @@
"filesChanged": 0,
"added": 0,
"removed": 0,
"helpers": 1,
"helpers": 0,
"helpersRunning": 0,
"panels": [
{
@@ -141,7 +141,7 @@
"kind": "complete",
"ok": null,
"story": "Done in 21 seconds.",
"director": "turn_duration · 21 s · 2 tool calls · 1 helper",
"director": "turn_duration · 21 s · 2 tool calls",
"balloon": "I built rename_by_date.sh, the helper agent wrote README.md, and the script passed every test I ran on sample files in samples/. Nothing is committed because this folder isn't a git repository, even though the session context said it was.",
"tests": null,
"roundsOk": null,
@@ -117,7 +117,7 @@
"filesChanged": 0,
"added": 0,
"removed": 0,
"helpers": 1,
"helpers": 0,
"helpersRunning": 0,
"panels": [
{
@@ -144,7 +144,7 @@
"kind": "complete",
"ok": null,
"story": "Done in 9 seconds.",
"director": "turn_duration · 9 s · 1 tool call · 1 helper",
"director": "turn_duration · 9 s · 1 tool call",
"balloon": "The background helper has finished README.md, and I've checked its work.",
"tests": null,
"roundsOk": null,