Quality and verification
No piece of work closes without evidence.
An agent's statement is not enough to close a piece of work. It requires evidence on the delivered version, independent checks and, where the cost justifies it, several proposals compared.
From management: Independent control and DevSecOps → Cross-checking agents, Agent DevSecOps
How it works
For the most delicate work two or three proposals are prepared; a judge on another model assesses them against criteria fixed in advance. The losers' critiques then improve the winner.
Closure on evidence
It closes only if the mandatory checks pass.
Independent check
The checker does not see the executor's discussion.
Automatic checks
Code analysis, dependencies, licences, secrets.
Competition only if it pays
If it does not beat a single executor, back to one.
The four kinds of test (DevSecOps)
Unit test
At the end of a package, by the independent tester; they update security and performance.
Functional with script
The agent runs the script and records the logs; it fixes trivial errors itself.
Functional with simulated user
An agent uses the application as a person would.
Acceptance (UAT)
A person performs the task; the AI records.
See also: AI Squads and Scrum · Frameworks rethought
What it requires
- K1Several proposals only with a reliable selector: tests, measurable criteria or a rubric fixed in advance.
- K2How different the proposals are is recorded: model, provider or strategy.
- K3Normally one proposal; 2 to 3 only for highly variable work or costly mistakes.
- K4The losing proposals' critiques improve the winner.
- K5Some criteria stay hidden and judges rotate.
- K6If comparison does not beat the single executor, that type of work goes back to one proposal.
- K7–K9Highly divergent proposals: the option cheapest to undo is chosen; repeated cases become a topic for the business owner.
Full normative text · §4, §6
4. Competitive mechanisms
Rationale. The principles of the theory of human cooperation are applied to AI models and shifted towards more competitive models, because there is no group harmony to preserve among agents. The roles of controller and project manager are given to the AI.
The benefit of a competitive mechanism comes from generating several candidates and selecting the best one, not from agents trying harder. It depends on the diversity of the candidates and on the reliability of the selector.
| # | Rule |
|---|---|
| K1 | A competitive mechanism is opened only with a reliable selector: tests or measurable criteria, or a rubric fixed in advance, assessed by a judge running on a model different from the competitors', with the order of candidates alternated. All candidates start from the same point. |
| K2 | For each mechanism the diversity of the candidates is recorded: model, supplier or strategy. |
| K3 | By default there is a single candidate. Two or three for highly variable generative packages or where errors are costly, within the spending cap. |
| K4 | After selection, the criticism raised by the losing candidates is applied to the winner, through the reviewer. |
| K5 | Part of the evaluation criteria is not shown to the candidates, and judges rotate. |
| K6 | The winning margin, judge–human agreement (calibrated on a sample of human judgements of candidates) and cost per accepted increment compared with a single executor are measured. If the mechanism does not beat a single executor on a type of package, that type returns to a single candidate. |
| K7 | With strongly diverging proposals on a two-way door (a decision that can be undone), the option with the lowest rollback cost is adopted. First, if the budget allows, a short test is run to discriminate between the options. |
| K8 | These cases are flagged "high divergence". The process reviewer examines all of them and gives them priority in the calibration sample (E6). |
| K9 | If divergences recur on the same theme, the AI Coordinator proposes a mandate review as a Do, translated into functions, costs, time and impact on users and data. If the theme cannot be expressed in these terms, it stays with the AI roles under K7 and K8. |
For each verification, the level of independence achieved is recorded: context, model, supplier or person. The package's risk class sets the minimum level. Guidance: for security and personal data, at least a different model.
Closure
- Positive evidence. The AI Coordinator closes the package when the mandatory checks on the identified candidate have passed and the evidence is identifiable. A change to the candidate reopens the affected checks.
Dissent or missing proof. The package stays open.
- With a clear requirement, the test is repeated or a second verifier is assigned.
- With an ambiguous requirement, a decision point is opened.
- Outcome, dissent and the rationale for closure are recorded.
- Tests. Component, integration, system and acceptance. Mapping to «DevSecOps and tests»: unit test = component; functional tests with script or simulated user = integration and system; UAT = acceptance.
- Deterministic anchors. At every release, static analysis, dependency and licence analysis and secret scanning are run. At level 2 dynamic scanning is added. AI roles interpret the results; they do not replace them.
DevSecOps and tests
Work follows DevSecOps practices where applicable:
- Git log of the application and its versions, with comments written to be read by people as well.
- Security by Design, with static analysis (SAST) and, at level 2, penetration testing (§10).
- Highly automated tests, run by dedicated agents:
| Type | Who and how | Outcome |
|---|---|---|
| Unit test | At the end of each Work Package, run by the independent AI tester. They also check security and performance components | They update the Security Risk Posture and the Performance Analysis |
| Functional test with script | The agent runs the test script, records the logs and checks completion or failure | For gross errors that affect neither quality nor Decisions, the agent fixes them on its own, as a two-way door |
| Functional test with simulated user | An agent simulates a typical user and uses the application as a person would | Run in stable environments, because it costs more |
| UAT (final acceptance) | A person performs the business task, and the AI assists by recording observations and missing information | The Human Manager decides on acceptance |
Functional tests are human-supervised: the person may watch them but does not need to intervene for them to proceed. UAT is AI-supervised: the person executes, the AI records.

