FN-5851: fix goal tool store resolution
Resolve goal tool lookups to the canonical project store from Fusion worktree directories. - recognize both legacy .worktrees and .fusion/worktrees paths when resolving the project root for pi extensions - add CLI coverage proving fn_goal_list and fn_goal_show return dashboard-created goals from a Fusion worktree cwd - extend core worktree-resolution tests and keep the branch conflict recovery test worktree path isolated in tmpdir - add a patch changeset for the published CLI fix Files changed: .changeset/fn-5851-goal-store-resolution.md | 5 + packages/cli/src/__tests__/goal-store-resolution.test.ts | 104 +++++++++++++++++++++ packages/core/src/__tests__/pi-extensions.test.ts | 14 ++- packages/core/src/pi-extensions.ts | 12 ++- packages/engine/src/__tests__/branch-conflicts-recovery.test.ts | 2 +- 5 files changed, 130 insertions(+), 7 deletions(-) Fusion-Task-Id: FN-5851 Fusion-Task-Lineage: ec4c8239-b953-4df7-9f72-02e17e4b0851
This commit is contained in:
5
.changeset/fn-5851-goal-store-resolution.md
Normal file
5
.changeset/fn-5851-goal-store-resolution.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Fix `fn_goal_list` and `fn_goal_show` so tool calls made from Fusion worktree directories resolve the canonical project database and return goals created through the dashboard UI.
|
||||
Reference in New Issue
Block a user