Verify a change¶
Use this guide to select evidence for a change. Run behavior tests only in CI or an explicitly approved, isolated VM. Use the workstation for source review, static checks, Git, and staged hygiene.
Select evidence¶
- Identify the behavior and failure paths that changed.
- Find existing tests of that boundary.
- Reuse adequate tests. Add focused cases for uncovered behavior.
- Remove redundant or obsolete cases.
- For shared MCP changes, select common-library tests and affected consumer tests.
- For Compose, Dockerfile, or
config/changes, include focused contract tests. - Leave clean lab stop/start qualification to CI on a fresh machine.
CI verification explains selection, portability, budgets, and lab qualification limits. Platform gates lists check contracts.
Run targeted tests in an approved environment¶
For changed test files, use the existing selector:
For explicit Python paths, pass those paths:
For a property test, select its marker and exact path:
Replace the example path with an existing test for the changed boundary. For Vitest, work in the affected package and select exact test paths:
Use the same pattern for a dependent MCP server or web/.
Do not run bare pytest or package-wide npm test outside CI.
The selector refuses an empty changed-test selection; it does not select a full suite.
Check staged files¶
Follow Contributing for staged hygiene. Use Write documentation for explicit-path prose checks. CI owns full suites, coverage, whole-tree checks, dependency audits, and strict MkDocs builds.
Qualify a release or boundary¶
- Follow release candidate QA for both installation paths and human approval.
- Use the lab fixture pack for generic lab-machinery regressions.
- Follow parser property-test guidance for input-space checks.
- Consult the boot coverage reference for the small installed-wheel gate's limits.