Skip to content

chore: release 8.1.0 — failing tests point to code, tests by risk - #10

Merged
forbee-dev merged 2 commits into
mainfrom
release/8.1.0
Nov 18, 2026
Merged

forbee-dev merged 2 commits into
mainfrom
release/8.1.0

Conversation

@forbee-dev

Copy link
Copy Markdown
Owner

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

  • Failing test rule. An agent finds the root cause in product code first. It edits a test only with stated proof (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 by risk. A test is written for new non-trivial logic, money/auth/data paths, a bug fix (one regression test), or an explicit request. No test for markup, styles, copy, config, glue code, or renames. The agent reports Tests: none — <reason>. This replaces "new features require tests" and "do not skip tests because the change is small".
  • No default coverage or test-ratio thresholds. test-engineer and tdd-enforcer check coverage only against a threshold from triage or CLAUDE.md. The 80/75/90/80 and 60% defaults are removed.
  • E2E only for critical journeys (login, signup, checkout, main conversion form). Extend an existing spec before a new file.
  • Related tests in the loop, full suite one time. Implementers and review rounds run only the tests related to the change. /team runs the full suite at loop exit or in round 3 ("final gate"); /workflow leaves it to the Verify phase. review-all run alone still runs the full suite.
  • test-engineer reports 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.md and contexts/dev.md carry the short form, inside the session hook budget.
  • review-tests finding classes: Test Tampering (High) and Needless Test (Medium).
  • /test prune [path]: lists low-value tests, slowest first, with a keep/delete/merge verdict. It changes nothing without approval.
  • ## Test Policy block in 11 stack agents, and the policy in each /team and /workflow implementer handoff.

Fixed

  • review-all stops at a failing check and does not review a build that fails.

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.
@forbee-dev
forbee-dev merged commit 71854b6 into main Nov 18, 2026
4 checks passed
@forbee-dev
forbee-dev deleted the release/8.1.0 branch November 18, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant