honcho/.github
Vineeth Voruganti 08e04b9c75 fix(ci): count only bot-authored gate notices, share the exemption list
Two review findings on the issue gate, with a common root cause.

MARKER is an invisible HTML comment, so anyone who can comment on a
public repository can paste it. findNotices accepted any comment
containing it, so a third party could post one on someone else's pull
request: runGate posts a notice only when none exists, so the author
would never be told, and runSweep would then measure the 72-hour grace
window from the stranger's timestamp and close them unwarned. Notices now
require bot authorship.

The stale-draft sweep re-listed the gate's exemptions and had lost the
bot case, so a bot's long-lived draft was closable despite checkGate
exempting bots. Both callers now share one exemptReason(pr) rather than
keeping parallel lists that drift.

Not changed: closingIssuesReferences(first: 20) truncation. It needs a
pull request with 21+ closing references where only a later one carries
the label, and the outcome would be a label plus the grace window, not a
close.

Coverage goes 11 -> 20 cases, including the stale-draft close path, which
had none. Both fixes were confirmed to fail their tests when reverted.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 17:23:34 -04:00
..
ISSUE_TEMPLATE fix: address render issue in templates and add version field 2026-08-24 15:53:15 -04:00
PULL_REQUEST_TEMPLATE Fix typos (#440) 2026-03-22 15:52:55 -04:00
actions/load-staging-secrets feat(llm backend): enable combined tool calling + structured output in the LLM backend transport layer (#907) 2026-07-15 11:47:49 -04:00
scripts fix(ci): count only bot-authored gate notices, share the exemption list 2026-08-24 17:23:34 -04:00
workflows feat(ci): defer issue-gate closes to a scheduled sweeper 2026-08-24 15:58:54 -04:00
CODEOWNERS chore(codeowners): drop the third reviewer from most areas 2026-08-24 15:58:54 -04:00
pull_request_template.md chore: add pr template and pre-pre skill (#1031) 2026-08-19 16:18:47 -04:00