Repository navigation
ci: add ./push as the single push entry point - #4102
Merged
Merged
Conversation
added 3 commits
November 8, 2026 16:47
Agents were told to push and open PRs directly, so client-side evidence never existed and CI re-ran everything. ./push composes the chain the plan specifies: soldr proves the work, ghd stamps it into the commit message, git pushes, gh opens the PR. Where a toolchain cannot do its step yet it says which one and falls back to the plain push, so the gate remains the safety net until the attestation path is universal. PUSH_REQUIRE_ATTESTATION=1 is the enforce switch. The worker playbook now points every push at ./push.
AGENTS.md is what most agents read first, so the rule belongs here too: a bare git push skips the client attestation and makes CI re-run everything.
Rollout shape: PUSH_GUARD=warn (default) reports and allows, so agents working in this repo today keep moving while they learn the path; PUSH_GUARD=deny refuses; PUSH_GUARD=off disables it. The rule is parser-based like the rest of the guard, so quoted text and ./push itself are allowed. Tests: 28 pass (4 new).
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.
Agents were told to push and open PRs directly, so client-side evidence never
existed and CI re-ran everything. ./push composes the chain the plan specifies:
soldr proves the work, ghd stamps it into the commit message, git pushes, gh
opens the PR. Where a toolchain cannot do its step yet it says which one and
falls back to the plain push, so the gate remains the safety net until the
attestation path is universal. PUSH_REQUIRE_ATTESTATION=1 is the enforce switch.
The worker playbook now points every push at ./push.