Repository navigation
land-pr: invoking it is the authorisation, not a request to report - #779
Merged
Merged
Conversation
The autonomy was already there and said in the wrong place: `AUTO_MERGE=true` sat in a parenthetical inside `Defaults:`, scoped to the merge alone, while the first entry on the stop list was "a merge without `AUTO_MERGE` or an explicit yes" — a permission checkpoint filed among genuine blocks. Read together, the skill described a self-driving procedure and then invited a question at every phase boundary. So the asking is inverted. A new section states that being handed a PR means taking it to green on `main`, names the actions that need no per-step yes (commit, push, force-with-lease over own commits, rerun, squash-merge, follow-up PR, revert at the depth cap), and says plainly that merging and then asking whether to watch `main` is the same as not having run Phase 3. The stop list becomes "Blocked — stop and say why", with the merge-permission bullet gone and an explicit *not* a block list: a red check, a flaky check, a conflicted branch, a long CI pass, a phase boundary. The failure being prevented looks diligent, which is why it needed writing down — a procedure that reports and waits at every boundary leaves the user polling the assistant that was asked to do the polling. Eval 5 is new and is the only one that can catch this: scenarios 1–4 all end at a stop condition, so a session asking permission at every boundary passes every one of them. Also disambiguates house rule 4 — `allow_auto_merge` (a GitHub feature that is off) versus this skill's `AUTO_MERGE` (whether you pause) — since the names collide and the new section leans on the flag. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Closed
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.
/land-pr <n>should mean "take this to green onmain". The skill alreadybehaved that way on paper —
AUTO_MERGEdefaults true — but said so in a placeand a scope that invited the opposite.
What was actually wrong
Two things, and together they were worse than either:
Defaults:, andit was scoped to the merge. Nothing said the rest of the arc — committing a
fix, pushing it, rerunning a flaky job, opening a follow-up PR, reverting at
the depth cap — was equally pre-authorised.
## Stop and ask instead of loopingwas "a mergewithout
AUTO_MERGEor an explicit yes" — a permission checkpoint filedamong genuine blocks like a destructive Terraform plan and an exhausted
budget. A list that mixes "I need your decision" with "I need your
permission" trains the reader toward asking.
Read together the skill described a self-driving procedure and then offered a
question at every phase boundary.
The change
## Invoking this skill is the authorisationnear the top: being handed aPR means taking it to green on
main, not reporting on its progress. It namesthe actions that need no per-step yes and states plainly that merging and then
asking whether to watch
mainis the same as not having run Phase 3.AUTO_MERGE=trueor an explicit yes" preamble.Pausing is now the thing that needs requesting, and
AUTO_MERGE=falseis howa user requests it — with the exit defined ("green, awaiting merge", merge
command written out).
## Stop and ask instead of looping→## Blocked — stop and say why, statedas the whole list, plus an explicit not a block list: a red check
(diagnose it), a flaky check (rerun it), a conflicted branch (rebase it), a
long CI pass (keep polling — the user asked for the polling), a phase
boundary.
allow_auto_mergeis a GitHub feature that is offhere;
AUTO_MERGEis this skill's flag for whether you pause. The namescollide, the facts are unrelated, and the new section leans on the flag.
restating the three budget numbers in two places.
The failure being prevented looks diligent, which is why it needed writing
down: a procedure that reports and waits at every boundary leaves the user
polling the assistant that was asked to do the polling — and the false green
this skill exists to defeat is exactly what they will accept while doing it.
Eval 5 is the point
Scenarios 1–4 all end at a stop condition, so a session that asks for
permission at every boundary passes every one of them. The new scenario is
the only one that fails if control is handed back early: a PR with a genuine
compile error, a fix available, and the requirement that diagnose → push →
poll → merge → main loop happens in one uninterrupted turn, with "want me to
continue?" named as a must-not.
It also carries its own re-run trigger: every entry added to the blocked list
is a new way to stop legitimately, and therefore a new way to stop
illegitimately.
Gates
make skills-checkgreen, tree clean. No generator touched, so there is no newdrift surface; the body and eval counts are both still inside the gated limits.
Sequencing note: #777 also edits this file, but only its
descriptionline (areciprocal routing clause for
pr-review), so the two do not overlap. Whicheverlands second rebases cleanly.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MFnHDWdSvJoDtZLCg5dyyv