feat(kvb-git-close-issues): close the issues a pull request fixes

issues.py reads gh pr view --json from stdin and lists every issue the pull request references: closing keywords and mentions in the body and the commits (own repo, owner/repo#n and issue URLs), a trailing number in the branch name and the issues GitHub already links. The skill verifies each one against the diff and its test or CI evidence, asks the operator, then closes a fix that reached the default branch with a comment naming the pull request and commit, or adds Closes lines to the body of a pull request that is still open or merged elsewhere. tests/test_close_issues.py covers every reference kind. Operator order 2026-11-03; two descriptions trimmed for the listing budget.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-03 16:51:45 +01:00
1 parent 9917cccd6e
commit c2ab3f39cf
6 files changed
+204 -6

No files matched your search

+3
View File
@@ -49,6 +49,7 @@ flowchart LR
git --> git_commit_next[kvb-git-commit-next]
git --> git_commit_no_verify[kvb-git-commit-no-verify]
git --> git_merge_fix[kvb-git-merge-fix]
git --> git_close_issues[kvb-git-close-issues]
git --> git_branch_gc[kvb-git-branch-gc]
git --> git_changelog[kvb-git-changelog]
check --> check_legal[kvb-check-legal]
@@ -126,6 +127,7 @@ flowchart LR
commit_next[kvb-git-commit-next]
commit_no_verify[kvb-git-commit-no-verify]
merge_fix[kvb-git-merge-fix]
close_issues[kvb-git-close-issues]
branch_gc[kvb-git-branch-gc]
changelog[kvb-git-changelog]
end
@@ -182,6 +184,7 @@ flowchart LR
commit_next --> commit_no_verify
commit_next --> explain
commit_next --> dialectic
close_issues --> confidence
commit_no_verify --> comments_clean
commit_no_verify --> advocate
advocate --> dialectic