Commit 21fc75b
committed
post-step: drop broad @\w+ from isNeedsInfoComment regex
The @\w+ pattern matched @ignore, @test, @OverRide etc. in backticked
code references inside plain-text comments. This caused the post-step
to misclassify an agent's 'Deleted the file...' claim on #483 as
agent/needs-info, because the comment text mentioned @ignore and @test
when describing why the class was dead.
Result: the issue got agent/needs-info, the orchestrator advanced
past it (treating needs-info as a completion signal), and the master
closed prematurely with no actual work merged.
Tighten the regex to only match explicit needs-info markers:
- 'needs more info'
- '## \ud83e\udd16 Triage' (the agent's heading)
- 'needs the following'
The proper way for the agent to signal needs-info is the \ud83e\udd16 Triage
heading; plain text is not reliable.1 parent dcd49c9 commit 21fc75b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments