18: Add forgejo_label_create tool #33
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!33
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/issue-18/add-forgejo-label-create-tool"
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?
18: Add forgejo_label_create tool
Implements 18.
Generated in 8m 23s.
Review findings
The working tree is clean with Stage 1 changes already committed. Let me examine the files referenced by the findings.Now let me check the exact line references and any other places that reference tool counts.Now I have the full picture. Let me look at the README table lines and the exact line references in the source.All fixes identified. Let me check the test file for any assertions on prompt guidelines or the section heading that could be affected.Tests only assert guidelines exist as an array, so my changes are safe. Now let me apply all fixes in a single pass.All edits applied. Now let me discover the build/test commands and run the gates.Commands discovered:
npm run build(tsc),npm run check(tsc --noEmit),npm test(jest) inextensions/forgejo. Running the gates now.All gates pass. Let me verify the final diff of the remediation changes.All gates pass and the remediation diff is minimal and targeted. Here is the final report.Review Findings — 18
Summary
Remediated 4 of 5 findings in a single pass. Added the missing
forgejo_label_createrow to the README Issues table and the DESIGN.md tool matrix (with the### Issues (13)count bump), renamed the misleading source heading toIssues + Labels, and referenced the new tool fromforgejo_list_labels's prompt guidelines. The one remaining finding (commit-message convention) is unresolvable in this stage: renaming commitd5f97e6requires a commit/amend operation, which the pipeline contract forbids (no commit/stage/push; only the working-tree diff is captured). Gates re-run after remediation:npm run build(tsc) pass,npm run check(tsc --noEmit) pass,npm test(jest) pass (8 suites, 125 tests).Critical
(none)
High
(none)
Medium
docs/DESIGN.md:90/:104still says "Issues (12)" with noforgejo_label_createrow). The repo'scommit-docsskill emphasizes keeping docs in sync, and this README is the package's per-tool reference — without this row users/agents cannot discover the tool. Suggested fix: add a row to the README Issues table (e.g.| forgejo_label_create | Create a repo label | name, color (req); description, exclusive, is_archived |) and add the corresponding row + count bump indocs/DESIGN.md(heading### Issues (13)and a matrix row, e.g.| forgejo_label_create | Create repo label | name, color (req), description?, exclusive?, is_archived? |).Low
d5f97e6 "18: Add forgejo_label_create tool"deviates from the AGENTS.md commit formatissue-<N>: <summary>(missing theissue-prefix). Note the repo history is mixed (29: ...vsissue-30: ...), so this is a convention nit. Suggested fix: name the merge commitissue-18: add forgejo_label_create tool.forgejo_list_labelsandforgejo_issue_search, but it is a repo-scoped label CRUD operation (DESIGN.md:211 classifies "labels CRUD beyond list" as repo-scoped), so the section label is misleading. Suggested fix: rename the heading to "Issues + Labels" or give label tools their own section comment.forgejo_list_labels'spromptGuidelinesmention onlyforgejo_issue_add_labels/forgejo_issue_remove_labels; for symmetric discoverability the new create tool could be referenced too. Suggested fix: append "Use forgejo_label_create to add a new repository label." to the list_labels guidelines (optional polish).