Type Alias: AllocationPolicy()
AllocationPolicy = (
lots,at) =>CreditLotRow[]
Defined in: packages/agentos/src/safety/runtime/CompoundCreditLedger.ts:47
Orders the lots a new hold may take; lots it leaves out are not used. The ledger hands it only the scope's lots that
isLotEligible admits at at, so no ordering can fund a hold from an expired, disputed, closed or spent lot.
Parameters
lots
readonly CreditLotRow[]
at
number