| name | osmani-harness-loop |
| description | Implementation of the 7-step Osmani Standard for Harness-Driven Development. Designed for autonomous, long-running agent loops. |
| category | software-development |
| version | 1.0.0 |
The Osmani Harness Loop (7 Steps)
Designed for autonomous agents (e.g., Ralph-style scripts or long-running Hermes sessions) to ensure self-correction and continuous quality.
The Steps
- Identity & Context: Initialize with a clear mission and persona (e.g., Guillermo).
- Anti-Rationalization: Declare assumptions and risks. Stop "agreeable hallucinations."
- Harnessing (The Cage): Write the tests/constraints before the code.
- Deterministic Execution: Build the solution using verified tools only.
- Audit & Critique: Run a "Critic" loop on the output.
- Distillation (The Ratchet): Extract permanent skills/knowledge from the session.
- Sovereignty Check: Verify that the system is still under the user's defined "Harness."
Derived from the principles of Addy Osmani (2026).