AI software factory Lab 3 of 7
Keep your test suite in sync with every pull request
Find the tests that a one line rename makes obsolete.
In the payments example, adding quick amount buttons left 34 existing tests relevant and introduced a coverage gap. Renaming Pay to Send affected 21 tests. Removing Request produced 15 edit candidates and five retirement candidates. These counts describe the demo suite.
A reviewable inventory of cases to run, add, edit and archive.
Before you start
An enrolled repository with an existing suite and a PR introducing an intentional change to user visible behavior. Install the ContextQA skills and run /cqa-init in your coding agent to confirm the workspace.
Set up ContextQA using https://raw.githubusercontent.com/indivatools/contextqa-skills/main/llms-install.md. You have my OK to install or update the ContextQA skills and MCP server and sign me in.Start with an enrolled repo and existing cases. Open separate PRs for adding, changing and retiring a behavior. Run /cqa-impact with the PR URL. Ask for the affected case, exact step, proposed action and reason. Inspect a representative edit and the coverage lost by each retirement. Approve changes under the team’s policy, reconcile what was applied after merge, and execute the retained or amended cases on the right build. The recorded walkthrough specifically demonstrates suite maintenance.
Paste this in your agent with the target PR open in your checkout:
/cqa-impact Review the current PR. Compare the diff to our saved cases. Group the case IDs into run unchanged, edit, add and retire. For each edit show the exact step, new expectation and reason. Flag loss of coverage before retirement. Return the proposals for review. After approval and deployment, track execution IDs separately from the proposals.Try it on your project
Choose one proposed edit, approve or dismiss it with a reason, and record the resulting execution on the candidate.