Skip to content
Back to skills

Loop Hardening Contract

ASecurity

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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 5, 2026
ai-agentsrailsgitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add markoblogo/abvx-agent-skills --skill loop-hardening-contract --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Loop Hardening Contract?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Loop Hardening Contract
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/markoblogo-loop-hardening-contract/badge)](https://www.skillsdirectory.com/skills/markoblogo-loop-hardening-contract)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: loop-hardening-contract
description: 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.
license: MIT
metadata:
  abvx_status: experimental
  abvx_origin: adapted
---

# 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:

1. Record the component, its intended failure mode, and its operating cost.
2. Capture a representative baseline for completion, verification, cost, and failures.
3. Disable exactly one non-safety component between runs, never during a live run.
4. Repeat the same bounded case and classify `REMOVE`, `RESTORE`, `HARMFUL`, or `INCONCLUSIVE`.
5. 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.

Files in this skill

  • SKILL.md3.6 KB
  • SKILL_CARD.md1.8 KB
  • agents/openai.yaml232 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.