package page→ /norms/rules/testing/QTS-R04.md
pages/norms/rules/testing/QTS-R04.md
27 lines, 1.3 KB. As a page.
- ---
- type: Rule
- ruleId: QTS-R04
- title: 'A change of model or prompt only after a run with no regression'
- requirement: 'A change of model or prompt only after a run with no regression'
- level: MUST
- floor: false
- status: active
- sphere: quality
- appliesTo: [/quality/runs]
- enforcers: [.shtukbase/packages/testing/judges/model-change.md]
- enforcerKind: judge
- mode: observe
- because: 'A change of model or prompt changes the agent behavior as a whole; without a run on the sets, the customer will see the regression.'
- baseline: 0
- reviewBy: 2027-05-28
- pack: testing
- sources: [an earlier product]
- ---
- A change that alters the model, its settings or an agent's prompt is accepted only with a link to a run with `trigger: model` or `change` on its commit, marked "No regression", on the sets of the affected agents.
- **Why.** A change of model or prompt changes the agent behavior as a whole; without a run on the sets, the customer will see the regression.
- **How to fix.** Do a run on the sets of the affected agents and link it in the change's description.
- The enforcer is a judge, its procedure is `.shtukbase/packages/testing/judges/model-change.md`: the merge reviewer, not the author of the change; looks at the run record, the "No regression" mark and the correctness measurements. A program cannot check this norm, so the mode is "watches" (`mode: observe`).