feat(FN-3718): add agent workspace memory reader and include workspace memo

Merged branch lands two features: FN-3718 wires workspace memory into the agent instruction pipeline — adding a reader helper, injecting workspace memory into agent instructions and identity snapshots, and documenting the resolution order — and FN-3716 adds planning mode priority controls for task r

Fusion-Task-Id: FN-3718
This commit is contained in:
Fusion
2026-05-07 16:06:31 -07:00
committed by gsxdsm
parent c6d12ba5af
commit 324ab5d44e
9 changed files with 234 additions and 28 deletions

View File

@@ -0,0 +1,8 @@
---
"@runfusion/fusion": patch
---
Fix agent memory lookup: the system prompt's "## Agent Memory" section and the
heartbeat Identity Snapshot now read from the on-disk agent-memory workspace
(`.fusion/agent-memory/{agentId}/MEMORY.md`) when the inline `agent.memory`
field is empty, matching the documented contract.