run-affected-tests
Skill16 starsChanged 37 days agoMITView on GitHub
Run only the tests a diff actually affects (per contracts/impact-map.yaml) plus always-run smoke, escalate to the full suite on hub changes, and write an honest report. The test stage (H3/H7).
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- analyze-requirementsSkill
- be-fe-security-auditSkill
- commit-deploy-logSkill
- deep-researchSkill
- deploy-to-testSkill
- evidence-bundleSkill
- fanSkill
- fix-and-verifySkill
- impact-reviewSkill
- implement-changeSkill
- qa-gateSkill
- verify-implementationSkill
- verify-requestSkill
The file
Files
run-affected-tests
The test node of the DAG — until v1.6.0 the one stage with no dedicated skill
(the tester agent ran suites ad hoc, and CodeProvider's proposal flagged the
gap). It exists so "only test the affected area" is a repeatable, honest
procedure rather than a judgement call made fresh each change.
Pairs targeted-tester (runs the scoped/full decision) with tester (writes
suites when the affected area has none). The selection is driven by
contracts/impact-map.yaml + .harness/control/agent-config.yaml, both
project-owned — the skill ships in the bundle, the mapping and the runner command
belong to the project (C2, the two-layer Agent Pack split).
Safety over speed, always. A file outside every map group, or a hub change, forces the full suite. The report names skipped groups out loud; a silent subset that reads as full coverage is the exact failure this stage is meant to prevent.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

