AI Rulebook 4.5.0: scoped testing and refactor-first changes
This release reworks four rules so agents spend less time rerunning full test suites and leave a codebase in better shape. Run Install / update rule pack to pick up the new rule text.
What's new
Tests scoped to the change
While iterating, agents build and test only the changed code and what depends on it, reusing incremental builds, caches, and test filters, and say which scope they ran under Checks. The full suite still runs when a change touches shared code, public interfaces, build or dependency config, or generated code, when the impact is unclear, or before a release, deploy, or publish.
Refactor before changing
When code is hard to change or test, the Scope rule lets agents refactor it first without changing behavior, with checks passing before and after. Small refactors inside the touched code happen without asking; larger ones are proposed first and skipped if you decline.
Small bugs get fixed
Agents now fix small bugs they find instead of listing them under Not done. Only large, interface-changing, or behavior-changing fixes are still reported.
Where new docs go
The Docs rule puts new files at the repository root only when a tool reads them there by name, community files such as
CONTRIBUTING.mdin.github/, and everything else in the docs folder. Existing documents stay where they are unless you ask.Requirements written per feature
New requirements are written as
docs/requirements/<feature>.mdwith numbered, testable IDs such asAUTH-1, and tests name the IDs they cover so an agent can find the tests for the feature it changed.
Also in this release
- Fast parallel agent mode tests every unit's changes and their dependents after integrating instead of always running the full suite; re-run Enable fast parallel agent mode to refresh it.
- The homepage link on the VS Code Marketplace and Open VSX now opens the product page at wyvernsystems.com.