fix(story-mode): "the tests pass, then Claude starts a git repository and saves the work"

One "and" fewer where a test run's commit is the first save of a new
repository.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-10-18 17:17:23 +02:00
1 parent 30b907860d
commit 713978eb81
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2713,7 +2713,7 @@ function decorate(draft: DraftPanel, events: StoryEvent[], turn: StoryTurn, inde
if (saved) {
director += ` · ${plural(saved, 'commit')}`;
if (ok)
story = `${story.slice(0, -1)}, and Claude ${startsRepoAt(draft.events, events) ? 'starts a git repository and ' : ''}saves the work${
story = `${story.slice(0, -1)}, ${startsRepoAt(draft.events, events) ? 'then Claude starts a git repository and' : 'and Claude'} saves the work${
checks.some((e) => e.ships === 'push') ? ' and sends it up' : ''
}.`;
}