feat(FN-2087): finalize canonical memory path migration

- Remove legacy .fusion/memory.md fallback references and normalize prompts/docs to .fusion/memory/MEMORY.md
- Stop legacy mirror writes and fallback reads in core memory backend and project memory flows
- Update engine worktree boundary checks and tests for canonical memory file handling
- Align dashboard memory/settings surfaces and route tests with canonical memory behavior
- Add model-favorites persistence test coverage for mission interview and new agent dialogs
This commit is contained in:
Fusion
2026-04-18 22:47:17 -07:00
committed by gsxdsm
parent 3cb7c226ec
commit 049f356f88
32 changed files with 503 additions and 307 deletions

View File

@@ -104,12 +104,12 @@ Use task-ID-scoped conventional commits:
## Project Memory
When enabled, Fusion uses OpenClaw-style memory files as the canonical project memory workspace:
When enabled, Fusion uses OpenClaw-style memory files:
- `.fusion/memory/MEMORY.md` curated long-term memory for durable decisions, conventions, and pitfalls
- `.fusion/memory/YYYY-MM-DD.md` append-only daily running notes
- `.fusion/memory/DREAMS.md`synthesized patterns distilled from daily notes
- `.fusion/memory.md` — deprecated legacy fallback path (kept for backward compatibility)
- `.fusion/memory/MEMORY.md` — long-term project memory
- `.fusion/memory/YYYY-MM-DD.md` — daily running notes
- `.fusion/memory/DREAMS.md`dream-processing memory file
- Legacy `.fusion/memory.md` is only used as a one-time migration seed for upgrades
Use project memory for reusable patterns, constraints, and pitfalls that should persist across tasks.
@@ -117,11 +117,9 @@ Use project memory for reusable patterns, constraints, and pitfalls that should
Fusion can automatically extract insights from memory and prune transient content. Enable via `insightExtractionEnabled` setting:
- `.fusion/memory/MEMORY.md`canonical long-term memory target for durable knowledge
- `.fusion/memory/YYYY-MM-DD.md` — daily notes source used for ongoing synthesis
- `.fusion/memory/DREAMS.md`synthesized memory patterns
- `.fusion/memory-insights.md` — legacy distilled insights artifact (still generated by the current extraction pipeline)
- `.fusion/memory-audit.md` — legacy audit artifact for extraction runs
- `.fusion/memory/MEMORY.md`Working/long-term memory source compacted and pruned by extraction jobs
- `.fusion/memory-insights.md` — Distilled insights output
- `.fusion/memory-audit.md`Audit report after each extraction (includes pruning outcome)
See [Settings Reference](./settings-reference.md#background-memory-summarization--audit) for configuration details.