Try giving an agent the same patch twice. The first time, it has an ambiguous request and a test suite it can edit. The second time, it has the agreed requirement, a clean checkout, the command to reproduce the failure and an independent check against the original expectation. You’ve changed the conditions under which it works. Those conditions are where much of the engineering goes.
Open full-size diagram
Diagram in words
Start with approved intent and scope. Provide repository guidance and an isolated session with limited access. Check the exact change, record the human decision where required, and use recurring failures to improve the guidance and checks.
Each layer needs to answer a question the next engineer can check.
| Part of the harness | What to be able to demonstrate |
|---|---|
| Intent and scope | You can retrieve the approved requirement and see who can amend it. |
| Repository knowledge | A fresh session can find the owning code, its callers and the relevant tests. |
| Execution | A clean environment can run the same documented commands with isolated test data. |
| Policy | The session has the access needed for its brief. A restricted action requires separate authority at the service that performs it. |
| Verification | The required checks use protected expectations and record the exact source and build they assessed. |
| Review and improvement | A person can see the evidence, take a decision, and turn a recurring failure into a checked improvement. |
Use a tool to answer a question the tool can settle. A symbol index can tell you which methods call the cancellation rule. A runtime trace can tell you which branch ran for a particular request. An architecture check can refuse a forbidden dependency. The agent still makes choices about the patch, but those choices have less room to depend on guesses.
The same harness supports local supervision and cloud execution. Continuous work orchestration adds a way to decide when approved work starts, recover interrupted runs and return decisions to people. Full-project delivery applies those ideas to a sequence of capabilities with product-level integration and acceptance.
The diagram is how I’ve put these responsibilities together. For a published example of the work that goes into repository guidance and executable checks, see Ryan Lopopolo’s account of harness engineering.