Harness engineering in practice: turning AI agent mistakes into rules of its environment (HDD)
The mistake-to-rule loop, guides and sensors, three layers of checks, how it fits with specs, and five first steps in your own project.
Personal notes by Egor Urvanov on AI development, engineering management and communities. They reflect one author’s views and practice.
The mistake-to-rule loop, guides and sensors, three layers of checks, how it fits with specs, and five first steps in your own project.
What to do when an answer misses: three paths and a repeated loop. How review finds gaps, why they go into the original request and the pipeline runs again. Based on Anthropic, OpenAI and Google guides.
Spec-driven development with a reconcile loop: who changes the desired state and who brings the code to it, why green tests do not yet mean “correct”, and which six environment capabilities the agent needs to close the loop.
Spec-driven development without spec sprawl: how to keep specs in one aggregate dictionary so they do not multiply with every feature: requirement levels, the aggregate card and context boundaries.
AGENTS.md and CLAUDE.md set rules for a whole project, spec.md describes one task. A file example and what goes where: specs, rules, skills.
How to pick 16 people from the report, a questionnaire and license lists, check team coverage and replacements, and decide what to ask them.