Fusion Agent
7563fcfe1b
FN-037: configure AI-authored task output language
Configure a persisted output-language setting and apply it across AI-authored task text and workflow summaries.
- Add project/global output-language settings with defaults, validation, UI controls, translations, and documentation.
- Propagate the selected language through planning, execution, review, summaries, and task creation.
- Add focused coverage for language resolution and update affected dashboard, engine, and localization tests.
Files changed:
.changeset/fn-037-task-output-language.md | 7 ++
docs/settings-reference.md | 4 +
docs/task-management.md | 4 +
.../core/src/__tests__/ai-output-language.test.ts | 21 +++++
packages/core/src/ai/ai-output-language.ts | 42 +++++++++
packages/core/src/ai/ai-summarize.ts | 16 +++-
packages/core/src/config/settings-schema.ts | 2 +
packages/core/src/index.gate.ts | 2 +
packages/core/src/index.ts | 2 +
packages/core/src/task-store/settings-ops.ts | 7 ++
packages/core/src/task-store/task-creation.ts | 4 +
packages/core/src/types/settings/settings-scope.ts | 2 +
.../app/__tests__/settings-sections.test.tsx | 21 +++--
.../__tests__/SettingsModal.models-auth.test.tsx | 10 +-
.../app/components/settings/section-keys.ts | 2 +-
.../sections/ProjectModelsSection.search.ts | 13 ++-
.../settings/sections/ProjectModelsSection.tsx | 28 ++++--
.../settings-default-descriptions.test.tsx | 4 +-
.../src/__tests__/github-tracking.test.ts | 4 +-
.../__tests__/planning-prompt-resolution.test.ts | 29 ++++--
.../src/__tests__/routes-planning.test.ts | 32 ++++++-
packages/dashboard/src/ai-session-store.ts | 15 ++-
packages/dashboard/src/github-tracking.ts | 3 +
packages/dashboard/src/planning.ts | 75 +++++++++++++--
.../routes/register-ai-text-assistant-routes.ts | 11 ++-
.../src/routes/register-planning-subtask-routes.ts | 6 +-
.../src/routes/register-task-workflow-routes.ts | 9 +-
packages/dashboard/src/shared/settings-sections.ts | 2 +-
.../__tests__/ce-workflow-step-executor.test.ts | 45 ++++++++-
.../__tests__/executor-review-artifacts.test.ts | 65 +++++++++++++
packages/engine/src/__tests__/triage.test.ts | 7 +-
.../src/__tests__/workflow-task-runtime.test.ts | 23 +++++
.../create-authoritative-workflow-primitives.ts | 14 ++-
.../create-authoritative-workflow-seams.ts | 17 +++-
.../engine/src/executor/execute-workflow-graph.ts | 19 +++-
.../engine/src/executor/execute-workflow-step.ts | 13 ++-
packages/engine/src/executor/execution-prompt.ts | 10 +-
.../engine/src/executor/handoff-task-to-review.ts | 10 +-
.../engine/src/executor/run-graph-custom-node.ts | 6 +-
.../src/executor/task-executor-graph-facades.ts | 8 +-
packages/engine/src/triage.ts | 35 ++-----
.../src/workflows/workflow-completion-summary.ts | 101 ++++++++++++++++++---
.../engine/src/workflows/workflow-task-runtime.ts | 12 +++
packages/i18n/locales/en/app.json | 7 +-
packages/i18n/locales/es/app.json | 7 +-
packages/i18n/locales/fr/app.json | 7 +-
packages/i18n/locales/ko/app.json | 7 +-
packages/i18n/locales/pt-BR/app.json | 14 ++-
packages/i18n/locales/zh-CN/app.json | 7 +-
packages/i18n/locales/zh-TW/app.json | 7 +-
packages/i18n/src/resources.d.ts | 13 ++-
51 files changed, 680 insertions(+), 151 deletions(-)
Fusion-Task-Id: FN-037
Fusion-Task-Lineage: 968a707e-7ffe-43ba-b983-d679b031f7a5
Co-authored-by: Fusion <noreply@runfusion.ai>
2026-08-20 03:57:23 +00:00
..
2026-08-10 02:25:03 -07:00
2026-08-03 00:20:53 -07:00
2026-08-20 03:57:23 +00:00
2026-08-20 03:57:23 +00:00
2026-08-15 14:19:23 -07:00
2026-08-03 00:20:53 -07:00
2026-08-12 13:29:34 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-10 02:25:03 -07:00
2026-08-03 00:20:53 -07:00
2026-08-20 03:55:38 +00:00
2026-08-03 00:20:53 -07:00