gsxdsm
4c48ccfe03
FN-7078: forward MCP config to planning helpers
Dashboard readonly planning helpers now receive scoped MCP server configuration when creating AI sessions.
- Thread request-scoped TaskStore access into subtask, text refine, goal drafting, agent onboarding, PR metadata, insight, and triage helper paths.
- Resolve and forward in-memory MCP server declarations while preserving empty no-store fallbacks and secret hygiene.
- Document the expanded MCP forwarding surface and add regression coverage for helper forwarding and retry paths.
- Add a changeset for the published Fusion package.
Files changed:
.changeset/fn-7078-mcp-planning-helpers.md | 7 +
docs/mcp.md | 6 +-
.../src/__tests__/agent-generation.test.ts | 3 +
.../src/__tests__/agent-onboarding.test.ts | 72 +++++-
packages/dashboard/src/__tests__/ai-refine.test.ts | 96 +++++++-
.../src/__tests__/mcp-helper-forwarding.test.ts | 258 +++++++++++++++++++++
.../src/__tests__/pr-metadata-generator.test.ts | 1 +
.../src/__tests__/subtask-breakdown.test.ts | 137 ++++++++++-
packages/dashboard/src/agent-generation.ts | 17 +-
packages/dashboard/src/agent-onboarding.ts | 49 +++-
packages/dashboard/src/ai-refine.ts | 18 +-
packages/dashboard/src/insights-routes.ts | 40 ++--
packages/dashboard/src/pr-metadata-generator.ts | 13 +-
packages/dashboard/src/routes.ts | 3 +-
...gister-agent-import-export-generation-routes.ts | 6 +-
.../dashboard/src/routes/register-git-github.ts | 1 +
.../src/routes/register-planning-subtask-routes.ts | 2 +-
packages/dashboard/src/subtask-breakdown.ts | 27 ++-
packages/dashboard/src/triage-trait.ts | 2 +-
19 files changed, 695 insertions(+), 63 deletions(-)
Fusion-Task-Id: FN-7078
Fusion-Task-Lineage: 8ed30003-7a27-42e9-8b37-5ceb1a832334
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-06-26 17:38:41 -07:00
..
2026-06-26 16:14:44 -07:00
2026-06-26 12:06:05 -07:00
2026-06-26 17:33:11 -07:00
2026-06-26 17:38:41 -07:00
2026-06-26 12:06:05 -07:00
2026-06-26 12:06:05 -07:00
2026-06-26 16:14:44 -07:00
2026-06-26 13:57:00 -07:00
2026-06-26 12:06:05 -07:00
2026-06-26 12:06:05 -07:00
2026-06-08 15:19:27 -07:00
2026-06-26 12:06:05 -07:00