test(agent): move agent tests off the legacy memory engine (P1.5)

- prompt assembler harnesses (v4 and v5): prime an in-memory contract store,
  snapshot its memories and replay them into a fresh store per condition
  instead of copying a MindDB file; the identity card is created per
  orchestrator. They had also drifted from the current Orchestrator API
  (config takes memory, buildSystemPrompt is async).
- prompt assembler unit test: build RecallFrame fixtures, the type the
  assembler consumes, instead of legacy MemoryFrame rows.
- M3c integration: drop the knowledge-graph Ontology case; the knowledge
  graph is not part of v1 and core no longer exports it.
This commit is contained in:
shumeiko.it
2026-10-24 17:07:18 +02:00
parent ad7b90bebd
commit f94331c202
5 changed files with 134 additions and 189 deletions

View File

@@ -2,7 +2,7 @@
* Combined Retrieval — merge engine tests.
*
* Tests the merge engine in isolation. MemorySearchLike (workspace + personal
* HybridSearch) is mocked. No server, no vault, no DB, no wiring.
* memory search) is mocked. No server, no vault, no DB, no wiring.
*/
import { describe, it, expect, vi } from 'vitest';