refuse close and reopen words in caller text; only madtea writes the Closes lines #817
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#817
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The forge closes an issue when a close word sits right before its reference in a PR title, a PR body, a comment on a PR, or a commit message that reaches the default branch. The match is loose.
does not close #Ncloses #N, andCloses #A, #Bcloses only #A. My agents get this wrong all the time, so issues close by mistake or stay open.Decision: no text that a caller gives madtea may put a close or reopen word right before an issue reference. Only madtea writes close lines, from its own
closeslist.Forge facts, from the Forgejo v15 and Gitea main source:
(?i)(?:\s|^|\(|\[)(WORD):? $against the text just before each#Norowner/repo#N.CLOSE_KEYWORDS,REOPEN_KEYWORDS), and no API shows them. madtea checks the 12 default words. A server with custom words is a known gap.Scope: every text a caller gives madtea, on the CLI and MCP: PR title and body, commit, merge and squash messages, issue bodies, comments, close reasons, and raw API writes to those endpoints. The refusal names the word and the reference, and points at
closes=.This adds a new limit to the one write guard of docs/decisions/0046. It changes no recorded decision.
Decided in docs/decisions/0058 (accepted). The implementation is tracked in #829.
Decided in 0058-only-madtea-writes-close-words (accepted). The implementation is tracked in #829.