FN-8341: rework planning interviews for reactive validation
Make planning interviews user-controlled and context-aware from validation through task creation.
- Replace fixed-depth and deepening checkpoints with reactive follow-up questions
- Add explicit planning validation and require it before creating or breaking down work
- Expose validation through the API, CLI, routes, types, documentation, and release notes
- Update localized copy and PlanningModeModal mocks and assertions for the revised workflow
Files changed:
.changeset/fn-8341-deepening-checkpoint-removal.md | 7 +
.changeset/fn-8341-planning-reactive-backend.md | 7 +
docs/dashboard-guide.md | 8 +-
packages/cli/src/commands/task.ts | 12 +-
packages/core/src/index.gate.ts | 2 +-
packages/core/src/index.ts | 2 +-
packages/core/src/types.ts | 38 +-
packages/dashboard/app/api/legacy.ts | 15 +-
.../dashboard/app/components/PlanningModeModal.tsx | 192 +-----
.../__tests__/PlanningModeModal.autosize.test.tsx | 4 +
.../__tests__/PlanningModeModal.initial.test.tsx | 50 +-
.../PlanningModeModal.planning-flow.test.tsx | 442 +------------
.../__tests__/PlanningModeModal.test-helpers.ts | 1 +
.../PlanningModeModal.ui-interactions.test.tsx | 3 +
.../__tests__/planning-infinite-interview.test.ts | 221 +++++++
packages/dashboard/src/planning.ts | 711 ++++++---------------
.../src/routes/register-planning-subtask-routes.ts | 64 +-
packages/i18n/locales/en/app.json | 1 -
packages/i18n/locales/es/app.json | 1 -
packages/i18n/locales/fr/app.json | 1 -
packages/i18n/locales/ko/app.json | 1 -
packages/i18n/locales/zh-CN/app.json | 1 -
packages/i18n/locales/zh-TW/app.json | 1 -
23 files changed, 536 insertions(+), 1249 deletions(-)
Fusion-Task-Id: FN-8341
Fusion-Task-Lineage: 102f88af-2675-43f5-8e08-5403a0e17da8
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>