Commit 18a2a69
fix(ci): repair + wire status-gate; require coq-build-gate (#301)
Three gate-integrity fixes surfaced by the 2026-06-16 ground-truth sweep
(companion to the proof-status doc PR #300).
## Changes
1. **`scripts/status-gate.sh:3`** — `//` C-style comment → `#`. The
script was a **bash syntax error** and aborted immediately
(delimiter-only fix; owner string unchanged).
2. **`.github/workflows/status-gate.yml`** (new) — runs `status-gate.sh`
on PRs touching `formal/**`, `PROOF-NEEDS.md`, `TEST-NEEDS.md`, or the
script. The gate **never ran in CI before** (only `just status-gate`),
which is why a live count drift went unnoticed. Non-required for now.
3. **`.github/settings.yml`** — adds the always-on `coq-build-gate`
aggregator (PR #254) to `required_status_checks`, so **a broken proof /
new `Admitted` cannot merge to `main` undetected.**
## ⚠ Two things to decide
- **Branch-protection change (owner-only).** Item 3 edits
`required_status_checks`. Please confirm before merge — that's the
intentional completion of PR #254 (the aggregator was built to be
required-safe), but it's your call.
- **Merge order — #300 first.** The new `status-gate` check is
**currently RED on purpose**: it correctly detects the live `main`-wide
count drift (marker says `4`, `coqc`/grep say `5`). PR #300 corrects the
marker to `5`; once that merges, this check goes green. So: **merge
#300, then this.**
- **Unverified:** I did **not** run `cargo test --all-targets --
--list`, so I can't confirm `TEST-NEEDS.md`'s `467` test-count marker is
current. If it has also drifted, the `status-gate` check will stay red
on the *test-count* assertion until that marker is refreshed.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e879fe1 commit 18a2a69
3 files changed
Lines changed: 49 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments