What a harness is
A language model writes code. The harness is everything around it that makes that code dependable: the isolated environment where the model works, the context it is given, the tools it may call, the budgets it cannot exceed, the checks its output must pass before it leaves, and the record of all of it.
A useful comparison is a test bench for an engine. The engine produces the power; the bench holds it, feeds it, measures it and shuts it down when a reading goes out of range. Nobody ships an engine on the strength of the engine alone.
Why the harness matters more than the model
Section titled “Why the harness matters more than the model”The same model gives different results in different harnesses. A coding agent with a clear definition of the task, a map of the codebase and tests it must pass will deliver working changes. Give the same model a vague request and a bare shell and it will produce plausible code that nobody has checked. Models are also changing every few months, and a company cannot rebuild its controls each time.
So the questions an IT team should ask are about the harness.
Where do the controls live?
Section titled “Where do the controls live?”In Khala they live outside the model. The builder cannot reach a system because it holds no credential for it, not because it was instructed not to. It cannot send your code elsewhere because the network refuses the connection. This matters because instructions can be subverted: a model reads repository files, dependencies and tool output, and any of them can contain text that tries to redirect it. A control that depends on the model behaving is not a control.
Can the model be replaced?
Section titled “Can the model be replaced?”Yes. Khala supports several coding engines and treats them as interchangeable parts behind the same harness. Your catalog decides which models are allowed. You can move from one provider to another, or to a model on your own GPUs, without changing how builds are checked. See Engines and models.
How do we know the result is right?
Section titled “How do we know the result is right?”Through gates the builder cannot edit or skip: the agent’s business tests, security and robustness tests, and conformance with your architecture standards. A share of the tests is held out, which means the builder never sees them. A builder that can read every test can write code that passes them without being correct, the way a student can memorise an exam. Held-out tests measure whether the agent does the job, not whether it learned the answers.
What evidence is left?
Section titled “What evidence is left?”Every build keeps its spec version, its resolved stack, its steps, its logs, the result of each test and its score in each dimension. Nothing is overwritten. An auditor can go from an agent in production back to the exact definition and the exact results that let it through.
Who has the last word?
Section titled “Who has the last word?”You do. The builder delivers a pull request to your repository. Your reviewers, your required checks and your branch protection decide whether it merges. Promotion to production passes a gate with named approvers. Khala adds controls before yours; it does not replace them.
What this means in practice
Section titled “What this means in practice”| Without a harness | With Khala’s harness |
|---|---|
| The agent runs on a developer’s machine with that person’s access | Each build runs in its own isolated environment with no credentials inside |
| Rules are sentences in a prompt | Rules are enforced by the environment and by gates |
| “It works” means someone tried it | “It works” means it passed tests it could not see |
| Changing the model means starting over | Changing the model is a catalog decision |
| Output arrives as files | Output arrives as a pull request with its evidence |
Next: How the builder works.