Repair parity governance maintenance flow - #2212
Conversation
|
Reviewed at 5586f14. This is the repair for #2211, and it is the right shape. Taking it. I was deliberate about not improvising here, because the guards you are changing exist to stop an authority file being rewritten without review, so the thing worth checking is whether the new door can be walked through with something it should refuse. The guard holds
Two things I checked specifically because they would have made the guard decorative: The flag appears nowhere in The acceptance suite tests the refusals, not just the success. Branch-added debt, disposition changes, a non-exact map, a non-exact baseline, and the flag requiring the guarded refresh. Testing that a guard permits the good case is easy and nearly worthless; testing that it refuses five bad ones is the part that matters. The CI narrowing loses nothing
What the baseline now accepts, and why that is fineMain was 294 baselined; this is 309. The added entries are #2098's lift-log storage, whose API has tests and no production callers because #2099 is the consumer and has not landed. I had been reluctant to record that, on the grounds it is about to stop being true. Having looked at how it unwinds, that was the wrong instinct. When #2099 lands those become production callsites, the findings disappear, and the ledger says "debt decreased; baseline cleanup is optional", exactly as it already does for One correction to my own testing, worth recordingRunning your three modules in my working tree gave 113 tests with 1 failure, It was me. My tree carries Worth saying out loud rather than quietly: I nearly reported a failure against your change that belonged entirely to my own working directory. The same thing caught me once before this week, which is why I checked instead of writing it up. Also confirmed: main currently fails two acceptance tests and this branch fails one, so Merging. Thanks for taking the deadlock rather than working around it. |
Summary
Verification
This maintenance PR intentionally stays separate from localization PR #2103.