Repository navigation
fix(staging): --stage-anyway overrides every refusal, and names each one - #1241
Merged
Merged
Conversation
The gate kept three classes out of the override's reach: the missing or red proofs (critical path, written world DW0955), the pre-detail stand-in, and the test-level/build disagreement (plus the pack statement). The owner could not look at a build before the full ladder had run. Now --stage-anyway "<reason>" admits whatever was refused, with no exclusion list. Every refusal overridden is printed one line each (OVERRODE ...), appended to the report, and recorded in the token as override.refusals; the admission script echoes them at boot. --acknowledge-red is optional (checked when given). A missing manifest.json still refuses: there is no identity to bind a token to. Without --stage-anyway every refusal still refuses. Tests: an unproven build is refused plainly and admitted under the override with both proof refusals listed; blockout, test-level mismatch and each red/foreign proof perturbation are admitted under the override and listed. Docs: staging-gate docstring, tools.md, playtest-methodology.md, hand-over.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
What changes
--stage-anyway "<reason>"now overrides every refusal the staging gate makes, with no exclusion list. That covers:Each overridden refusal prints as an
OVERRODEline, is appended to the report, and is stored in the admission token. The server echoes the overrides at boot.--acknowledge-redbecomes optional.Without
--stage-anyway, every refusal still refuses. A build with nomanifest.jsonstill refuses, because there is no identity to bind a token to.Proof
tools/tests/test_staging_gate.pyand the playtest-server tests pass, 196 in total.playtest-server.sh up gallery --stage-anywayreached READY with three overrides listed. The same build without the flag was refused.🤖 Generated with Claude Code