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:
@@ -499,8 +499,8 @@ describe("buildAgentChatPrompt", () => {
|
||||
});
|
||||
|
||||
it("builds an identity-aware prompt with soul, memory, instructions, and project memory", async () => {
|
||||
await mkdir(join(testDir, ".fusion"), { recursive: true });
|
||||
await writeFile(join(testDir, ".fusion", "memory.md"), "Project preference: avoid force pushes.");
|
||||
await mkdir(join(testDir, ".fusion", "memory"), { recursive: true });
|
||||
await writeFile(join(testDir, ".fusion", "memory", "MEMORY.md"), "Project preference: avoid force pushes.");
|
||||
|
||||
const agent = makeAgent({
|
||||
name: "Avery",
|
||||
|
||||
Reference in New Issue
Block a user