Loop Hardening Contract
Use this contract after loop-readiness-review when repeated delivery needs tighter execution evidence. It is a review and packet format, not a runner or scheduler.
1. Harness Stripping
Remove harness complexity only through an isolated, one-component experiment:
- Record the component, its intended failure mode, and its operating cost.
- Capture a representative baseline for completion, verification, cost, and failures.
- Disable exactly one non-safety component between runs, never during a live run.
- Repeat the same bounded case and classify
REMOVE, RESTORE, HARMFUL, or INCONCLUSIVE.
- Retain the evidence and human settlement decision.
Never strip sandboxing, budgets, stop conditions, human gates, root verification, or protected-data boundaries.
2. Runtime-Path Sprint Packet
Freeze this packet before execution:
sprint_id and version;
- one concrete deliverable;
- 3–7 observable acceptance predicates;
- the actual runtime path to exercise;
- explicit out-of-scope items;
- owned files or write boundary;
- stop conditions and budget;
- verification commands, device/browser steps, and expected evidence.
The executor cannot accept its own result. A mid-run requirement change creates a new packet version with a reason and explicit human confirmation.
3. Broken-Window Revalidation
Before a new sprint, re-run the latest accepted result through its real runtime path:
STILL_GREEN: the accepted predicates still pass;
REOPENED: a previously accepted predicate now fails;
INCONCLUSIVE: the required runtime or evidence is unavailable.
On REOPENED, stop new work, retain the evidence, reopen the result, and propose a bounded repair. Do not auto-revert. A revert may erase useful subsequent work or hide the causal change and therefore requires an inspected, human-approved settlement.
Compilation is not Cardputer device proof. Unit tests are not browser or production proof when the accepted claim names those runtime paths.
Output
Return:
- sprint packet version;
- revalidation status and evidence;
- harness experiment and classification, if any;
- root verification result;
- settlement:
accept, revise, repair, restore, or inconclusive;
- remaining risks.
Guardrails
- Keep the contract opt-in and bounded; do not install Loopkit or add scheduling.
- Do not auto-revert, auto-commit, auto-merge, deploy, release, or publish.
- Do not use source inspection as runtime-path evidence.
- Root verifies integration; executor prose is evidence, not acceptance.
- Prefer a one-shot checklist when the work is not genuinely repeated.
Pair With
loop-readiness-review for readiness level, state, isolation, and human gates.
bounded-evaluation for representative fixtures and comparison rubrics.
bug-evidence-protocol for captured red-to-green command evidence.
git-native-context-contract cpat records for recurring failure prevention.
bounded-orchestration-contract when execution is delegated across disjoint file scopes.
Provenance
Adapted from Archive228/loopkit sprint, broken-window, and harness-evolution ideas. The ABVX version removes the autonomous runner, transcript scraping, self-declared completion, automatic rollback, broad installation, and unpinned runtime dependencies.
1---2name: loop-hardening-contract3description: Harden repeated delivery loops with evidence-based harness stripping, immutable runtime-path sprint packets, and broken-window revalidation without automatic revert. Use for Cardputer, browser, CI, runtime, or production work split into repeated sprints.4license: MIT5---67# Loop Hardening Contract89Use this contract after `loop-readiness-review` when repeated delivery needs tighter execution evidence. It is a review and packet format, not a runner or scheduler.1011## 1. Harness Stripping1213Remove harness complexity only through an isolated, one-component experiment:14151. Record the component, its intended failure mode, and its operating cost.162. Capture a representative baseline for completion, verification, cost, and failures.173. Disable exactly one non-safety component between runs, never during a live run.184. Repeat the same bounded case and classify `REMOVE`, `RESTORE`, `HARMFUL`, or `INCONCLUSIVE`.195. Retain the evidence and human settlement decision.2021Never strip sandboxing, budgets, stop conditions, human gates, root verification, or protected-data boundaries.2223## 2. Runtime-Path Sprint Packet2425Freeze this packet before execution:2627- `sprint_id` and version;28- one concrete deliverable;29- 3–7 observable acceptance predicates;30- the actual runtime path to exercise;31- explicit out-of-scope items;32- owned files or write boundary;33- stop conditions and budget;34- verification commands, device/browser steps, and expected evidence.3536The executor cannot accept its own result. A mid-run requirement change creates a new packet version with a reason and explicit human confirmation.3738## 3. Broken-Window Revalidation3940Before a new sprint, re-run the latest accepted result through its real runtime path:4142- `STILL_GREEN`: the accepted predicates still pass;43- `REOPENED`: a previously accepted predicate now fails;44- `INCONCLUSIVE`: the required runtime or evidence is unavailable.4546On `REOPENED`, stop new work, retain the evidence, reopen the result, and propose a bounded repair. Do not auto-revert. A revert may erase useful subsequent work or hide the causal change and therefore requires an inspected, human-approved settlement.4748Compilation is not Cardputer device proof. Unit tests are not browser or production proof when the accepted claim names those runtime paths.4950## Output5152Return:5354- sprint packet version;55- revalidation status and evidence;56- harness experiment and classification, if any;57- root verification result;58- settlement: `accept`, `revise`, `repair`, `restore`, or `inconclusive`;59- remaining risks.6061## Guardrails6263- Keep the contract opt-in and bounded; do not install Loopkit or add scheduling.64- Do not auto-revert, auto-commit, auto-merge, deploy, release, or publish.65- Do not use source inspection as runtime-path evidence.66- Root verifies integration; executor prose is evidence, not acceptance.67- Prefer a one-shot checklist when the work is not genuinely repeated.6869## Pair With7071- `loop-readiness-review` for readiness level, state, isolation, and human gates.72- `bounded-evaluation` for representative fixtures and comparison rubrics.73- `bug-evidence-protocol` for captured red-to-green command evidence.74- `git-native-context-contract` `cpat` records for recurring failure prevention.75- `bounded-orchestration-contract` when execution is delegated across disjoint file scopes.7677## Provenance7879Adapted from `Archive228/loopkit` sprint, broken-window, and harness-evolution ideas. The ABVX version removes the autonomous runner, transcript scraping, self-declared completion, automatic rollback, broad installation, and unpinned runtime dependencies.