-
Notifications
You must be signed in to change notification settings - Fork 1
fix: improve verifier follow-up issue format #310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -183,7 +183,16 @@ function extractUncheckedItems(content) { | |||||||||
| // Match unchecked boxes: - [ ] or * [ ] | ||||||||||
| const match = line.match(/^\s*[-*]\s+\[\s\]\s+(.+)$/); | ||||||||||
| if (match) { | ||||||||||
| items.push(match[1].trim()); | ||||||||||
| const text = match[1].trim(); | ||||||||||
| // Skip markdown section headers that were incorrectly captured as criteria | ||||||||||
| if (text.startsWith('#') || text.startsWith('##')) { | ||||||||||
| continue; | ||||||||||
| } | ||||||||||
| // Skip items that look like markdown links to sections (e.g., "- PR #123") | ||||||||||
| if (/^[-–]\s*(PR|Issue)\s*#\d+/i.test(text)) { | ||||||||||
|
Comment on lines
+191
to
+192
|
||||||||||
| // Skip items that look like markdown links to sections (e.g., "- PR #123") | |
| if (/^[-–]\s*(PR|Issue)\s*#\d+/i.test(text)) { | |
| // Skip items that look like markdown links to sections (e.g., "- PR #123" or "PR #123") | |
| if (/^[-–]?\s*(PR|Issue)\s*#\d+/i.test(text)) { |
stranske marked this conversation as resolved.
Show resolved
Hide resolved
Copilot
AI
Dec 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an inconsistency in how tasks are generated. When gaps are identified (line 362), tasks are prefixed with "Address:", but when unmet criteria or refined unmet criteria are used (lines 365, 368), no prefix is added. This creates inconsistent task formatting in the follow-up issue.
For consistency, consider either:
- Removing the "Address:" prefix on line 362 to match the other cases (recommended based on the PR's rationale)
- Adding appropriate prefixes to lines 365 and 368 to match line 362
The first option aligns with the PR description's goal of removing redundant prefixes since task list items already imply they need work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The check for
startsWith('##')is redundant since any string starting with '##' will also start with '#'. The first condition will always catch both cases. Consider removing the|| text.startsWith('##')portion to simplify the logic without changing behavior.