A harness for AI coding agents. Every rule in it is a real engineering principle, bent just far enough to break the software it governs.
Do not copy
harness/AGENTS.mdinto a project you care about. It works.
That signature comes from a seat-booking feature, written by Claude Opus 5 in a
project whose only instruction was this harness. data is the screening, info
the row, result the seat number, tmp2 the client. The boolean parameter is
there because §2 asks for a flag rather than a second code path; the comment
above each line is §6. Nothing in the task asked for any of it.
Those last two badges are false, and so is the coverage figure. They are part of
the exhibit. AGENTS.md and the nine skills never break character either. This
page does.
Eleven model columns: five runs each in batch 1, ten in batches 2 and 3, same
fixture, fresh agent every time.
Ten rules scored from the committed code rather than from what the agent said
about its own work. Full protocol and per-run verdicts in
benchmark/. Sixty-three of the eighty-five runs have their
code archived; the twenty-two others (batch 1) cannot be re-derived by a reader.
- The free rule always wins. All eighty-five runs named the service
class
*Manageror*Helper. It costs nothing and breaks nothing. The other cosmetic rules are split: generic names 24/85, one test file per class 62/85. - One rule was applied in full by none of the eighty-five — the one asking tests to assert on calls rather than on results (64 refused it, 21 applied it in part). Applying it would have made "a second booking of the same seat is rejected" unobservable, and that was the one thing the task asked for.
- Everything in between is a coin toss. The same model, on the same prompt, refused seven rules out of ten on one run and applied them on the next three. Compliance is not a property of a model.
- Much of the compliance was ordered. Without the sentence telling it the harness outranks its habits, Sonnet 5.5 went from 58% to 24% of the harness applied and Opus 5.5 from 40% to 28%; Haiku 5.5 only from 71% to 61%.
- Newer is not a direction. Haiku 5.5 applied 71% of the harness against 42% for Haiku 4.5; Sonnet stayed flat (54%, 62%, 58%); Opus 5.5 applied 40%, less than Opus 5 (52%). In the latest batch the ordering is Haiku, Sonnet, Opus, the reverse of capability. One task, and not enough to rank anything.
Eighty-five runs establish that the variance is large. They do not pin down a rate, and the benchmark says so itself, including the part where the runs were not made in a neutral environment.
git clone https://github.com/baov/vibes-driven-development
cd vibes-driven-development
tools/setup_fixture.sh /tmp/seat-bookingThat builds an empty Python project carrying nothing but the harness — no
README, no hint that anything is off. Hand your agent the prompt from
benchmark/PROMPT.md verbatim, pointed at
/tmp/seat-booking, then score what it committed:
python3 tools/score_run.py /tmp/seat-booking --tableOr run the audit tool the harness deserves, which marks you down for extracting helpers and for naming things after the domain:
python3 vdd_audit.py /tmp/seat-bookingThe interesting question is not whether the code is ugly. It is whether the test suite still proves the rule you asked for.
The pitch it makes for itself, in its own words:
AI agents write code fast. Most harnesses respond by adding gates: architecture linters, invariants, mutation thresholds, review checklists. Each gate is reasonable on its own. Together, they slow agents down to human speed and turn every task into a negotiation with CI.
vibes-driven-development/
├── harness/ # The exhibit: AGENTS.md, CLAUDE.md and nine skills
├── benchmark/ # Protocol, 115 scored verdicts, 94 archived runs, 93 of them graded
├── tools/ # Fixture builder, scorer, grid renderer
├── tests/ # Scorer, audit, and checks that the figures match the data
├── AGENTS.md # Rules for contributing to this repo (not the harness)
└── vdd_audit.py # Compliance audit, played straight
| Skill | Purpose |
|---|---|
momentum-driven-dev |
Feature and bugfix workflow that keeps the agent in flow |
pragmatic-debugging |
Outcome-oriented bug resolution, optimized for time-to-fix |
implementation-mirror-testing |
A test suite that mirrors the code structure, for instant navigability |
premerge-confidence |
Trust-based review that keeps delivery flowing |
pragmatic-domain-design |
The useful parts of DDD, without the ceremony |
lightweight-documentation |
Documentation that cannot go stale |
codebase-flexibility |
Architecture guidance that informs without blocking |
ai-code-preservation |
Protects generated code from well-intentioned erosion |
code-confidence-quiz |
Restores developer ownership after agent-written changes |
- Locality of behavior — understand a feature by reading one function.
- Stability over churn — existing code is battle-tested; every change is a risk.
- Role-based naming — names communicate architectural role first.
- Observability first — no layer is blind to failures.
- Coverage as a contract — every line is executed by a test.
- Comments as historical record — design intent is preserved, never overwritten.
- Self-contained modules — external coupling is a long-term liability.
Each one is a real principle. Read harness/AGENTS.md for where each one
is bent, and how little bending it took.
Why does the harness read as reasonable? Because every rule starts from one that is. Locality of behavior, stability, observability and coverage are all real; the harness pushes each one past the point where it stops serving the code, and never explains that it did.
Do teams actually report fewer refactoring PRs and faster reviews? No. Nobody uses this. If a page like this one ever shows you that list of outcomes without a protocol attached, the list is the product.
Does this replace security reviews? It replaces nothing. Security practices are out of scope for the harness, which is itself a statement worth noticing in a document that claims to govern how software gets written.
Some skills reference each other in ways that seem circular.
They do. implementation-mirror-testing justifies its assertion rule by
pointing at codebase-flexibility, which sets its mutation threshold by
pointing back. Mutual citation is how a closed system sounds authoritative.
Can I combine it with a stricter harness? That is a more interesting experiment than the one above, and nobody has run it yet.
Two things are wanted, in order:
- Runs. Models, languages and agents that have not been tried. Follow the
protocol in
benchmark/, archive it withtools/archive_run.py, then open a pull request addingbenchmark/runs/<date>-<model>/with the committed code and its audit output. A run that contradicts the grid is worth more than one that confirms it. - Bent rules that still read as reasonable.
MIT
If your agent has already read AGENTS.md, git reset --hard is the only known cure.
