You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(release): /release Step 6 pushes to main, which the #1109 ruleset now rejects (GH013) — land the release commit through a PR #1131
The main ruleset applied in #1109 (required test + canary checks, strict up-to-date) rejects every direct push to main:
error: GH013: Repository rule violations found for refs/heads/main.
- 2 of 2 required status checks are expected.
! [remote rejected] main -> main (push declined due to repository rule violations)
/release Step 6 still runs git commit -m "chore: release v${new_version}" && git push origin main, so the skill can no longer land a release. Observed 2026-09-20 releasing 2.17.0; the bump landed as PR #1130 by hand.
Fix shape (pick one, document it in the skill and docs/internal/graph-2026-09-guard/ruleset.md)
Release PR: Steps 3–6 commit on chore/release-<version>, open a PR, wait for test + canary, squash-merge, then tag main (tags are outside the branch rule) and continue with Steps 7–9. Keeps the guard intact; adds one CI round (~8 min) to a release.
Bypass actor: add the repository admin role to the ruleset's bypass_actors with bypass_mode: "always" and keep Step 6 as is. Weakens the guard for the maintainer account, which is the account the graph most wanted to slow down on a red main.
Recommendation: (1). The red-main pre-flight (#1093) already stops a release off a red main; the PR round is what makes the release commit itself pass the same checks as everything else.
Acceptance criteria
AC-1: /release --dry-run on a protected main prints the release-PR plan and no git push origin main — Verify: npx vitest run src/lib/__tests__/release-skill-*.test.ts gate for the Step 6 text in all three skill copies, mutation-verified per CLAUDE.md §Testing.
AC-2: docs/internal/graph-2026-09-guard/ruleset.md states how a release lands under the ruleset.
AC-3: npm run lint:skill-sync 0 diverged; npm run build && npm test green.
Activity
fix(#1131): /release Step 6 lands the release commit through a PR; re…
chore: release v2.17.0 (#1130)