Fusion Agent
ef22fa478a
FN-047: preserve project-scoped Chat context
Keep task Chat bound to the selected project even when its engine is unavailable.
- Resolve request-scoped TaskStore and ChatStore pairs without falling back to the default project.
- Apply the project-safe resolution to task planner and room chat routes.
- Add regression coverage and document the selected-project context guarantee.
Files changed:
.../fn-047-task-chat-context-project-scope.md | 7 ++
docs/dashboard-guide.md | 2 +-
.../dashboard/src/__tests__/chat-manager.test.ts | 49 +++++++-----
.../src/__tests__/chat-project-services.test.ts | 18 +++++
.../src/__tests__/routes-chat-cancellation.test.ts | 2 +-
packages/dashboard/src/chat-project-services.ts | 20 ++++-
.../src/routes/register-chat-room-routes.ts | 7 ++
.../dashboard/src/routes/register-chat-routes.ts | 86 +++++++++++++---------
8 files changed, 135 insertions(+), 56 deletions(-)
Fusion-Task-Id: FN-047
Fusion-Task-Lineage: 008eefad-e495-40ba-9243-d46ec913c9db
Co-authored-by: Fusion <noreply@runfusion.ai>
2026-08-20 03:57:23 +00:00
..
2026-08-20 03:57:23 +00:00
2026-08-18 22:16:44 -07:00
2026-08-20 03:57:23 +00:00
2026-08-20 03:57:23 +00:00
2026-08-20 03:55:38 +00:00
2026-08-18 22:16:44 -07:00
2026-08-20 03:57:23 +00:00
2026-08-20 03:57:23 +00:00
2026-08-18 22:16:44 -07:00
2026-08-20 03:57:23 +00:00
2026-07-27 19:40:08 -07:00
2026-08-18 22:16:44 -07:00