# Stabilization Fitness Review ## Decision AFK is fit for a deliberately bounded canary campaign after the repository test and lint gates pass. It is not yet evidence for another long unattended autonomy campaign. Round 3 remains frozen; this review made no target-project changes and launched no campaign. ## Scope This review tested the execution paths that can reach a worker or target command: - normal plan execution and resume; - campaign queue and best-of-N dispatch; - explicit manual retry; - deterministic review, recovery, decomposition, parent rollup, and campaign reconciliation. The review treated prior live-run findings as falsifiable hypotheses and changed AFK only where tests or local control flow confirmed them. ## Findings and disposition | Finding | Disposition | |---|---| | Runner and target Python were required to match | Removed. Both are independently resolved, fingerprinted, and persisted. | | Campaign and retry paths could bypass normal environment governance | Fixed with one canonical execution boundary used by every public execution path. | | Foreman decomposition could lose parent contract detail | Fixed with exact aggregate ownership, staged sibling dependencies, and acyclic dependency validation. | | Automatic decompositions could bypass the typed supervisor contract | Fixed by routing automatic and supervisor-approved proposals through the same child builder. | | Unchanged deterministic failures could consume repeated passes | Fixed with durable failure fingerprints and `repeated_failure` escalation. | | Review output was destructively truncated | Fixed. Display remains bounded while complete output and command metadata are persisted per attempt. | | Missing strict-mode lint baseline became an unrecoverable verifier tool failure | Fixed as a policy rejection that names `ruff_check` as the valid strict-mode alternative. | | Manual retry could leave its campaign permanently escalated | Fixed with guarded campaign reconciliation after the final escalated task resolves. | ## Fitness gates The stabilization is acceptable only while all of these remain true: 1. `pytest -q` passes from AFK's own environment. 2. Structured Ruff diagnostics introduce no new file/rule/message multiplicity over committed `HEAD`; existing brownfield debt is not treated as a stabilization regression. 3. The set of files failing `ruff format --check` does not expand over committed `HEAD`, and every newly touched format regression is repaired. 4. `git diff --check` reports no whitespace errors and editor diagnostics remain clean. 5. A future canary uses a disposable target, explicit target interpreter, bounded recovery, and a small task ceiling. 6. The canary confirms governance events, diagnostic artifacts, unchanged-failure stopping, branch cleanup, and campaign status reconciliation in a live provider run. ## Recorded validation Validation on 2026-08-27 produced: - 555 passing pytest tests; - 222 Ruff diagnostics versus 225 at committed `HEAD`, with zero introduced and three resolved; - 23 files requiring legacy Ruff formatting versus 29 at committed `HEAD`, with zero introduced and six resolved; - a clean `git diff --check` result and no editor diagnostics. Passing unit and integration tests establishes internal consistency; it does not establish model quality, product quality, or safe long-duration autonomy. Those remain live-run proof obligations.