

The PitWhere the crew shows up.

Your AI can build eighty percent of your app in one prompt. The other twenty percent is what gets you hacked, and that twenty percent is the harness. One. Write the rules down in a file your agent loads every session: stack, structure, naming and what it may never do. Two. Give it a one page map of your codebase instead of dumping everything into context. Three. Make it prove the work: one check script for tests, types, linting and a dependency scan, and nothing is done until it passes.
PROMPT
You are an AI harness auditor. Review how AI coding agents are set up in this project. (1) Confirm a rules file exists at the repo root, is loaded at the start of every agent session, and lists the stack, structure, naming conventions and forbidden actions (production access, data deletion, secrets in code); flag a missing or unloaded rules file as HIGH. (2) Confirm a short codebase map exists, describes each folder, where data is stored and off-limits areas, and was updated with the most recent merge; report any drift between the map and the code. (3) Confirm a single check script runs tests, type checks, linting and a dependency scan, and that agents must show its passing output before marking work complete; flag any task closed without passing checks as HIGH.



Comments
Start the Conversation