docs(agents): a merged PR closes its issue only via a closing keyword #47
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
wontfix
needs-info
needs-triage
ready-for-agent
ready-for-human
review/merge-ready
review/needs-fix
review/needs-human
review/needs-review
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/infra-forge!47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/pr-closes-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?
Summary
A merged pull request closes a referenced issue only when the reference carries a
closing keyword and lives where the action is read. The docs now say so, and bind
the
/prskill to it.The rule, in one place: put
Closes #<index>in the pull request body.Fixesand
Resolveswork too (the default keyword list). A bare#34— in the title orthe body — is an ordinary cross-reference: it renders a link and adds a notice to
the issue, but carries no action, so the merge leaves the issue open. This is the
usual miss: the issue number in the PR title counts for nothing at merge time.
pull requests and commit messages can carry the action at all.
so
Closes #34, closes #35, not one keyword over a list.#<index>is leftwithout a keyword, so a merge does not close unfinished work.
Evidence
body carried no keyword — only a bare
#34in the title — so issue #34's timelineshows a
pull_refnotice and then a manualcloseevent at 16:45:36Z, after themerge. Issues #35 and #36 were likewise closed by hand. The docs state the fix.
(
close,closes,closed,fix,fixes,fixed,resolve,resolves,resolved), the merge-time action, and the "PR description or commit message"constraint.
Merge Danger
Door: two-way — docs only;
git revertrestores the prior text, and noinfrastructure, role or state is touched.
Blast Radius: low — two Markdown files; no code path changes.