Commit 88cd8dc
authored
ci(governance): migrate R5a to .github/canonical-references/ — drop local workflow (#174)
## Summary
Three coupled changes following
[hyperpolymath/standards#330](hyperpolymath/standards#330)
(generic config-driven R5 in the reusable):
1. **Add `.github/canonical-references/prover-counts.yml`** — the
echidna R5a rule (bare prover counts → `docs/PROVER_COUNT.md`) declared
in the upstream config schema. Same patterns, same anchoring, same
scope.
2. **Bump `governance.yml` SHA pin** `bf406d6f…` → `3f34549c…`
(standards#330 merge SHA). The reusable's new R5 generic step now
consumes the config file above; R5b (estate-wide version-string drift)
continues to apply in parallel as before.
3. **Delete `.github/workflows/governance-doc-drift.yml`** — the local
R5a workflow is now obsolete. The upstream R5 generic step provides the
same coverage with a tighter feedback loop (rule changes are config-only
PRs; no workflow editing required).
## Behaviour preservation
- ✅ Pattern set identical (7 alternations covering the drift class
catalogued in #171)
- ✅ Scope identical (14 load-bearing top-level docs)
- ✅ Anchor preserved — `(^|[[:space:]])` so `Tier-1`, `v1.2.3`, `port
8081` don't false-positive
- ✅ Canonical-pointer error routes the same way (`docs/PROVER_COUNT.md`)
## Test plan
- [x] Local re-run of the upstream R5 logic against current main + the
new config: **0 hits**
- [x] `.github/workflows/governance-doc-drift.yml` deletion is clean (no
other workflow refers to it)
- [ ] CI on this PR — `governance / Security policy checks` (now
containing R5 generic + R5b) green
Refs hyperpolymath/standards#330, refs #171.1 parent 75041fd commit 88cd8dc
3 files changed
Lines changed: 51 additions & 122 deletions
File tree
- .github
- canonical-references
- workflows
| 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 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
0 commit comments