mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-14 02:29:33 +01:00
fix(story-mode): in a turn a helper's report started, looking around is checking what came back
From review round 12: after a helper reported back, Claude's `git log`, `git show --stat` and a diff of the README example against real output read "Claude looks around the project". In a turn a report started, a look that names no file now reads "Claude checks the work that came back." Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
f6c540276c
commit
b0898b5441
3 files changed
+9
-2
No files matched your search
+3
-1
@@ -2595,7 +2595,9 @@ function decorate(draft: DraftPanel, events: StoryEvent[], turn: StoryTurn, inde
|
||||
? 'Claude searches the code.'
|
||||
: savedBefore && evs.every((e) => e.tool === 'Bash' && GIT_LOOK.test(e.label.trim()))
|
||||
? 'Claude checks what it saved.'
|
||||
: 'Claude looks around the project.';
|
||||
: checking
|
||||
? 'Claude checks the work that came back.'
|
||||
: 'Claude looks around the project.';
|
||||
// A tool lookup's query (`select:EnterPlanMode,ExitPlanMode`) means nothing to a reader.
|
||||
if (evs.every((e) => e.tool === 'ToolSearch')) panel.notes = [];
|
||||
break;
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
{
|
||||
"kind": "investigate",
|
||||
"ok": null,
|
||||
"story": "Claude looks around the project.",
|
||||
"story": "Claude checks the work that came back.",
|
||||
"unaskedSave": false,
|
||||
"director": "Bash · git log --oneline && git status --short && git show --stat…",
|
||||
"balloon": null,
|
||||
|
||||
@@ -216,6 +216,11 @@ describe('Story Mode on real sessions', () => {
|
||||
expect(marked('question-tests-first-push')).toEqual([]);
|
||||
});
|
||||
|
||||
it('in a turn a helper report started, looking around is checking what came back (round 12)', () => {
|
||||
const [, report] = pagesOf('text-plan-dry-run-helper');
|
||||
expect(report.panels.map((p) => p.story)).toContain('Claude checks the work that came back.');
|
||||
});
|
||||
|
||||
it('a helper reporting back is heard in its own words, not only "finished" (round 9)', () => {
|
||||
const [, readme, extra] = pagesOf('background-helpers-reports');
|
||||
expect(readme.panels[0].balloon).toBe(
|
||||
|
||||
Reference in new issue
Block a user