Repository navigation
Scope the creation limiter to accidental runaways - #1719
Merged
Merged
Conversation
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_
tend-agent
approved these changes
Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 exhaustedtrackers 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.pyandAGENTS.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 pytestand 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.