loop-hardening-contract
Skill16 starsChanged 5 months agoMITView on GitHub
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.
In this repository94 other files it gives its agents.
- agent-friction-ledgerSkill
- agent-learning-layer-triageSkill
- agent-operations-contractSkill
- agents-best-practicesSkill
- agent-tool-contract-reviewSkill
- anti-slop-reviewSkill
- architecture-deepening-reviewSkill
- assumption-excavationSkill
- authorized-security-routerSkill
- book-to-skillSkill
- bounded-evaluationSkill
- bounded-growth-loopSkill
- bounded-orchestration-contractSkill
- brief-first-executionSkill
- browser-verificationSkill
- bug-evidence-protocolSkill
- codex-review-loopSkill
- compaction-survivalSkill
- complexity-optimizerSkill
- confidence-fragility-reviewSkill
- context-degradation-reviewSkill
- corporate-surfaceSkill
- delivery-baseline-auditSkill
- delivery-preflight-gateSkill
- design-critique-polishSkill
- designmd-brand-kitSkill
- design-register-bootstrapSkill
- diagnoseSkill
- doc-grounded-grillingSkill
- doc-to-lora-evaluatorSkill
- durable-context-maintenanceSkill
- dynamic-workflow-packetsSkill
- editorial-surfaceSkill
- evidence-ledger-researchSkill
- filesystem-context-disciplineSkill
- fluid-interaction-reviewSkill
- frontend-product-builderSkill
- frontend-taste-layerSkill
- git-native-context-contractSkill
- goal-loop-designerSkill
- graph-guided-code-readingSkill
- handoffSkill
- happy-handoffSkill
- html-brief-artifactSkill
- html-diagram-artifactSkill
- hypothesis-diversificationSkill
- idea-to-ship-gatesSkill
- knowledge-base-enrichmentSkill
- lean-context-layoutSkill
- local-inference-tuningSkill
- loopops-protocolSkill
- loop-readiness-reviewSkill
- lottie-motion-builderSkill
- minimal-diff-builderSkill
- motion-review-gateSkill
- overengineering-reviewSkill
- personal-workspace-routerSkill
- phase-spec-executionSkill
- pipeline-readiness-gateSkill
- plan-to-issuesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use this contract after loop-readiness-review when repeated delivery needs tighter execution evidence.
- Distinctive: line 16
Remove harness complexity only through an isolated, one-component experiment:
- Distinctive: line 24
Never strip sandboxing, budgets, stop conditions, human gates, root verification, or protected-data boundaries.
- Distinctive: line 36
stop conditions and budget.
- Distinctive: line 43
Before a new sprint, re-run the latest accepted result through its real runtime path:
- Distinctive: line 66
Keep the contract opt-in and bounded.
- Distinctive: line 67
Do not auto-revert, auto-commit, auto-merge, deploy, release, or publish.
- Distinctive: line 68
Do not use source inspection as runtime-path evidence.
- Distinctive: line 70
Prefer a one-shot checklist when the work is not genuinely repeated.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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, orINCONCLUSIVE. - 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_idand 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, orinconclusive; - 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-reviewfor readiness level, state, isolation, and human gates.bounded-evaluationfor representative fixtures and comparison rubrics.bug-evidence-protocolfor captured red-to-green command evidence.git-native-context-contractcpatrecords for recurring failure prevention.bounded-orchestration-contractwhen 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

