FN-5713: add mission update tool and docs
Add mission-update support to Fusion tooling and document it across mission references. - register new `fn_mission_update` extension tool to patch mission title/description with validation and not-found handling - add extension tests covering successful mission updates and error cases - allowlist `fn_mission_update` in workflow-step readonly gating policy tests and classifications - update Fusion skill and mission docs to describe mission updates and extension tool usage - add a changeset for `@runfusion/fusion` patch release Files changed: .changeset/fn-5713-mission-update-tool.md | 5 ++ docs/missions.md | 13 ++++ packages/cli/skill/fusion/SKILL.md | 2 +- packages/cli/skill/fusion/references/extension-tools.md | 10 +++ packages/cli/skill/fusion/references/fusion-capabilities.md | 1 + packages/cli/src/__tests__/extension.test.ts | 71 ++++++++++++++++++++++ packages/cli/src/extension.ts | 69 +++++++++++++++++++++ packages/engine/src/__tests__/workflow-step-readonly-allowlist.test.ts | 1 + packages/engine/src/gating-classifications.ts | 1 + 9 files changed, 172 insertions(+), 1 deletion(-) Fusion-Task-Id: FN-5713 Fusion-Task-Lineage: e491973a-2d5d-4ef8-bf13-39b3669918ee
This commit is contained in:
@@ -77,6 +77,7 @@ The canonical per-parameter tool reference lives in `packages/cli/skill/fusion/r
|
||||
| `fn_mission_list` | List missions and their current status. |
|
||||
| `fn_mission_show` | Show mission details with milestone/slice/feature hierarchy, including milestone/feature acceptance criteria and slice verification when present. |
|
||||
| `fn_mission_delete` | Delete a mission and its hierarchy. |
|
||||
| `fn_mission_update` | Update mission title/description using partial patches. |
|
||||
| `fn_milestone_add` | Add a milestone to a mission. |
|
||||
| `fn_milestone_update` | Update milestone fields using partial patches. |
|
||||
| `fn_slice_add` | Add a slice to a milestone. |
|
||||
@@ -85,6 +86,18 @@ The canonical per-parameter tool reference lives in `packages/cli/skill/fusion/r
|
||||
| `fn_feature_update` | Update feature fields using partial patches. |
|
||||
| `fn_feature_link_task` | Link a feature to a task for implementation. |
|
||||
|
||||
### fn_mission_update
|
||||
|
||||
Updates an existing mission's `title` or `description`. Partial patches leave untouched fields intact — fields omitted from the call are not modified.
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
|---|---|---|---|
|
||||
| `id` | string | ✓ | Mission ID to update (e.g., `M-001`) |
|
||||
| `title` | string | — | Updated mission title |
|
||||
| `description` | string | — | Updated mission description |
|
||||
|
||||
Use this to reconcile mission narrative/state text without recreating the mission.
|
||||
|
||||
### fn_milestone_update
|
||||
|
||||
Updates an existing milestone's `title`, `description`, or `acceptanceCriteria`. Partial patches leave untouched fields intact — fields omitted from the call are not modified.
|
||||
|
||||
Reference in New Issue
Block a user