Gracefully handle feature-to-task linking when the referenced task is archived, deleted, or missing. - enforce active-board task validation in mission store linkage path with clear error text - return surfaced validation errors from fn_feature_link_task instead of throwing opaque failures - add regression coverage in core and CLI extension tests for archived/non-active task references - add changeset and sync Fusion skill reference docs with the new fn_feature_link_task behavior Files changed: .changeset/fn-5714-link-archived-task.md | 5 +++ .../cli/skill/fusion/references/extension-tools.md | 2 +- .../skill/fusion/references/fusion-capabilities.md | 2 +- packages/cli/src/__tests__/extension.test.ts | 50 ++++++++++++++++++++++ packages/cli/src/extension.ts | 35 +++++++++------ packages/core/src/__tests__/mission-store.test.ts | 17 ++++++++ packages/core/src/mission-store.ts | 9 ++++ 7 files changed, 106 insertions(+), 14 deletions(-) Fusion-Task-Id: FN-5714 Fusion-Task-Lineage: d84c45cf-0a0d-47a3-81c5-f99d16e03ecf
335 B
335 B
@runfusion/fusion
| @runfusion/fusion |
|---|
| patch |
Improve fn_feature_link_task error handling when linking to tasks that are not on the active board. Instead of surfacing a raw SQLite foreign key failure, the tool now returns a clear validation error explaining that only active (non-archived, non-deleted) tasks can be linked to mission features.