pickChild
Make one pick at parent: seat the newborns and clamp the wakers exactly as schedule does, reading waiting, then choose one child among those eligible wants, on the seated state. Nothing is delegated: the caller delegates ChildPick.grant on ChildPick.ledger, which every child of parent is already seated on, so that delegation cannot hand a newborn the lifetime credit an unseated delegation would (#1752).
The two views are separate because a lease is for one slot. A child that is waiting but cannot run on this slot is still competing: it must count toward the front a newborn is seated at, and it must be observed as demanding, so that when a slot it can run on comes up it is not clamped as a waker. Feeding eligible to the wake step instead would forfeit the turn of every child that merely could not run on the last few slots.
The size of the grant is whatever eligible's Demand.maximumUsefulGrant says, trimmed as HeddlePolicy.pick trims it, so a lease's reservation rides there and the allocator's own PolicyConfig.quantum can be left unbounded. The deadline is then ev + reservation / w.
The wake memory advances whether or not a child is picked: a pick that finds nothing still observed who was waiting. The returned ledger is a new value; ledger is not changed.
It clamps a waker past the front by its edge's EdgeSummary.outstanding, what was delegated down it and is neither spent nor handed back, as every engine's wake step does (#3721). So a caller that composes this with delegations of its own still in flight is not forgiven that work, and a refund of it lowers the waker from there.
Return
the seated ledger and the grant, or null when no child can be granted anything: none is eligible, none is seated, parent holds nothing, or the seat and wake step there would pass the position limit (pickChildStep tells that one apart).
Parameters
each child edge's appetite for the seat and wake step: Demand.NONE for a child that wants no service at all.
each child edge's appetite for this pick: Demand.NONE for a child that cannot take this grant. A child eligible wants should also be one waiting wants.