fix(ci): harden pre-push gate (strict mode + stack-agnostic coherence)#44
Merged
Conversation
Closes the silent FAIL-OPEN enforcement hole: if no pipeline-capable verax is found, the gate fails open by default but with a LOUD notice, and VERAX_GATE_REQUIRE=1 makes it fail-CLOSED (block the push) so a missing binary can never silently let an un-gated push through. Also extends GATE 1 committed-tree coherence to node repos (package.json must parse), not just cargo. Validated: REQUIRE=1 blocks when no verax; node coherence rejects a corrupt package.json. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LcUxYH6RAdkoH7ejrYFjSE
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.
Hardens the local pre-push gate (follow-up to the gate + install-fix PRs):
VERAX_GATE_REQUIRE=1→ fail-CLOSED when no pipeline-capable verax is found, closing the silent fail-OPEN hole (default stays fail-open but LOUD).package.jsonparses for node repos, not justcargo metadata.Validated:
REQUIRE=1blocks a push when no verax; node coherence rejects a corrupt package.json. 🤖 Generated with Claude Code