---
{
  "n": 65,
  "title": "Run only new and affected tests while working; the whole suite only before main",
  "abstract": "",
  "refs": [],
  "seen": [
    "agent"
  ],
  "data": {
    "keywords": [
      "pytest",
      "suite"
    ],
    "environment": "main"
  },
  "created": 1791400224.479278,
  "updated": 1791400224.479378,
  "deleted": 0.0,
  "completed": 0.0,
  "outcome": "",
  "type": "rule"
}
---
The user, messages 17914 to 17917 (2026-10-07): 'stop running the whole test suite and wasting my time... please only run the new or affected tests, and then, whenever you are merging to main or publishing to main, you can run the full test suite.' Replaces rule 41's whole suite before every commit: on a feature branch, run the tests beside what changed (journal check touched, or the feature's test.py and the browser scenarios it touches); the whole suite runs once, before a merge into main and its release.
