Resolve Quality file-scoped tests against the execution worktree's package metadata. - Run scoped tests through each package's local Vitest binary - Omit the removed basic reporter and preserve safe path handling - Cover worktree resolution, package grouping, and reporter behavior Files changed: .changeset/fn-9034-file-scoped-vitest.md | 7 + docs/testing.md | 4 + .../src/__tests__/command-presets.test.ts | 222 +++++++++++++++++++-- .../src/routes/create-routes.ts | 5 + .../src/runner/command-presets.ts | 115 ++++++++++- 5 files changed, 336 insertions(+), 17 deletions(-) Fusion-Task-Id: FN-9034 Fusion-Task-Lineage: f78159b6-2f1e-47bb-a367-e8e4324143e5 Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
fusion-plugin-quality
First-party Fusion plugin that makes task QA easy and visual.
Surfaces
- Quality hub (left sidebar): project-wide test run history and plans
- Task QA tab: action-first task quality work
- Task-scoped preview / test server (worktree cwd)
- Allowlisted targeted tests + report viewer
- Screenshots / visual evidence (task artifacts)
- Suggested test cases (advisory checklist)
- PR checks, browser verification handoff
Design principles
- Orchestrates existing verification (
testCommand, gate, verify-fast) — does not replace the merge gate - Composes Dev Server process patterns and the artifact registry
- Composes
fusion-plugin-agent-browserfor browser verification (soft dependency) - Never uses port 4040; never free-form shell as the default path
- Advisory results only — does not change merge eligibility
Settings
See plugin settingsSchema in src/settings.ts.