FN-035: require automatic task recommendations
Require task recommendations to be explicitly enabled and consistently surfaced across execution and settings.
- Add the automatic task recommendations setting, persistence, validation, and localized UI copy.
- Gate executor recommendation prompts and completion-tool behavior on the setting.
- Update dashboard/API coverage, documentation, and regression tests.
Files changed:
.changeset/fn-035-required-task-recommendations.md | 7 +++
docs/dashboard-guide.md | 3 +-
docs/settings-reference.md | 2 +
.../postgres/settings-persistence.pg.test.ts | 18 +++++++
.../core/src/__tests__/settings-parity.test.ts | 3 ++
packages/core/src/config/settings-schema.ts | 2 +
packages/core/src/task-store/settings-ops.ts | 16 ++++--
packages/core/src/types/settings/settings-scope.ts | 8 +++
.../app/__tests__/settings-save-split.test.ts | 16 ++++++
.../__tests__/SettingsModal.general.test.tsx | 36 +++++++++++++
.../app/components/settings/section-keys.ts | 1 +
.../settings/sections/GeneralSection.search.ts | 10 ++++
.../settings/sections/GeneralSection.tsx | 15 +++++-
.../settings-default-descriptions.test.tsx | 2 +
.../register-settings-memory-worktrunk.test.ts | 28 ++++++++++
.../src/routes/register-settings-memory-routes.ts | 5 ++
...cutor-prompt-completion-recommendations.test.ts | 31 +++++++++++
.../executor-task-recommendations.test.ts | 61 ++++++++++++++++++++--
.../engine/src/executor/create-task-done-tool.ts | 18 +++++--
packages/engine/src/executor/system-prompt.ts | 20 +++++--
packages/i18n/locales/en/app.json | 3 ++
packages/i18n/locales/es/app.json | 3 ++
packages/i18n/locales/fr/app.json | 3 ++
packages/i18n/locales/ko/app.json | 3 ++
packages/i18n/locales/pt-BR/app.json | 5 +-
packages/i18n/locales/zh-CN/app.json | 3 ++
packages/i18n/locales/zh-TW/app.json | 3 ++
packages/i18n/src/resources.d.ts | 3 ++
28 files changed, 307 insertions(+), 21 deletions(-)
Fusion-Task-Id: FN-035
Fusion-Task-Lineage: 336d4d99-3105-43df-b82c-ca413b9c5892
Co-authored-by: Fusion <noreply@runfusion.ai>