Repository navigation
Rule: try a step before handing it to the user - #1359
Merged
mergify[bot] merged 1 commit intoOct 12, 2026
Merged
mergify[bot] merged 1 commit into
mergify[bot] merged 1 commit into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Change-Id: Ib18c9dab334aef5e6428f0eb4367d07c2c869b64
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 52d6b17f-9f96-476a-92ec-872b5c9092b8) |
Contributor
|
Queued — the merge queue status continues in this comment ↓. |
Owner
Author
|
@Mergifyio queue |
Contributor
Merge Queue Status
This pull request spent 2 hours 53 minutes 17 seconds in the queue, including 1 hour 42 minutes 19 seconds running CI. Required conditions to merge
|
This was referenced Oct 12, 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.
Summary
Sometimes the agent hands the user a command to run without trying it first. The command can then fail on its first line, and the user pays twice.
This adds a standing rule. Try the first step yourself. Hand it back only for a password, a browser login, hardware, or a system approval dialog.
A missing tool is not a blocker. Install it.
Review Claim
Approve a rule that requires trying a step before handing it to the user, and limits handoffs to steps only the user can do.
Review Lane
behavior
Review Unit
corpus-lesson
Safety Invariant
It adds one rule line and changes no code. Removing the line restores the previous behavior.
Slice Rationale
The rule is a different kind of file from the hook switch and the planning guide, so it ships on its own.
Non-goals
Measured
none: this adds a rule line; there is no number to measure
Test Plan
Test Plan
python3 scripts/ci/check_no_dated_provenance.py --base origin/mainprintedok no dated provenancepython3 scripts/ci/check_codify_has_code.py --base origin/mainprintedok codify-has-codepython3 engine/skills/make-pr/scripts/rule_scope_check.py --base origin/mainprintedok no incident-scoped rulespython3 engine/skills/make-pr/scripts/preflight.py --base origin/main --dry-runprintedunit corpus-lesson: 1 file(s)andok preflight passedRevert Plan
Revert Plan
git revert <sha>🤖 Generated with Claude Code