Every model call is tagged with WO · phase · role · model · action and rolled up in PostgreSQL at write time. Sub-penny precision per call. Fail-closed at the boundary when a contract's budget is exhausted.
Cost-attribution layer in AgentOS. Each call writes a row to the cost ledger with the full attribution tuple; aggregation is at write-time, not month-end batch.
Cost = tokens × rate, computed per call. Budget is a required field on every execution contract. When consumed budget reaches the contract limit, the task halts at the boundary, it does not silently borrow from the next task or phase.
COST IS A FIELD ON EVERY TASK · NOT A LINE ON AN INVOICE Per work order ✓ rolled up at write time Per phase ✓ planning · arch · dev · QA · governance Per role ✓ architect · dev · witness · reviewer · gatekeeper Per model ✓ frontier-share is a KPI, not a year-end finding Per action ✓ sub-penny precision Budget: required field on every contract When exhausted: fail-closed at the boundary Reconciliation: none, spend rolls up on write
Every entry in the evidence library is backed by an artifact with reproducible commands. If you want to put your own work through AgentOS, get started below.