Skip to content

fix(ci): harden pre-push gate (strict mode + stack-agnostic coherence)#44

Merged
runyourempire merged 1 commit into
mainfrom
opus-gate-harden
Jun 27, 2026
Merged

fix(ci): harden pre-push gate (strict mode + stack-agnostic coherence)#44
runyourempire merged 1 commit into
mainfrom
opus-gate-harden

Conversation

@runyourempire

Copy link
Copy Markdown
Collaborator

Hardens the local pre-push gate (follow-up to the gate + install-fix PRs):

  • Strict mode 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).
  • Stack-agnostic GATE 1: committed-tree coherence now also validates package.json parses for node repos, not just cargo metadata.

Validated: REQUIRE=1 blocks a push when no verax; node coherence rejects a corrupt package.json. 🤖 Generated with Claude Code

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
@runyourempire runyourempire merged commit 92e854d into main Jun 27, 2026
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