test-driver/research/hypotheses/H-002-mechanical-adaptation.md

41 lines
1.3 KiB
Markdown
Raw Normal View History

---
id: H-002
title: Mechanical Adaptation
status: PROPOSED
created: "2026-08-22"
experiments: [E-001]
concepts: [C-adaptation]
---
# H-002 — Mechanical Adaptation
## Claim
An agentic driver can recover from a mechanical implementation change without
modifying the semantics of the protected use case.
## Falsification condition
Either:
- the driver fails to recover from a majority of labelled `MECHANICAL` mutations
(recovery is not achievable in practice); **or**
- recovery is achieved only in runs where claims or invariants were altered
(recovery is achievable but not semantics-preserving).
The second branch matters more than the first. A high recovery rate purchased by
weakening assertions falsifies this hypothesis just as decisively as no recovery
at all.
## Measurement
- Mechanical Recovery Rate over `MECHANICAL`-labelled mutations.
- Claim/invariant diff per run — expected to be empty by construction
(`docs/TestDriverClassificationDesign.md` D-02). Any non-empty diff is both a
falsification signal **and** a framework defect, since no write path should exist.
## Status log
- 2026-08-22 `PROPOSED`. Design decision D-02 makes the second falsification
branch structurally unreachable; the measurement is retained anyway, as an
assertion that the architecture is what we believe it is.