Skip to content

feat(doctor): gate auto-finish sweep under GUARDEX_AUTO_SHIP#663

Merged
NagyVikt merged 1 commit into
mainfrom
agent/claude/gate-doctor-auto-finish-sweep-under-guar-2026-06-29-09-27
Jun 29, 2026
Merged

feat(doctor): gate auto-finish sweep under GUARDEX_AUTO_SHIP#663
NagyVikt merged 1 commit into
mainfrom
agent/claude/gate-doctor-auto-finish-sweep-under-guar-2026-06-29-09-27

Conversation

@NagyVikt

Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

The unattended auto-finish sweep merged ready agent branches to base with no
review gate, diverging from interactive gx finish (which gates under
GUARDEX_AUTO_SHIP). Wire the sweep to the same gate: when GUARDEX_AUTO_SHIP is
truthy, run runReviewGate (clean AI review + green CI + mergeable) before merging
via the PR path; a blocked gate skips the branch instead of merging. Direct/local
fallbacks (no PR/CI) pass through. Off by default = unchanged.

Extracted into an injectable runAutoShipGateForBranch helper, unit-tested without
a GitHub fixture (called only on the PR path when the toggle is on; skips on gate
failure with the reason).
@NagyVikt NagyVikt merged commit a17fe4e into main Jun 29, 2026
@NagyVikt NagyVikt deleted the agent/claude/gate-doctor-auto-finish-sweep-under-guar-2026-06-29-09-27 branch June 29, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant