Failures, Budgets, and Timeouts
Exercise timeout, retry exhaustion and cancellation; record incomplete work without reporting success.
Every Project 01 attempt runs under three clocks. The supervisor in the
candidate implementation allows 5 seconds for startup, 10 seconds for
execution and 2 seconds for cooperative drain. It may then attempt worker
termination (examples/pi-harness-lab/src/supervisor.ts,
DEFAULT_WATCHDOGS = { startupMs: 5000, execMs: 10000, drainMs: 2000 }).
The execution deadline actually applied is the smaller of the task’s own
timeoutMs and that default. When a clock expires, the supervisor does not
report “failed” in general. It reports which failure: STARTUP_TIMEOUT,
EXECUTION_TIMEOUT, STARTUP_CRASH, WORKER_CRASH or
WORKER_CHANNEL_FAILURE, chosen by whether the worker had reached the
running phase and whether its process had exited. Other supervisor paths
record WORKER_EXCEPTION, MALFORMED_WORKER_RESULT,
LATE_WORKER_MESSAGE, ASSEMBLY_FAILURE and RECORDING_FAILURE.
These are distinct from normal worker stop reasons and from cleanup status. A tool-budget exhaustion
is classed by the host alongside provider unavailability, runtime
exceptions, hangs and unresolved settlement as an execution failure
(host.ts, EXECUTION_FAILED_STOPS).
Those details are ordinary engineering. They are also where most agent systems quietly go wrong. A run that stops at a deadline has usually done some work. It has used some budget, possibly more than its limit. It may have left an effect in flight (Chapter 10). And it may have produced a partial answer that reads well. The temptation is to report the run by its most presentable property, the partial answer, rather than by its status. This chapter is about designing budgets, deadlines and failure records so that an incomplete run is recorded as incomplete: with its spend, its reason for stopping and whatever evidence it produced, and never as a success.
Evidence status. Draft manuscript. No checkpoint. Project 01’s watchdogs and stop classifications are OBSERVED by source inspection of the working-tree candidate, which independent review (HARNESS-PROJECT-01-REVIEW-02) rejected for offline acceptance on other grounds. They are not accepted behaviour. Project 01’s budgets cover tool calls, bytes and wall-clock time only. It has no token or monetary budget, because it runs a scripted provider. Pi facts come from R02 source inspection (Established for the inspected 1.6.0 artifact; TEST NOT RUN). The educational ledger demonstrations D17-JOURNAL-01 and D17-SPEND-01 are implemented and executed (
examples/pi-harness-lab/src/ledger.ts;test/ledger.test.ts, 12/12 pass offline on real files). The formal fault study (§17.8) is the remaining EXPERIMENT PENDING study. Numerical worked examples below are executed through the ledger, not hypothetical.
17.1 What a budget is, and the two ways it is enforced
A budget is an explicit limit on a resource that a run may consume: wall-clock time, attempts, tool calls, bytes returned to the model, model tokens, money, or human review minutes. Chapter 3 put budgets in the run contract and noted that a declared limit is not an enforced one. This chapter develops the enforcement side.
Resources divide by when their cost becomes known.
- Pre-dispatch resources can be checked before the spending action.
Tool calls, attempts and elapsed time are of this kind. The harness
knows the count before it allows the next call, so it can refuse in
advance. This bounds admitted executions, not the count of refused
attempts. Project 01’s tool handler does this: every
attempted call increments the counter first, and a call beyond the limit
receives
BUDGET_EXHAUSTEDinstead of executing (tools.ts,invoke). - Post-dispatch resources are known only after the action. A model
request’s output tokens, and therefore its price, are determined by what
the model generates. Bytes returned by a tool fall in between. Project
01’s handler produces the result, measures it, and replaces it with a
BUDGET_EXHAUSTEDerror if it would cross the byte limit, so the model does not receive the oversized successful result. The work of producing it was still done. Bounded error diagnostics are themselves charged after the check, sobytesOutmay exceedmaxBytes; attempted-call counts also include refused calls. These counters are not strict caps on all emitted bytes or all attempted invocations. Wall-clock watchdogs also depend on scheduling and shutdown latency; pre-dispatch admission does not promise an exact physical elapsed-time ceiling.
The distinction matters because the obvious check for post-dispatch
resources (“stop when you have spent the budget”) guarantees overshoot.
R02 records the same limitation for Pi from the runtime side: post-response
token accounting can overshoot, the adapter supplies no hard token or spend
cap, and session statistics aggregate all entries, so they are “neither
current-context usage nor an invoice” (R02-PI.md C10 and the unsupported
seams list; Established for the inspected artifact).
17.2 Deriving a conditional budget bound
Consider a token budget C for a run. The naïve rule is:
Rule N. Dispatch the next model request if
spent < C.
With one request in flight, dispatched when spent = C − 1, and a
request bound of I input plus O output tokens, the run can end at
C − 1 + I + O. Hypothetically, 59,999 + 30,000 + 8,000 = 97,999
against a 60,000 ceiling: 37,999 over, or 63.33%. Without a limit on
concurrent requests even this one-request overshoot bound does not hold.
Checking a projection is necessary, but checking alone is insufficient. Suppose two requests each project 35,000 tokens against an empty 60,000 ledger. Both can pass a scalar check before either finishes. Reserving the first request’s 35,000 atomically with admission makes the second observe only 25,000 available, so it is refused.
Rule P (PROPOSED). Inside one host-ledger transaction, reserve p only if
committed + outstanding + p ≤ C, wherep = ceil((1 + m) × estimatedInput) + outputCap. Dispatch only after the reservation is durable enough for the declared recovery model. Each request has one reservation ID; retries reserve anew.
Here committed is reconciled consumption, and outstanding is the sum
of live reservations, including those with unresolved usage. Completion
atomically replaces one reservation with its actual cost and releases the
unused difference. A duplicate completion cannot charge or release twice.
Cancellation releases capacity only when non-dispatch or a safe final
usage bound is established. Unknown usage stays null, its reservation
stays held, and new admission stops with proposed USAGE_UNKNOWN until
reconciliation. A process exit alone does not reveal earlier billing.
All terms must have the same accounting unit. In this token example,
C counts provider-billed input plus output tokens; estimatedInput is a
local estimate converted to that unit, and dimensionless m supplies an
upper allowance. The input bound must cover provider-added messages,
tool schemas and other billed material. outputCap must bound all
billed output, including reasoning tokens where billed, not just visible
text. A request’s max_tokens parameter is useful only if its pinned
provider semantics establish that bound. Model-context tokens, local
tokenizer counts and billed tokens are not interchangeable by name.
The conditional bound follows by induction: start at zero, admit only a reservation that fits, and replace it only with actual consumption no larger than that reservation. It requires three assumptions: a valid billed-input upper bound, an honoured bound on every billed output, and serialized admission or atomic reservations across every spender. An in-memory demonstration supports one process only. Concurrent hosts or crash recovery require one authoritative ledger with atomic, recoverable updates, not independent copies of a balance.
If input exceeds its allowance, output exceeds its bound, or reconciliation
finds actual cost above its reservation, the proposed terminal condition is
MARGIN_BREACH: retain the actual cost and overshoot, stop new admissions,
and reconcile. A breach invalidates the bound’s assumptions; detecting it
after the response does not prevent consumption already incurred. If the
provider offers no defensible billed-unit bound, call this estimated
budgeting, not guaranteed provider spending control.
Rule P also leaves unused headroom when the next projected request does not fit. That is the price of conservative admission, not wasted tokens secretly available to another request. All arms in a comparison must use the same declared rule.
The ledger is not an invoice. R02-C13 records separate provider retries and the need to instrument exact attempts and billing. Hidden billed retries or delayed usage can exceed local reservations. A provider-side account limit, if available and qualified, is a different enforcement boundary. Do not infer it from Pi session statistics.
Money requires a price function, not one token multiplier: for example
input × inputRate + output × outputRate, with separately declared cache,
reasoning and request charges where applicable. Pin the dated tariff,
currency, rounding and any conversion, then reserve a conservative amount
in that currency. R02 notes provider-cost provenance in Pi 1.6.0; compare
that report with the computation and eventual billing, preserving any
disagreement.
17.3 Deadlines form a hierarchy
Time budgets nest. A run has an overall deadline. Each workflow state (Chapter 13) has its own. Each model request and tool call has a timeout. A well-formed hierarchy satisfies two invariants:
- Containment. No inner deadline extends beyond its outer one. A tool timeout longer than the remaining state deadline lets the state overrun.
- Room to stop. Each level reserves time for its own shutdown: the cooperative abort, the drain and the evidence write. A deadline that expires exactly when work must be persisted leaves no time to persist it.
Project 01 implements part of the second invariant. Its 2-second default allows cooperative abort/drain; finalization also waits for exit and may wait again after killing the child. The 5/10/2 constants are phase watchdogs, not a strict 17-second end-to-end bound. Persistence follows cleanup without a separately reserved evidence-write deadline. A complete room-to-stop contract would reserve that window too.
The inspected source records cleanup: "UNCONFIRMED" and sets
contextDenied when exit cannot be confirmed. STOP_UNCONFIRMED is the
offline contract §4 term, not a literal stop reason currently emitted
by supervisor.ts. The policy denies further attempts in that context;
it does not establish that an external effect was cancelled. Chapter 10 explained why
cancellation is not rollback. Here the point is narrower: stopping is
itself a phase with a budget, and that budget must be reserved, not
taken from whatever remains.
Deadlines also create failures. A timeout during a tool call that has
effects leaves an ambiguous effect (Chapter 10). A timeout during a model
request leaves unknown token usage, since the provider may have generated
and billed output that never arrived. The failure record must carry both
kinds of uncertainty explicitly. Usage that cannot be determined is
recorded as null, not zero. That is the rule from Chapter 3 §3.6, and
the candidate’s README claims it for failed children.
17.4 Retries are a budgeted policy
A retry is a decision to spend more of a budget on the same goal. It therefore belongs to the control policy (Chapter 13), and it is charged to the same ledger.
Three questions decide whether a failure is retried:
- Is it retryable? Transport failures and provider overloads often are. Validation errors, policy denials and budget exhaustion are not: retrying them produces the same refusal at extra cost.
- Is it safe? For effects, safety is the Chapter 10 question: idempotent, deduplicated within retention, or reconciled first.
- Is there budget? Every retry passes the same admission rule as the original attempt. A retry that would break Rule P is refused, and the run records exhaustion rather than trying anyway.
Pi has retries of its own. R02 records that session retry is enabled by default with a maximum of three, and that provider retry is configured separately (C13). For measured runs, Project 01 disables both and asserts the effective settings (Chapter 3). A harness that keeps them enabled has two retry policies, one of which it cannot see. Its ledger must at least count what the runtime reports, and the contract must say that runtime retries are part of the treatment.
Retry exhaustion is a distinct terminal condition, not a timeout and
not a task failure. It means the policy’s allowance was used up, and the
record should say so, with the attempts listed. R03’s proposed invalid-run
rules for Repo Scout make the same distinction for analysis. Provider
outages receive an explicit infrastructure label, intention-to-run results
are reported, and costly failed trials must not be quietly dropped from
cost denominators (R03-HARNESS-RESEARCH.md, proposed invalid-run rules;
PROPOSED).
17.5 Recording incomplete work on two dimensions
Chapter 15 proposed two independent dimensions for judging a run: a
task evaluation (PASS, FAIL, REVIEW, UNKNOWN) and execution
acceptance (ACCEPTED, REJECTED, INCOMPLETE). Stopped runs are where
the two dimensions most clearly earn their separation. The proposed
treatment below is PROPOSED, extending §15.6:
| Stop condition | Execution acceptance | Task evaluation | Reason |
|---|---|---|---|
| Blocked before start (preparation rejected, budget too small to admit the first request) | INCOMPLETE |
UNKNOWN |
No work was attempted, so nothing can be said about the task |
| Deadline or budget exhausted, no deliverable | INCOMPLETE |
FAIL if the contract makes delivery within budget a task criterion; otherwise UNKNOWN |
The absence of a deliverable is established; whether that counts as a task failure is a contract decision, registered in advance |
| Deadline or budget exhausted, partial deliverable | INCOMPLETE |
Evaluate the partial deliverable as submitted; never PASS on parts not delivered |
Partial credit must be explicit in the task criteria, not inferred |
| Retry exhaustion after infrastructure errors | INCOMPLETE, infrastructure-labelled |
UNKNOWN |
Analysis must report it under intention-to-run, not drop it |
| Stop unconfirmed (worker may still be running) | REJECTED |
Evaluate the deliverable if one exists | Execution cannot be accepted while an actor may still act |
| Recording failure (evidence not persisted) | REJECTED |
Retain any independent task judgment | Project 01 keeps independent task truth under storage failure (Chapter 4) |
Worker exceptions, malformed results, late messages, assembly failures and
recording failures must retain their distinct source labels. Invalid or
missing evidence makes the affected task judgment UNKNOWN; an independent
oracle judgment can survive on its own evidence. An incomplete execution
can therefore coexist with task PASS when all registered task criteria
are independently established. Neither a fluent fragment nor the stop code
alone establishes that. A budget breach rejects execution; exhaustion
at an enforced boundary can leave it incomplete without proving task failure.
The second row deserves a comment. Is “ran out of budget without an answer” a task failure? From the user’s side, yes: the task asked for an answer under a budget, and none came. From the evidence side, the record cannot show that the agent would have failed with more budget, and an analysis that reads it as a capability failure overreaches. The book’s resolution is to make the choice part of the run contract (Chapter 3), so that it is fixed before outcomes are seen and applied identically to every arm.
Project 01’s own record format predates this two-dimensional proposal, and
it does something worth noting. Its single TaskVerdict enumeration
includes EXECUTION_FAILED and EXECUTION_BLOCKED alongside
VERIFIED_CORRECT and VERIFIED_INCORRECT (contracts.ts, TaskVerdict,
lines 155–163 in the inspected working tree). Execution conditions are
encoded as task verdicts, even though the same record also carries a
separate runState, traceVerdict and cleanup. That is a
source-inspection observation, not a defect finding, and the candidate is
in correction for other reasons. It is the kind of mixing that Chapter
15’s proposal separates. It is recorded here as a review candidate for the
implementation stream (see this commission’s claims register), not acted
on.
17.6 Ownership: who decides what
Budgets and deadlines cut across every component, and they fail quietly when ownership is vague.
| Mechanism | Owner | Information required | May decide | Must not |
|---|---|---|---|---|
| Admission rule (Rule P) | Host | Ledger total, input estimate, output cap, margin | Refuse a request | Rely on the model to stop itself |
| Tool budget check | Tool handler | Per-attempt counters | Refuse a call, charge diagnostic bytes | Return partial content silently |
| Deadline hierarchy | Supervisor | Phase start times, reserved stop windows | Request abort, then terminate | Declare cleanup without confirmation |
| Retry policy | Host control policy | Failure class, effect safety, remaining budget | Retry, escalate, or stop | Retry non-retryable or unsafe operations |
| Usage ledger | Host, reconciled with runtime and provider reports | Per-request counts; unknowns as null |
Report spend and uncertainty | Convert unknowns to zero |
| Outcome record | Evaluator and supervisor | Stop reason, deliverable, independent evidence | Assign both dimensions | Infer accepted completion from task PASS; infer task FAIL solely from interruption |
Could ordinary software do all of this? Yes. Every row is a counter, a timer or a table lookup. None of them requires a model, and none of them should consult one. The model’s only role is to produce work inside the limits, and perhaps to be told how much budget remains. Even that is an interface decision (Chapter 5) with consequences for the model’s behaviour that remain to be measured.
17.7 Worked example: a ledger refusing the fifth request
This section is an executed educational demonstration, combining D17-SPEND-01 (the Rule P spend ledger) with D17-JOURNAL-01 (the durable event journal that records every stop). A run has a token budget C = 60,000 (the per-run ceiling R03 proposes for a Repo Scout pilot), an output cap of 8,000 per request, and an input-estimate margin m = 0.10. Each request resends a growing history. This table is a serialized demonstration: each response is reconciled before the next admission, so outstanding reservations are zero at every displayed check. The billed-unit upper bounds in §17.2 are assumed for these scripted inputs; the ledger checks them on every request rather than trusting them.
| Request | Estimated input | Projected check: spent + 1.1 × est + 8,000 | Decision | Actual input + output | Spent after |
|---|---|---|---|---|---|
| r1 | 4,000 | 0 + 4,400 + 8,000 = 12,400 | Send | 4,050 + 700 = 4,750 | 4,750 |
| r2 | 6,000 | 4,750 + 6,600 + 8,000 = 19,350 | Send | 6,100 + 900 = 7,000 | 11,750 |
| r3 | 9,500 | 11,750 + 10,450 + 8,000 = 30,200 | Send | 9,600 + 1,200 = 10,800 | 22,550 |
| r4 | 13,000 | 22,550 + 14,300 + 8,000 = 44,850 | Send | 13,200 + 800 = 14,000 | 36,550 |
| r5 | 15,500 | 36,550 + 17,050 + 8,000 = 61,600 | Refuse (61,600 > 60,000) | — | 36,550 |
The table above is the measured output of SpendLedger
(test/ledger.test.ts, “admits r1–r4 and refuses r5”): spent 36,550,
r5 refused with PROJECTED_OVER_CEILING, spend unchanged. Reproduce it
with npm --prefix examples/pi-harness-lab test.
The run stops at 36,550 tokens, with 23,450 unspent. That is the guarantee’s price: the projected cost of r5 was 25,050 (17,050 + 8,000), and Rule P will not gamble on r5 using less. Under Rule N, r5 would have been sent (36,550 < 60,000). Its actual cost is unknown here, but its conditional bound was 25,050, so Rule N’s worst case for this run was 61,600, an overshoot of 1,600. The overshoot is small in this example only because the history was still short. The §17.2 example shows how large it can grow.
In every request above, the actual input exceeded the estimate, by between 50 and 200 tokens. All of those differences fell well inside the 10% margin. If any actual input had exceeded 1.1 × its estimate, Rule P’s guarantee would have been void for that request. The ledger must record estimate and actual side by side, so that this assumption is checked on every request rather than trusted.
The spend-ledger interface below is the implemented Rule P. It is a single-process serialized admission control, not a concurrent or crash-safe store (see the limits at the end of this section). Project 01 has no token ledger.
// Implemented in examples/pi-harness-lab/src/ledger.ts (D17-SPEND-01, executed).
class SpendLedger {
// One serialized transaction checks committed + outstanding + bound <= ceiling,
// rejects USAGE_UNKNOWN/MARGIN_BREACH states, and records a unique hold.
reserve(requestId: string, bound: number):
| { ok: true; reservationId: string }
| { ok: false; reason: "PROJECTED_OVER_CEILING" | "USAGE_UNKNOWN" | "MARGIN_BREACH" };
// Idempotent: actual replaces the hold, null retains it and blocks admission.
// actual > bound records MARGIN_BREACH and halts.
reconcile(reservationId: string, actual: number | null): void;
}
The USAGE_UNKNOWN branch is the safety condition that simple examples
omit. After a timeout or transport error, the previous request’s usage may
be unknown. Rule P then cannot prove that the next request fits, and the
honest response is to stop — executed in the suite (“unknown usage
retains its hold and stops admission”). The alternative is to resume with
a guess, and then the ledger is no longer a guarantee. Duplicate
completion is idempotent (reconciling twice charges once), actual costs
above the bound record MARGIN_BREACH with the spend retained rather
than hidden, and two concurrent 35,000 reservations against 60,000 admit
exactly one.
The journal behind the ledger. The spend ledger answers “may I spend?”
The event journal answers “what happened?” Every admission, refusal,
reconciliation and stop reason above is also an event the harness can
persist. D17-JOURNAL-01 (EventJournal in the same file) is the
small file-backed journal that demonstrates the discipline: append-only
JSON-lines with explicit event identity, task identity, type, sequence
and payload; reopening replays exactly the persisted prefix; identical
duplicates are idempotent; conflicting duplicates are rejected; sequence
gaps, corrupt lines and torn final lines fail closed with no partial
state; terminal tasks refuse later effect events; unknown event types
stay in the record without entering the projection. That last pair is
Chapter 4’s record-versus-projection distinction in miniature: the
current state is a projection of recorded events; the record and the
projection have different responsibilities.
The journal’s demonstrated guarantees are narrow and stated precisely: sequenced file persistence per append (with an OS flush requested), exact-prefix replay on reopen, fail-closed loads, and terminal-state protection enforced by the caller-side guard. Not demonstrated: crash-atomicity of a single append (a torn write fails the load rather than healing it), power-loss durability, concurrent multi-process writers, or real provider billing. Recovery, in this design, means replaying the persisted prefix into a fresh projection — and refusing to construct any state when the record itself cannot be trusted.
17.8 Study: faults at every stop point
The chapter brief asks to exercise timeouts, retry exhaustion and cancellation, and to record incomplete work without reporting success. The design is PROPOSED; EXPERIMENT PENDING.
- Research question. Do the harness’s stop paths produce correct,
honest records? Specifically: correct stop reasons and independent verdict
dimensions, a single terminal record, unknowns as
null, and no false accepted completion. - Hypothesis. Every injected fault yields a record that matches its expected classification exactly.
- Alternative hypothesis. Some stop paths misclassify, double-record, zero-fill unknowns, or report success.
- Independent variable. Fault type and injection point:
- deadline expiry in startup, model request, tool call and drain;
- budget exhaustion at a tool call and, with a scripted usage model, at a model request;
- retry exhaustion after scripted transport errors;
- cooperative cancellation requested mid-tool;
- a hung worker that ignores cancellation;
- storage failure during the terminal write;
- two simultaneous 35,000 reservations against 60,000 (exactly one admitted);
- duplicate completion, unknown usage and delayed reconciliation;
- billed input/output above their declared bounds (
MARGIN_BREACH).
- Dependent variables. Stop reason; task evaluation; execution acceptance; number of terminal records; usage fields; partial-deliverable handling; and, for the ledger, maximum spend relative to C.
- Controls. The same scripted provider and fixture for every fault, and a no-fault positive control. The expected records are authored before running, independently of the implementation.
- Fixture. The Project 01 synthetic fixture, or a successor, with a scripted provider that emits usage figures and can be told to delay, error or hang at a chosen request.
- Evaluation. Deterministic comparison of each actual record with the pre-authored expected record.
- Failure criteria. Any accepted completion without its required
lifecycle/evidence; unsupported task
PASS; unknown usage replaced by zero; duplicate terminal accounting; over-admission while the declared bounds hold. Injected bound violations must recordMARGIN_BREACH, actual consumption and halted admission. Such a violation tests detection, not a promise to undo already incurred overspend. - Threats to validity. A scripted provider’s usage figures are invented inputs, so the study tests the harness’s arithmetic and classification, not real provider accounting. A live follow-up must measure real tokenizer disagreement (the m assumption) and real provider-billed versus ledger-counted usage.
- Status. The formal study has not started. The supervisor and tool-budget paths that it would exercise exist in the rejected Project 01 candidate. The spend ledger and event journal exist as executed educational demonstrations (D17-SPEND-01, D17-JOURNAL-01); the timeout, hang, retry-exhaustion and storage-failure injections do not.
Most of this study is deterministic. That is deliberate. Whether a harness records a timeout honestly does not depend on which model it runs.
17.9 Failure modes
- Spend-then-check. Rule N used and described as a hard cap. Defence: Rule P, or an honest statement of the overshoot bound.
- Unknown as zero. Failed requests counted as free. Defence:
null, plus theUSAGE_UNKNOWNadmission stop. - No room to stop. A deadline expires at the moment evidence must be written. Defence: a reserved drain and persist window at each level.
- Invisible retries. Runtime or provider retries outside the ledger. Defence: disable them, or count them and declare them part of the treatment.
- Partial answer presented as success. A well-written fragment is
reported as the result. Defence: execution
INCOMPLETE, and task evaluation only of what was delivered, under pre-registered criteria. - Dropped failures. Exhausted or infrastructure-failed runs are excluded from cost totals. Defence: intention-to-run reporting with infrastructure labels.
- Verdict mixing. Execution conditions encoded as task verdicts. Defence: Chapter 15’s two dimensions.
17.10 What you can build and test now
D17-SPEND-01 and D17-JOURNAL-01 already implement the core loop: atomic
reserve/reconcile with estimate-vs-actual checking (replay the §17.7
table through it and confirm the refusal at r5), the USAGE_UNKNOWN
stop, MARGIN_BREACH detection, idempotent reconciliation, an
append-only journal with exact-prefix replay, fail-closed corrupt and
truncated loads, and terminal-state protection. Extend them with the
scripted deadline, hang and retry-exhaustion faults of §17.8, the §17.5
table as stop-condition fixtures, and containment + stop-window checks
for every deadline in the hierarchy.
17.11 What remains unverified
- Real tokenizer disagreement against any provider, and therefore a defensible value of m (UNKNOWN).
- Provider-side retry billing and its reconciliation with the ledger (R02 C13; UNKNOWN).
- Whether the second row of §17.5 should default to
FAILorUNKNOWN. That is a contract choice for the author. - Project 01’s stop classifications are inspected in a rejected candidate. They will need re-confirmation after correction.
- The §17.8 fault injections (deadline expiry at each stop point, hung workers, storage failure during the terminal write) and any multi-process or power-loss durability claim.
EXPERIMENT PENDING. The formal §17.8 fault study has not run; D17-SPEND-01 and D17-JOURNAL-01 are executed educational demonstrations of the ledger mechanism and the record/projection discipline, not that study.
Capstone connection. The reliable-execution capstone depends on this chapter’s stop-path records. The economic-orchestration capstone depends on the ledger, because comparing local, free and paid models is meaningless without spend that is bounded and reported honestly. Both need §17.8’s study to have passed first.
Budgets and stop records make individual runs honest. They do not yet make comparisons between runs fair: same tasks, matched budgets, registered factors and contrasts, with uncertainty reported. Chapter 18 turns from the single run to the comparison.
Previous: Chapter 16: Independent Review and Bounded Repair.