Repository navigation
chore: release 8.1.0 — failing tests point to code, tests by risk - #10
Merged
Merged
Conversation
Agents edited failing tests before they checked the product code, and wrote tests for each change. Project suites became slow. The test policy now requires proof to edit a test, writes tests by risk, removes default coverage thresholds, limits e2e to critical journeys, and runs the full suite one time per task. /test prune finds low-value tests in old suites.
promo/package-lock.json holds dependency versions equal to the plugin version. The audit reported them as drift and failed CI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Theme: a failing test is evidence, and a test must earn its run time. Agents look for the cause in product code before they touch a test. New tests follow risk, not habit.
Changed
file:line): the task changes the asserted behavior, or the test is wrong. No weaker assertion, skip, longer timeout, retry, or delete to get a pass.Tests: none — <reason>. This replaces "new features require tests" and "do not skip tests because the change is small".test-engineerandtdd-enforcercheck coverage only against a threshold from triage orCLAUDE.md. The 80/75/90/80 and 60% defaults are removed./teamruns the full suite at loop exit or in round 3 ("final gate");/workflowleaves it to the Verify phase.review-allrun alone still runs the full suite.test-engineerreports missing test infrastructure and sets it up only when the task asks for it.Added
rules/common/testing.md: the full test policy.rules/common/general.mdandcontexts/dev.mdcarry the short form, inside the session hook budget.review-testsfinding classes:Test Tampering(High) andNeedless Test(Medium)./test prune [path]: lists low-value tests, slowest first, with a keep/delete/merge verdict. It changes nothing without approval.## Test Policyblock in 11 stack agents, and the policy in each/teamand/workflowimplementer handoff.Fixed
review-allstops at a failing check and does not review a build that fails.