diff --git a/src/story-mode.ts b/src/story-mode.ts index aac6f421..0fd52684 100644 --- a/src/story-mode.ts +++ b/src/story-mode.ts @@ -291,7 +291,7 @@ const KEY_KINDS: Array<[StoryKeyKind, RegExp]> = [ [ 'problem', // "bug-fixing" and "cron-broken-network" are names, and a bare "warning" is often one too. - /\b(problems?|bugs?(?!-| fix)|(? = [ [ 'pending', // "Left out" is open work, unless Claude chose it ("left out on purpose", "rather than guessed"). - /(? { 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'); + expect(keyKindOf("I sent the request, but the box hasn't answered yet.")).toBe('pending'); + expect(keyKindOf('One thing worth flagging: the PR went conflicting because of my push.')).toBe('problem'); // "Left out" is open work, unless Claude chose it. expect(keyKindOf('The README update is left out for now.')).toBe('pending'); expect(