ShtukbaseStandard
package page→ /norms/rules/testing/QTS-R04.md

pages/norms/rules/testing/QTS-R04.md

27 lines, 1.3 KB. As a page.

  1. ---
  2. type: Rule
  3. ruleId: QTS-R04
  4. title: 'A change of model or prompt only after a run with no regression'
  5. requirement: 'A change of model or prompt only after a run with no regression'
  6. level: MUST
  7. floor: false
  8. status: active
  9. sphere: quality
  10. appliesTo: [/quality/runs]
  11. enforcers: [.shtukbase/packages/testing/judges/model-change.md]
  12. enforcerKind: judge
  13. mode: observe
  14. 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.'
  15. baseline: 0
  16. reviewBy: 2027-05-28
  17. pack: testing
  18. sources: [an earlier product]
  19. ---
  20. 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.
  21. **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.
  22. **How to fix.** Do a run on the sets of the affected agents and link it in the change's description.
  23. 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`).