26: Cross-reference forgejo_list_milestones from issue/PR create promptGuidelines #40
No reviewers
Labels
No labels
bug
chore
documentation
enhancement
feature
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
david/pi-extensions-and-skills!40
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/issue-26/cross-reference-forgejo-list-milestones-from-issue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
26: Cross-reference forgejo_list_milestones from issue/PR create promptGuidelines
Implements 26.
Generated in 2m 47s.
Review findings
The change is committed and the working tree is clean — the Stage 1 diff is already in place. Let me check the existing test conventions before making fixes.Now I'll apply both fixes: add the guideline-content test (Medium) and mirror the labels wording in the guidelines (Low).Both fixes applied. Now let me run the gates (build, check, test) discovered from
extensions/forgejo/package.json.All gates pass — 179 tests (up from 178 with the new test). Let me verify the final diff.Both findings are resolved and all gates pass. Here is the final annotated findings document.Review Findings — 26
Summary
Both findings were fixed in a single pass. Medium: added a generic invariant test in
extensions/forgejo/tests/index.test.tsasserting that every tool whoseparametersschema exposes amilestoneproperty referencesforgejo_list_milestonesin itspromptGuidelines— pinning the added cross-reference and guarding against future regression. Low: reworded the new guideline in bothforgejo_issue_createandforgejo_pr_createto "Use forgejo_list_milestones to resolve a milestone name to its id before passing it." to mirror the adjacent labels guideline phrasing. Gates: build (tsc) PASS, check (tsc --noEmit) PASS, test (jest, 179/179) PASS. Lint is not configured anywhere in the repo, so no lint gate ran. No findings remain unresolved.Critical
High
Medium
promptGuidelinesis a non-empty array, so a future edit could silently drop the milestone cross-reference. Suggested fix: add an assertion (e.g. intests/index.test.ts) that thepromptGuidelinesofforgejo_issue_createandforgejo_pr_createeach include a reference toforgejo_list_milestones, ideally as a generic invariant over any tool whoseparametersschema contains amilestoneproperty.Low