fix(story-mode): "Done, with a note" not for how things were before, nor "still open" as a verb

A sample of the 308 real pages titled "Done, with a note" read as open
work in about nine of ten. The rest were history ("Before, that early
idle could end a wait…", "used to") or "still open" as a verb ("JSON
files still open the live log viewer, as intended"). Neither counts as
something not done any more, and a history sentence is no open problem
either.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-10-18 16:50:55 +02:00
1 parent 1dd167ebe0
commit 9ffe57709e
2 files changed
+14 -2

No files matched your search

+5
View File
@@ -1041,6 +1041,11 @@ describe('buildStoryPage', () => {
'The memory warning now fires at 90 percent.',
])
expect(['problem'], closed).not.toContain(keyKindOf(closed));
// How things were before, and "still open" as a verb, are no open work.
expect(keyKindOf('Before, that early idle could end a wait while the turn was still running.')).toBeUndefined();
expect(keyKindOf('The old menu used to break when the list was empty.')).toBeUndefined();
expect(keyKindOf('JSON files still open the live log viewer, as intended.')).toBeUndefined();
expect(keyKindOf('Two reviews are still open.')).toBe('pending');
// "Left out" is open work, unless Claude chose it.
expect(keyKindOf('The README update is left out for now.')).toBe('pending');
expect(