Repository navigation
Gate inventory: every gate states what it claims to catch (Part of #7155) - #8940
Merged
Merged
Conversation
…uses a placeholder (Part of #7155) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
8 of 17 tasks
Contributor
|
No description provided. |
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.
Part of #7155. Checklist: partial [c:f743d1a3] -- every gate now states what it claims to catch; failure proofs for 19 gates are the remaining slice.
What
tests/tools/gate_controls.pyalready listed all 36 PR-triggered gates (#7159), but 16 carried the placeholder claim "not audited yet" and golden-crucible a thin one. Each now has a one-line claim read from its workflow's header comment and issue reference.test_every_gate_says_what_it_claims_to_catchfails on an empty, very short or placeholder claim, so the list cannot go back to placeholders.MAX_UNPROVENstays 19: this PR adds no proofs.Class / Sibling gaps
Class: inventory entries in
gate_controls.GATESwhose claim does not say what the gate catches. All 17 such entries (golden-crucible plus the 16 "not audited yet" rows) are fixed in this PR and the new test covers the whole class, including entries added later.Sibling gaps: (1) 19 gates have no failure proof (
python tests/tools/gate_controls.pylists them); each needs its own negative control, different mechanism per gate. (2) Jobs inside a workflow (e.g. the smoke-test jobs) andpr_gates.pychecks are listed per workflow, not per job. (3) Claims come from header comments, not from re-reading every job step.Remaining slices
MAX_UNPROVENeach time.Gates
pr_gates.py --fast: 9/9 pass (pinned ruff 0.17.4, mypy 2.4.1).pytest tests/tools/test_gate_controls.py: 9 passed. No engine, golden or ratchet files touched, so--ratchetswas not run.🤖 Generated with Claude Code