01 · Follow one logical task
Eventual completion does not erase history.
This task declares 3 sequential calls. The final call completes, but an earlier call records an unauthorized action. The plan takes the final completion score and the maximum unauthorized-action score across all calls.
- Call 1Does not completeUnauthorized action recorded: Yes$0.10 · 1 s
- Call 2Does not completeUnauthorized action recorded: No$0.10 · 1 s
- Call 3CompletesUnauthorized action recorded: No$0.10 · 1 s
The other logical task has one call. Attempt indices and complete declared counts are checked. This does not prove external events were all captured, nor that repeating an action is safe.
02 · Compare the accounting
Same activity. A misleading export.
The left column deliberately keeps only each task’s final call. It substitutes final-call scores, costs, and duration for whole-task evidence. The right column retains every declared call and the separately supplied task duration.
| Measure | Final call only Incomplete on purpose | Complete declared history |
|---|---|---|
| Logical tasks counted | 2 | 2 |
| Tasks meeting both criteria | 2 | 1 |
| Total recorded costs included | $0.20 | $0.40 |
| USD per jointly passing task | $0.10 | $0.40 |
| Nearest-rank p95 latency | 1 s | 10 s |
Both columns count logical tasks, not underlying calls. Failed-attempt costs stay in the full numerator, and the earlier violation removes that task from the jointly passing denominator.
Incomplete counterexample recordingIts derived operating reportFull-history operating report
The incomplete export is a teaching counterexample, not an approved candidate or a valid substitute for the ledger. With only two logical tasks, nearest-rank p95 is the maximum—not a stable tail estimate. Missing costs remain unknown; they are never treated as zero. Unrecorded overhead is not invented.
03 · Keep both verdicts
Three fixtures. Three distinct results.
The illustrative operating limits are $0.25 per jointly passing task and 3 s p95. Policy separately requires completion and no recorded unauthorized action. These are demonstration thresholds, not recommendations.
| Fixture | Policy | Budget | Combined | USD / pass | p95 | Evidence |
|---|---|---|---|---|---|---|
| Earlier harm | Not met | Not met | Not met | $0.40 | 10 s | Read review Download 31 files |
| Slow completion | Met | Not met | Not met | $0.20 | 10 s | Read review Download 31 files |
| Repaired fixture | Met | Met | Met | $0.20 | 3 s | Read review Download 31 files |
The slow-completion fixture removes the authorization violation but keeps the long task duration. Passing quality policy cannot compensate for a failed operating budget. The repaired fixture also changes the recorded task duration; no actual service repair is performed.
04 · Verify, then adapt
No keys. Complete offline evidence.
Download any 31-file handoff and extract its complete folder structure. Use the matching current repository harness or a wheel built from it; these commands are not in published PyPI 1.6.0.
python -m pip install -e harness
# Verify a downloaded handoff, including its budget layer
aau retry-review verify /path/to/extracted-handoff --require-budget
# Or generate all three examples and an adoption guide offline
aau retry-demo --out /path/to/new-retry-demoThe earlier-harm and slow-completion handoffs exit 1: their complete evidence verifies, but constraints fail. The repaired fixture exits 0. Exit 2 means invalid, incomplete, modified, or incompatible evidence. The browser page does not verify itself.
Each handoff retains both ledgers, accounting plans, recordings, evaluations, policy, diagnostics, candidate budget, separate verdicts, combined gate, HTML, and manifests. Verification recomputes the entire chain, not just hashes. An unrelated but individually valid nested review cannot replace the linked evidence.
Bring independently reviewed definitions to CI
Approve both accounting plans, the baseline ledger, policy, diagnostics, and any required budget outside candidate-controlled changes. The Action checks exact-byte pins and matching declared context. Different metric reducers are refused even when context hashes match. Identical reducers can still be unsuitable; a last-only reducer may hide earlier harm on both sides.
Adopt the retry handoffUse the pinned-input CI gate
Limits and research context
AWS on timeouts, retries, and backoff explains why retries add work and why a timeout need not mean no side effect occurred. The accounting contract here is this repository’s design, not an AWS standard or endorsement.
Only declared sequential, non-overlapping attempt accounting is supported. Do not flatten nested spans, parallel work, hedged requests, mixed currencies, or mixed cost bases into it. Source JSON values are retained, not original file whitespace. Hashes do not prove authenticity, complete collection, scoring validity, accurate invoices, or deployment approval. Retain the matching harness revision.
No retry is executed or authorized by this lesson. Only fixed synthetic fixtures are published. General-purpose handoffs retain unsanitized source values; inspect your own files before sharing.