Repository navigation
docs(agents): allow the force-if-includes lease the guardrails hook accepts - #15958
melodic-automation-lanes[bot] wants to merge 1 commit into
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
claude-review reviewed Code review: PR #15958, no findingsI read all three changed files in the diff: the changelog fragment, Checked against closing issue #15940:
Other checks:
Verification: I did not run the test suite, because this lane has no shell. The PR's verification output is author-claimed and unverified here. Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review: no security issues foundcritical-findings: 0 Scope: I read every hunk of all 3 changed files: the changelog fragment, AGENTS.md force-push rule (instruction-surface lens). The rule now allows a second force-push form,
The commit the rule protects, a peer's newer commit, is still protected by both allowed forms, and the hook's code is unchanged. The rule also keeps its "Stop and ask first" placement, its feature-branch-only scope and the default-branch push ban. Test file. The change adds message assertions only, run against the hook in a temporary test repository. It runs no new untrusted input and reaches no credentials. Changelog fragment. A No trust control, token scope, kill switch, merge hold or plugin manifest is touched. Nothing here causes a real charge or spends extra credit. |
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
|
Closed unmerged: the owner decided the other direction for item 15940 (narrow the hook, leave AGENTS.md as written). The decision is recorded on the issue: #15940 |
Closes #15940
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
Fix
--force-with-lease=<branch>:<sha>(full SHA, or empty for a branch that must not exist) and--force-with-lease\[=<branch>\] --force-if-includes, and forbids bare --force, -f alone or bundled, --mirror, + refspecs and any…Verification
The runner ran each check from the base copy against 742d788:
The run reports:
Left out: the items under Not verified.
Related
#15940