gsxdsm
5573d042a9
FN-8922: add persistent memory recall store
Add PostgreSQL-backed recall records for durable project memory retrieval.
- add recall record types, storage, search, deduplication, and prompt instructions
- migrate project schemas and expose recall APIs from core memory modules
- document plugin and storage contracts, with unit and PostgreSQL coverage
Files changed:
.changeset/fn-8922-memory-recall-store.md | 7 +
docs/memory-plugin-contract.md | 10 +
docs/storage.md | 4 +
.../__tests__/memory-recall-dedup-search.test.ts | 10 +
.../__tests__/memory-recall-instructions.test.ts | 62 +++++
.../postgres/memory-recall-store.pg.test.ts | 296 +++++++++++++++++++++
.../src/__tests__/postgres/schema-applier.test.ts | 15 +-
packages/core/src/index.ts | 1 +
packages/core/src/memory/index.ts | 1 +
packages/core/src/memory/project-memory.ts | 33 ++-
packages/core/src/memory/recall/index.ts | 10 +
packages/core/src/memory/recall/recall-dedup.ts | 35 +++
.../core/src/memory/recall/recall-instructions.ts | 59 ++++
packages/core/src/memory/recall/recall-search.ts | 20 ++
packages/core/src/memory/recall/recall-store.ts | 51 ++++
packages/core/src/memory/recall/recall-types.ts | 14 +
.../0052_fn_8922_memory_recall_records.sql | 17 ++
packages/core/src/postgres/schema-applier.ts | 13 +-
packages/core/src/postgres/schema/project.ts | 10 +-
19 files changed, 648 insertions(+), 20 deletions(-)
Fusion-Task-Id: FN-8922
Fusion-Task-Lineage: bb98f048-6fcf-46d9-bd1f-09294c2dc005
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-10 04:46:10 -07:00
..
2026-08-10 03:50:58 -07:00
2026-08-10 04:46:10 -07:00
2026-08-10 00:58:43 -07:00
2026-08-10 02:25:03 -07:00
2026-08-08 23:16:01 -07:00
2026-08-08 22:55:38 -07:00
2026-08-03 00:20:53 -07:00
2026-08-09 10:28:24 -07:00
2026-08-03 00:20:53 -07:00
2026-08-04 08:57:30 -07:00
2026-08-03 00:20:53 -07:00
2026-08-08 18:56:43 -07:00
2026-08-09 09:14:56 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-08 19:58:43 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-09 13:33:16 -10:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-10 04:46:10 -07:00
2026-08-09 15:16:12 -07:00
2026-08-09 15:46:09 -10:00
2026-08-07 20:56:52 -07:00
2026-08-03 00:20:53 -07:00
2026-08-10 02:56:58 -07:00
2026-08-03 09:04:45 -07:00
2026-08-10 04:46:10 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-09 10:28:24 -07:00
2026-08-10 02:56:58 -07:00
2026-08-09 14:12:49 -07:00
2026-08-09 13:33:16 -10:00
2026-08-09 04:37:47 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-10 02:56:58 -07:00
2026-08-10 04:46:10 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-07-31 21:56:30 -07:00
2026-07-31 21:56:30 -07:00
2026-08-05 16:46:53 -07:00
2026-08-10 02:56:58 -07:00
2026-08-01 02:47:25 -07:00
2026-08-03 00:20:53 -07:00
2026-07-22 08:30:12 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00
2026-08-10 02:25:03 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00