Repository navigation
fix(#958): gate /fullsolve's PR merge behind --auto-merge, off by default - #959
Merged
admarble merged 3 commits intoAug 24, 2026
Merged
Conversation
…ault Phase 5.3 ran an unconditional `gh pr merge` immediately after PR creation, contradicting the Auto-Progression stop-list's own "final summary after PR creation" halt condition. Reconcile the two: the workflow's terminal state is now explicitly PR created + final summary posted, and merge (5.3), post-merge verification (5.4), and the auto-merge-path lock release (5.5) run only behind --auto-merge / run.autoMerge / explicit user instruction. Drop Bash(gh pr merge:*) from the default allowed-tools grant so the permission prompt is a second, independent gate.
Matches the existing coverage convention for the same-shaped precedent field, run.effortEscalation (#915) — default false, explicit-true round-trip, and a rejected non-boolean.
This was referenced Aug 24, 2026
admarble
deleted the
feature/958-fix-fullsolve-phase-5-3-auto-merges-the-pr-the
branch
August 24, 2026 03:20
5 of 6 tasks
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
/fullsolve's Auto-Progression stop-list ("final summary after PR creation") with Phase 5.3's previously-unconditionalgh pr merge <N> --squash— the workflow's default terminal state is now explicitly PR created + final summary posted, not merged.--auto-merge/run.autoMerge(new settings key, defaultfalse) / explicit user instruction, across all three skill mirrors.Bash(gh pr merge:*)from/fullsolve's defaultallowed-toolsso the permission prompt is a second, independent gate.src/lib/__tests__/fullsolve-merge-gate-skill.test.ts(39 tests) gating this text, mutation-verified for AC-2/AC-3/AC-5.Closes #958
Pre-PR AC Verification
gh pr mergeexecuted/fullsolve 958session ran spec → exec → QA → PR #959 creation → final summary with no--auto-mergeflag and norun.autoMergesetting, and correctly did not invokegh pr merge. Post-hoc verification:gh pr view 959confirmsstate: OPEN,mergedAt: nullas of this update — the PR remained unmerged through the full run.fullsolve-merge-gate-skill.test.ts—merge-gatedelimited span assertions, mutation-verifiedBash(gh pr merge:*)removed from all 3 mirrorslint:skill-syncgreen--auto-mergepreserves prior end-to-end behavior (5.3 order + 5.5 release)gh pr merge 959 --squash(merged9316debe), then./scripts/cleanup-worktree.sh(worktree + local + remote branch removed), then §5.4 post-merge verification (npm run buildclean,npx sequant doctor16/18 passed, 2 pre-existing unrelated warnings), then §5.5 lock release (idempotent no-op — already released via the default-path timing before this confirmation). Issue #958 auto-closed via the PR'sCloses #958.Mutation Verification
Mutation-verified: AC-2 — removed terminal-state disambiguation; test failed as expected; restored.
Mutation-verified: AC-3 — reintroduced
Bash(gh pr merge:*); test failed as expected; restored.Mutation-verified: AC-5 — removed §5.5 path bifurcation; test failed as expected; restored.
QA Summary
Verdict: READY_FOR_MERGE (all 5 ACs MET — see table above; merged with explicit human confirmation)
--skip-pid-check, "Skip testing phase", phase-skip table rows) or this PR's own new gate text; none represent the old unconditional-release rule surviving. Status: Clean.[Unreleased]entry addedmerger/SKILL.md:271has the same unconditionalgh pr mergepattern — out of scope per the issue's Non-Goals/human-decisions section; follow-up issue filed as audit(/merger): determine whether the unconditional gh pr merge needs a confirmation gate, following #958 #961 (investigation, not a same-fix copy-paste — invoking/mergeris itself explicit merge consent, unlike/fullsolve's hidden-side-effect bug).Test plan
npm run build— passesnpm run lint— passesnpm test— full suite passes (272 files, 5600 tests)npm run lint:skill-sync/lint:skill-calls/lint-skill-gates.ts— all clean/fullsolvesession is the dogfood transcript through PR creation; PR confirmed unmerged post-hoc--auto-mergedogfood run completed with explicit human confirmation — this PR's own merge is the transcript/mergermerge-gate audit)Merged:
9316debe(squash) · Post-merge build +sequant doctor: ✅ clean🤖 Generated with Claude Code