This repository was archived by the owner on Oct 16, 2026. It is now read-only.
Repository navigation
v2.4: Hippocampal recall stack hardened + docs refresh #2
Rezzyman
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v2.4 ships two commits that significantly improve recall quality and public documentation.
Recall pipeline hardening
The drizzle-orm SQL template engine was serializing JavaScript number arrays as PostgreSQL composite ROW(...) types instead of int[] literals, which Postgres refused to cast. This affected four subsystems:
markLabile) -- the labile window that allows retrieved memories to be updated was not opening. Beliefs could not evolve on recall.loadSynapseGraph,findSparseOverlapMatches) -- hippocampal recurrent activation was returning empty results. The advertised "pattern completion boost" was not contributing to hybrid search scores.Additionally,
findSparseOverlapMatcheshad a CTE namedoverlapsthat collided with PostgreSQL's OVERLAPS temporal predicate on some Postgres versions, causing a parse error that was silently caught upstream.All four subsystems now use a canonical
sql.raw(ARRAY[...]::int[])pattern that bypasses drizzle-orm's binding layer entirely. Access-count telemetry is wrapped in a non-fatal try/catch.markLabile()is intentionally unwrapped so any future failure surfaces immediately rather than silently degrading learning.A regression test (
src/__tests__/drizzle-array-cast.test.ts, 12 cases) locks in the pattern.Documentation
All reactions