Repository navigation
Commit 464fa73
PROOF-NEEDS as a §5 ledger; enrolment canary harness; fixer off Python (#692)
## Why
Three things, all about the fleet-enrolment rollout and what we can
claim about it:
1. **`PROOF-NEEDS.adoc` is a proof-status file.** It was a 2026-03-29
wish list. The mathesis census names it as gitbot-fleet's status
document, so it now speaks the closed vocabulary of standards
`3-practice/PROOF-POLICY.adoc` §5.
2. **The rollout is proved on a synthetic repository first.** That was
the owner's decision on 2026-11-18, made after the real candidate turned
out to have its own problems: hyperpolymath/panll's main has had
`startup_failure` on every standards-calling workflow since 2026-11-11.
3. **`fix-fleet-enrolment.sh` had departures.** #629 made it build the
manifest with Python, which is banned, and add non-reporter entries
(`hypatia`, `robot-repo-automaton`). The `hypatia` entry gave the
verdict grid a second row with the scanner's own id. The canary found
that.
## What
- **`PROOF-NEEDS.adoc` (bf44a62):**
- census of 15 rows: 0 proven, 4 argued, 4 tested-only, 7 open;
- R-WIRED now also cites the canary harness.
- **`fix(enrolment)` (6cf6125):**
- the manifest is built by a `jq` reduce over the priority list, which
keeps key order;
- only the nine fleet reporters get an entry;
- the test's Python check is replaced by `jq`, with the exact key list
asserted and both non-reporter roles asserted absent.
- **`test(enrolment)` (5bcf758):** `tests/enrolment-canary-test.sh`
chains the real scripts on one synthetic repository. It runs as a step
of `fleet-report-back.yml` beside the driver suite (no new `uses:`). The
chain:
1. a fork-governance repo with a Hypatia lane and no manifest;
2. the fixer: exit 0, manifest written, fleet job inserted, `hypatia:
needs: [fleet]`, a second run a no-op;
3. the driver with stub adapters: one envelope per enrolled member,
scanned tree unchanged;
4. standards' renderer, run twice:
- **before:** every enrolled row reads "enrolled, but no report-back";
- **after:** none does; clean members are green and non-enrolled members
grey.
## Evidence
- `STANDARDS_DIR=<standards> bash tests/enrolment-canary-test.sh`: **25
passed, 0 failed**. Its negative control happened for real: on the
Python version it failed on the duplicate `hypatia` row.
- `bash tests/fix-fleet-enrolment-test.sh`: **141 passed, 0 failed**.
- `STANDARDS_DIR=<standards> bash tests/fleet-report-back-test.sh`:
**243 passed, 0 failed**. That was on a clean PATH: an earlier run here
counted 4 false failures, because stale adapter binaries in my scratch
tools directory were on PATH.
- `scripts/check-lock-sync.sh`: in sync. actionlint: clean. shellcheck
`-S warning`: clean. `asciidoctor --failure-level WARN`: clean.
## Not done
- **Red CI that is not this PR's.** *Pinned source closure* (and *E2E
tests*, which requires it) is red on `main` too:
`SOURCE-ACTIVE-MISSING`, explained in my earlier comment. A separate PR
is regenerating the attestation and moving the standards pins to
`3b57589d`; its fix will be ported here.
- **Not tested:** GitHub's startup rules for the inserted job, meaning
lock records and reusable resolution. That needs a live run on a real
repository.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01J4QvDjqj5DHRRCrDiGeTmq)_
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Updates**
* Enrolment manifests now list only fleet reporters; non-enrolled
entries are omitted.
* **Documentation**
* Added a dated ledger summarizing proof status, verification
boundaries, and remaining open obligations.
* **Tests**
* Added an end-to-end check of enrolment, report-back results, and
rendered status grids when the required standards are available. The
check also verifies that repeated runs do not add duplicate fleet jobs
or alter repository files.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 00b83b9 commit 464fa73
6 files changed
Lines changed: 583 additions & 102 deletions
File tree
- .github/workflows
- scripts
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
| |||
0 commit comments