fix(FN-2078): adopt canonical .fusion/memory paths

- Update core and engine prompt text to reference .fusion/memory/ with MEMORY.md and daily-note guidance
- Allow worktree tool boundary access to .fusion/memory/ files while preserving legacy .fusion/memory.md compatibility
- Revise memory compaction/insight extraction messaging and related type/docs comments to use canonical memory paths
- Refresh dashboard and test expectations across core/engine/dashboard/docs for the new memory path wording
This commit is contained in:
Fusion
2026-04-18 22:02:46 -07:00
committed by gsxdsm
parent 94bbca31da
commit 53cad3ba9d
18 changed files with 110 additions and 85 deletions

View File

@@ -104,23 +104,24 @@ Use task-ID-scoped conventional commits:
## Project Memory
When enabled, Fusion supports both the OpenClaw-style memory workspace and legacy compatibility paths:
When enabled, Fusion uses OpenClaw-style memory files as the canonical project memory workspace:
- `.fusion/memory/MEMORY.md`OpenClaw long-term memory file
- `.fusion/memory/YYYY-MM-DD.md`OpenClaw daily running notes
- `.fusion/memory/DREAMS.md`OpenClaw dream-processing memory file
- `.fusion/memory.md`Legacy compatibility path (still used by parts of the memory summarization pipeline)
- `.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)
Use project memory for reusable patterns, constraints, and pitfalls that should persist across tasks.
### Background Memory Summarization
Fusion can automatically extract insights from working memory and prune transient content. Enable via `insightExtractionEnabled` setting:
Fusion can automatically extract insights from memory and prune transient content. Enable via `insightExtractionEnabled` setting:
- `.fusion/memory.md`Working memory source currently compacted/pruned by extraction jobs
- `.fusion/memory/MEMORY.md` — OpenClaw long-term memory workspace file used by memory tooling/search
- `.fusion/memory-insights.md` — Distilled insights output
- `.fusion/memory-audit.md` — Audit report after each extraction (includes pruning outcome)
- `.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
See [Settings Reference](./settings-reference.md#background-memory-summarization--audit) for configuration details.