Skip to content

Commit 464fa73

Browse files
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/actions.lock‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ workflows:
4343
'.github/workflows/labels.yml': []
4444
'.github/workflows/learning-loop.yml':
4545
- 'actions/checkout@v7.0.1'
46-
- 'actions/upload-artifact@v7.0.2'
4746
'.github/workflows/lock-sync-gate.yml': []
4847
'.github/workflows/mirror.yml': []
4948
'.github/workflows/pages.yml':

‎.github/workflows/fleet-report-back.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ jobs:
8181
- name: Run the driver's test suite against the real renderer
8282
run: STANDARDS_DIR="$PWD/.standards-grid" bash tests/fleet-report-back-test.sh
8383

84+
# The enrolment rollout end to end on a synthetic repository: fixer, then
85+
# driver, then the real renderer, before and after (tests/enrolment-canary-test.sh).
86+
- name: Enrolment canary (fixer, driver and renderer, end to end)
87+
run: STANDARDS_DIR="$PWD/.standards-grid" bash tests/enrolment-canary-test.sh
88+
8489
- name: Render the grid from the envelopes and fail on any silent member
8590
env:
8691
HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

0 commit comments

Comments
 (0)