From aec037f1b8f552eed3af21929f6b8f50f100217e Mon Sep 17 00:00:00 2001 From: Ben Hook <5009589+benhook1013@users.noreply.github.com> Date: Tue, 1 Dec 2026 18:19:11 +1300 Subject: [PATCH] docs(agents): add test hygiene rule Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index c76f6ac1fc..35e96a817a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,6 +32,7 @@ This is the always-on guidance for AI agents working in FireMUD. It states inten - Do not ask for approval just because work is cross-service, breaking, or large when the design is clear. Stop for genuine design ambiguity, competing target states, or a change to a consequential accepted decision. - Once the human picks a workstream, keep going through its clear next steps (implementation, validation, PR publication, review fixes) without checking in at each step. An explicit pause or stop wins: finish only the in-progress step, or the boundary the human states, and start nothing new (including pushes, PR publication and review requests) until resumed; an immediate stop finishes nothing more. - Match process to risk. Do not build ledgers, audit suites, or extra review machinery for small changes. +- Add a test only for behaviour no existing test covers, and prefer extending an existing (often table-driven) test over a near-copy. Keep new tests fast, and say so in the PR when one is slow. - Triage every review finding as Fix now, Route, or Reject under [PR lifecycle](design/developer-workflows/pr-lifecycle.md#finding-triage). ## Documentation