Skip to content

fix(governance): point the pin-existence gate at main, not a feature branch - #559

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/pin-gate-ref-main
Jul 28, 2026
Merged

fix(governance): point the pin-existence gate at main, not a feature branch#559
hyperpolymath merged 1 commit into
mainfrom
fix/pin-gate-ref-main

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Urgent follow-up to #558

#558 merged while the pin-gate's standards checkout was still temporarily pointed at feat/pin-existence-check:

repository: hyperpolymath/standards
ref: feat/pin-existence-check   # ← should be main

Why that ref existed

A bootstrap problem. The gate fetches check-action-pins-resolve.sh from standards, but while the PR was open the script did not yet exist on main — so cp failed with "No such file or directory" and the step could never be exercised. Temporarily pointing at the branch proved the gate works end-to-end in real CI: 21 pins checked, all resolved, 5 seconds, no UNVERIFIED. The revert back to main was pushed, but landed after the merge.

Why it must be fixed now

Every consumer's Governance run currently checks out a feature branch. Deleting that branch — routine post-merge hygiene — breaks the gate across the estate. The branch is deliberately still alive until this merges.

The bootstrap problem is gone: the script is on main as of #558, so ref: main now resolves correctly.

Verified: YAML re-parses with all 11 jobs, ref = main, zero remaining references to the feature branch.

🤖 Generated with Claude Code

…branch

#558 merged while the pin-gate checkout was still temporarily pointed at
`feat/pin-existence-check`. That ref was a test scaffold: the gate fetches
its script from standards, but on the PR branch the script did not yet
exist on `main`, so `cp` failed and the step could not be exercised.
Pointing at the branch proved the gate works end-to-end (21 pins checked,
all resolved, 5s) — but the revert back to `main` landed after the merge.

Left as-is, every consumer's governance run checks out a feature branch,
and deleting that branch breaks the gate estate-wide.

The bootstrap problem it worked around is now gone: check-action-pins-resolve.sh
is on main as of #558.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@gitar-bot

gitar-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

Note

Automatic reviews are paused because your trial's included automatic processing has been used for this period. Upgrade now, or comment "Gitar review" to run a review anytime.
Learn more

Code Review ✅ Approved

Updates the governance pin-existence gate checkout reference from the feature branch to main, ensuring stability after branch deletion. No issues found.

Auto-approved and auto-merge armed: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria. — merges when pipeline and required approvals pass.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@gitar-bot
gitar-bot Bot enabled auto-merge (squash) July 28, 2026 22:08

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitar has auto-approved this PR and enabled auto-merge (configure)

@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Jul 28, 2026
@hyperpolymath
hyperpolymath merged commit 524eb6a into main Jul 28, 2026
19 of 24 checks passed
@hyperpolymath
hyperpolymath deleted the fix/pin-gate-ref-main branch July 28, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant