Skip to content

Scope the creation limiter to accidental runaways - #1719

Merged
max-sixty merged 1 commit into
mainfrom
ci-failure-issue-per-incident
Nov 21, 2026
Merged

max-sixty merged 1 commit into
mainfrom
ci-failure-issue-per-incident

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

The creation limiter exists to stop a runaway process creating issues and PRs by accident. An agent working to get past it would have worse ways to do harm than filing issues. So this removes the parts that only stop such an agent, and states that scope in the docs. All Creation allowance exhausted trackers now stay out of the creation count; before, only the newest filed in the past 24 hours did. A tracker is filed whenever none is open, with no cap at twice the limit. A maintainer's close approves more whenever it was made; before, it had to come after the issue last gained the tracker's title or label.

To weigh: bot and GitHub App closes still approve nothing. That guards against an accident too, since the refusal used to tell the agent that "closing it approves more". The refusal now says a maintainer's close approves more. docs/security-model.md, the limiter's docstring, _issue.py and AGENTS.md's "Issues Tend files" section drop the reasoning about agents forging, editing, closing or transferring trackers.

Max asked for this after #1716 added those bounds. uv run pytest and pre-commit pass. The three tests of the removed bounds are deleted, and the tracker-count test now checks that every tracker is left out.

This was written by Claude Code on behalf of max-sixty

The limiter exists to stop a runaway process creating issues and PRs by
accident. An agent working to get past it would have worse ways to do harm
than filing issues, so the limiter no longer carries bounds that only stop
that agent:

- Every `Creation allowance exhausted` tracker is left out of the creation
  count, rather than only the newest filed in the past 24 hours.
- A tracker is filed whenever none is open, with no cap at twice the limit.
- A maintainer's close approves more whenever it was made, without checking
  that it came after the issue last gained the tracker's title or label.

Bot and GitHub App closes still approve nothing: an agent told that closing
the tracker approves more could close it by mistake. The refusal now says a
maintainer's close approves more, so it no longer invites that.

`docs/security-model.md`, the limiter's docstring, `_issue.py` and the
"Issues Tend files" section of `AGENTS.md` now state that scope and drop the
reasoning about agents forging, editing, closing or transferring trackers.

> _This was written by Claude Code on behalf of max-sixty_
@max-sixty
max-sixty merged commit b19557f into main Nov 21, 2026
13 checks passed
@max-sixty
max-sixty deleted the ci-failure-issue-per-incident branch November 21, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants