← Harness Engineering

Twelve Heuristics

Harness-engineering ideas worth remembering.

  1. 01

    Map vs. Territory

    CLAUDE.md routes; docs/ knows. Don't conflate the system of engagement with the system of record.

  2. 02

    Progressive Disclosure

    Load only what the current task needs. Context isn't free, and more isn't better.

  3. 03

    Mechanical Enforcement

    If a rule matters, make it mechanical. Prose drifts, checks don't.

  4. 04

    Skills vs. Docs

    Skills are for workflows; docs are for knowledge. The wrong mechanism is worse than no mechanism.

  5. 05

    Earn the Check

    Coverage is cheap, false positives are not. Every mechanical check has to earn its slot or it trains you to ignore failures.

  6. 06

    Errors as Remediation

    Error messages are instructions written for the next agent. If a human (or model) can't act on the message, the check isn't done.

  7. 07

    Fast Feedback Wins

    Pre-commit beats CI for the same check. The earlier a violation surfaces, the cheaper it is to fix.

  8. 08

    Immutable Decisions

    ADRs are append-only. Supersede with a new record; never edit history.

  9. 09

    Sub-Agents as Firewalls

    Delegate research and investigation so the implementation context stays clean. Context discipline is the point, not the second agent.

  10. 10

    Watch the Loop

    The first iterations of any autonomous loop tell you whether your harness holds. The harness fails where you aren't looking.

  11. 11

    Compound the Fixes

    Every agent mistake is a harness improvement waiting to be made. Failure modes should compound, not recur.

  12. 12

    Project as Source of Truth

    Not the chat, not the agent, not the prompt. The repo outlives the session, the model, and the conversation.

Map vs. Territory Progressive Disclosure Mechanical Enforcement Skills vs. Docs Earn the Check Errors as Remediation Fast Feedback Wins Immutable Decisions Sub-Agents as Firewalls Watch the Loop Compound the Fixes Project as Source of Truth Map vs. Territory Progressive Disclosure Mechanical Enforcement Skills vs. Docs Earn the Check Errors as Remediation Fast Feedback Wins Immutable Decisions Sub-Agents as Firewalls Watch the Loop Compound the Fixes Project as Source of Truth

Pick a heuristic to see what it says.