feat(FN-2118): merge fusion/fn-2118

This commit is contained in:
Fusion
2026-04-19 03:06:37 -07:00
committed by gsxdsm
parent 11c5791622
commit a901975ed8
3 changed files with 234 additions and 553 deletions

View File

@@ -236,7 +236,14 @@ From `packages/core/src/index.ts` exports (selected high-impact modules):
### Memory System
Fusion uses OpenClaw-style project memory files:
Fusion uses OpenClaw-style project memory files and separates memory into two responsibilities:
1. **Layered backend runtime memory** (`memory-backend.ts`, `project-memory.ts`)
- canonical long-term + layered memory access used by agents and dashboard APIs
2. **Insight extraction automation** (`memory-insights.ts`, `InsightStore`)
- scheduled extraction/pruning workflows over project memory plus insight/audit artifacts
Both systems currently use `.fusion/memory/MEMORY.md` as the canonical working source-of-truth.
**Primary memory files:**
- Long-term: `.fusion/memory/MEMORY.md`