Files
fusion/plugins/fusion-plugin-quality
gsxdsm d39c0ae9eb FN-9034: use package-local Vitest for scoped runs
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>
2026-08-13 15:55:37 -07:00
..
2026-08-13 01:41:54 -07:00
2026-08-13 01:41:54 -07:00

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-browser for 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.