C-320: a budget cut performs exit bookkeeping — exhausted is always Err, regions independent, placement unobservable (ALS-DT2) - #50
Merged
Conversation
…okkeeping — exhausted is always Err, regions are independent, cut placement and loop form are unobservable, runtime services are never metered; fixture pins the matrix, 0.58.0 violates rules 1-2 on both targets identically (stale ok(0) + cross-region poisoning)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adjudication of greenfield's stage-64 finding, taken under the delegated judgment (as with #28/#29). Requirements-first,
since = 0.60.0(tightened to a 0.59.x release if the maintenance line repairs it first — it is squarely リーク修理).Ruling (ALS-DT2, "cut の簿記"): a
fan.boundedcut runs the same meter bookkeeping as a normal region exit. Therefore (1) exhausted ⇒ Err, never a stale Ok; (2) regions are independent — meter state cannot leak between regions; (3) cut placement (direct-in-arm loop vs callee) and loop form are unobservable; (4) the meter charges the budgeted body only — runtime services (formatting, the??fallback) are never metered or cut.Measured on 0.58.0 (fixture
fuel_cut_in_arm_loop.almd, both targets byte-identical — the co-drift class agreement cannot see): expected6 6 -1 -1 6 6 -1 6 -1, actual6 6 -1 -1 6 6 0 0 0— a direct-arm cut returns stale ok(0) and poisons every later region, roomy or exhausted alike; callee-loop cuts are correct, which is why the pre-existing fuel fixtures stayed green. Filed as almide/almide#1572. The reference leg pins the values once the evaluator meters fan.bounded (its abstain ledger carries the class, 88 → 89, solo ratchet commit per the separation rule).🤖 Generated with Claude Code