Adopt the corpus that audits its own canon and delivers each section whole - #589
Adopt the corpus that audits its own canon and delivers each section whole#589m2ux wants to merge 2 commits into
Conversation
…whole Moves the definitions pointer to 875a36d, which carries three merged pull requests: the canon audit that took restated Protocol phases and schema-owned routing out of rule bodies, the decisionless-checkpoint fixes that stop a gate asking for an acknowledgement it does nothing with, and the section-delivery work that gives each delivered section what it depends on. The walk baseline is unchanged and that is a result rather than an omission. The corpus gained checkpoint and gate changes — a task cycle that stops on unaccounted symbol provenance, an isolation gate whose abort now aborts — so reachability was the thing to check, and a full fourteen-workflow walk still takes every declared option some walk can reach. Delivery falls 1,811 characters to 1,392,659, the first recording to fall. get_activity accounts for 1,611 of it and get_workflow 172, both prose the canon audit removed. get_resource rises 17, the one increase, from the single resource this walk reads that changed: the findings-report guide's layout section names the field order as a link rather than saying "above", which a reader given only that section could not follow. The binding-fidelity verdicts were made seventeen corpus commits ago, so the entries at risk are the ones whose cited file moved since. There is one, and its file gained a one-line removal of a phase citation by ordinal, which leaves the shared-op-return-contract reading intact. The stamp moves with it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
submit-for-review's body-non-conformant gate now makes provide-input an immediate exit, alongside the abort it already had. Answering that gate means the run leaves the activity and re-enters it with a corrected body, so the eleven steps after the gate do not run and the consequence the checkpoint states before the user chooses says so. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The Verify failure, and the fixOne test failed: That is the adopted corpus, and it is intended. The decisionless-checkpoint work added The abort exit at the same gate was already immediate and its assertion was already right, which is why only one of the two moved. Fixed by reading the expectation to match:
Why this reached CI rather than being caught locallyThe pull request body says the unit suite was still running when this opened. It was not going to finish. So the claim in the body — that the result would follow in a comment — was reporting on a signal that could not arrive. The suite is run above, and it passes. |
Summary
Definitions and code sit on separate branches, so a merged corpus reaches the code branch only when a commit here says so. This is that commit for
875a36dc, which is three merged pull requests onworkflows:Three files: the submodule pointer, the corpus stamp, and the delivery-cost fixture.
The walk baseline does not move, and that is the result
tests/e2e/option-coverage.jsonis unchanged, which is worth stating rather than passing over. The corpus gained checkpoint and gate changes — a task cycle that now stops when a symbol's provenance is unaccounted for, an isolation gate whose abort actually aborts, a gate that no longer asks a question with one answer. Reachability was the thing those could move, so the full fourteen-workflow walk ran: nineteen minutes, and every declared option is still reached by some walk.The walk reported one failure, and it is an artefact of the run rather than of the corpus: the stamp-freshness assertion read
corpus-sha.jsonat the moment the walk started, a minute beforenpm run baseline:stamprewrote it. That assertion compares two strings and walks nothing; the coverage assertion beside it passed on its own evidence.Delivery cost falls
get_activityget_workflowget_techniqueget_resourceThe first recording to fall. Almost all of it is prose the canon audit removed, delivered again in each activity that binds the operation holding it.
The single increase has a single source.
work-package/resources/findings-report.mdis the only resource this walk reads that changed, and its finding-layout section now names the field order as a link instead of saying "above" — seventeen characters that a reader given only that section could not previously follow. The section-grain citation changes in the same corpus pull request are inworkflow-designandplain-language, which this walk does not visit, so none of them appears here either way.Gate re-run against the re-recorded fixture: PASS at 0%.
The triage stamp, and what re-affirming it cost
The binding-fidelity verdicts were made against
131e2942, seventeen corpus commits back. A clean guard run on that much drift says the verdicts are old rather than that they are right, so the question is which of the sixty-four entries could have gone stale — and that is a diff, not a re-read of all of them.Sixty-five corpus files changed. Exactly one of them is a triaged site:
meta/techniques/workflow-engine/finalize-activity.md. Its change is the removal of a parenthetical citing a Protocol phase by ordinal, which touches neither the declared output nor who consumes it, soshared-op-return-contractstill reads correctly. The stamp moves to875a36dcwith it.Verification
Guard suite: 34 pass, 0 fail, 0 unmeasured.
Binding fidelity: 64 triaged as accepted debt, 0 live, 0 untriaged, 0 stale.
Option-coverage walk: every declared option reached, no exemption-list change.
npm run typecheck: clean.Delivery gate: PASS at 0% against the fixture this commit records.
Unit suite (
npm run test:ci): 1,139 passed, 2 skipped, 0 failed — after one expectation moved with the corpus. The comment below has the detail.Scope
The pointer, the stamp and the fixture. No source, schema or test-logic change.