Bill d241a70f74 Fix cross-project targetFiles contamination in generate_taskitems
Two bugs caused taskitems to emit constcad/README.md and hivemind/README.md
as targetFiles regardless of workspace:

1. Negation blindness: acceptance criteria like "no constcad, no hivemind
   paths" were being parsed as cross-project repo signals. Added
   isPrecededByNegation() helper and skip acceptance-criteria anchor entirely
   in the repo signal scan — those sections describe what to check, not what
   to target.

2. Wrong fallback order: cross-project targets were tried before workspace
   targets. Swapped the order so inferWorkspaceTaskTargets and
   inferWorkspaceFallbackTargets run first; cross-project is now last resort
   only when the workspace itself has nothing.

Verified: sprint 02 whimptk taskitem run now emits correct whimptk-local
paths (include/whimptk/InterfaceRequirements.h, src/InterfaceRequirements.cpp,
etc.) with 0 escalations and executionSpecificityScore 75-90.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 14:03:06 -06:00
2026-02-10 08:02:24 -07:00
2026-02-08 16:31:20 -07:00
Description
No description provided
7.2 MiB
Languages
JetBrains MPS 100%