Guides
Test what changed
After a change, explore and test only the features it touches.
After a change, explore and test only the features it touches. This is the "new change" flow: it is faster than a full exploration and keeps the run focused.
How the scope is chosen
- Feature files. Each feature in the feature map (the features page) lists the paths it owns, for example
src/cart/**orsrc/checkout/pay.ts. Patterns:dir/**covers everything underdir,*matches within one folder, and a plain path must match exactly. - Changed files. Give the changed paths (from
git diff --name-only HEAD). Each path maps to the features that own it. - Dependencies. The run also includes every feature those features depend on, so a cart change still tests sign-in when the cart needs it.
- Skip the rest. The agent explores only that scope and says in its notes what it skipped.
Where to start it
- Web. Open an exploration and use "Explore what changed". Paste the changed paths, one per line.
- CLI. From the repository root, run
heybug explore <projectId> --changed. Use--base <rev>to diff against something other thanHEAD.--changedcannot be combined with--instructions. - MCP. Call
heybug_explore_scopewithprojectIdandchangedFiles, or withfeatureIdsor abrief.
Feature maps written by the agent do not fill in files. Add the paths on the features page first.
If no changed path belongs to a feature, the run does not start. Add the path to a feature's files on the features page, or pass feature ids.