From 84d7306bd30aa8ee5f95ea6694957768c3fc06ef Mon Sep 17 00:00:00 2001 From: gsxdsm Date: Thu, 23 Jul 2026 12:26:02 -0700 Subject: [PATCH] FN-8546: fix ideation candidate discovery Expose persisted ideation candidate identities so agents can select a candidate for convergence. - Render candidate IDs, provenance, source references, and content in show and diverge responses. - Cover discover-to-converge behavior, duplicate content, empty sessions, and missing sessions. - Document the direct candidate-ID convergence workflow and add a patch changeset. Files changed: .changeset/fn-8546-ideation-candidate-ids.md | 7 ++ docs/agent-tool-surface-full-loop.md | 4 +- docs/ideation/persisted-diverge-converge.md | 6 +- .../src/__tests__/agent-ideation-tools.test.ts | 93 +++++++++++++++++++--- packages/engine/src/agent-tools.ts | 23 +++++- 5 files changed, 116 insertions(+), 17 deletions(-) Fusion-Task-Id: FN-8546 Fusion-Task-Lineage: 7232701f-5c6b-40fc-8d46-d65b97af9c0a Co-authored-by: Fusion (runfusion.ai) --- .changeset/fn-8546-ideation-candidate-ids.md | 7 ++ docs/agent-tool-surface-full-loop.md | 4 +- docs/ideation/persisted-diverge-converge.md | 6 +- .../__tests__/agent-ideation-tools.test.ts | 93 +++++++++++++++++-- packages/engine/src/agent-tools.ts | 23 ++++- 5 files changed, 116 insertions(+), 17 deletions(-) create mode 100644 .changeset/fn-8546-ideation-candidate-ids.md diff --git a/.changeset/fn-8546-ideation-candidate-ids.md b/.changeset/fn-8546-ideation-candidate-ids.md new file mode 100644 index 0000000000..337a026fa9 --- /dev/null +++ b/.changeset/fn-8546-ideation-candidate-ids.md @@ -0,0 +1,7 @@ +--- +"@runfusion/fusion": patch +--- + +summary: Make ideation candidate IDs discoverable for direct convergence. +category: fix +dev: Show and diverge tool text now includes candidate identity, provenance, and content. diff --git a/docs/agent-tool-surface-full-loop.md b/docs/agent-tool-surface-full-loop.md index bfce4140f9..bf95875482 100644 --- a/docs/agent-tool-surface-full-loop.md +++ b/docs/agent-tool-surface-full-loop.md @@ -1,5 +1,7 @@ # Full-loop agent tool-surface audit and delivery plan +> **Status:** The mission-hierarchy and persisted-ideation gaps recorded below have been delivered. Current `fn_ideation_*` tools share the persisted factory across engine and eligible chat lanes; show/diverge text includes canonical candidate IDs and provenance so agents can converge an explicit candidate. Remaining entries are the historical delivery audit. + [← Docs index](./README.md)