InternalsAcademic foundations

Academic foundations

This page lists only what the source code itself cites. Each row names the file where the idea is implemented, under packages/core/src. Using an idea from a paper is not a claim to reproduce its results.

Cited with a reference

SourceIdea usedWhere in the code
RecMem (arXiv:2605.16045)A recurrence signal decides whether an LLM call is worth makingcognitive/recmem.ts, used by the optional recall rerank and by session collapse
UCE (arXiv:2606.02304)A scheduler that biases extraction toward under-represented kinds of knowledgecognitive/knowledge-scheduler.ts
Experience Compression (arXiv:2604.15877)Summarising a deep or wide episode subtree into one parent narrativecognitive/compression.ts
HyDE (arXiv:2212.10496)Embedding a hypothetical answer together with the querycognitive/hyde.ts, opt-in (see Recall pipeline)
LongMemEval (arXiv:2410.10813)The retrieval metrics and the five question categoriesbenchmark/metrics.ts, benchmark/fixtures.ts (see Benchmarks)

Named in the code without a full reference

Name in the codeIdea usedWhere in the code
ACT-R activation (Anderson 1993), in Petrov’s formA = ln(∑ t_j^-0.5) over past recalls, used as a tie-break in recallcognitive/recall-cold.ts, cognitive/recall-hot.ts
Beta-Bernoulli with TD(λ) eligibility tracesWorth as a posterior mean; credit spread back over earlier recalls with λ = 0.7cognitive/worth.ts
Wilson score lower boundA conservative confidence for worth, used by the serving gate and the consolidation gatecognitive/worth.ts, packages/consolidation/src/ConsolidationGate.ts
Hebbian learning and STDPStrengthening the relation between facts recalled together. Off unless the host turns on recallGraphLearningcognitive/co-recall.ts, cognitive/neuro-dynamics.ts
CALMemThe token budget ladder that decides which recall tiers runcognitive/recall-pointer.ts
DELTAMEMStoring a similar episode as a delta of its nearest neighbourcognitive/delta-episode.ts
CaMeLA read above the caller’s sensitivity ceiling answers 404, not 403cognitive/recall-cold.ts
Reciprocal rank fusionFusing the semantic rank and the full-text rank in hybrid recallcognitive/recall-cold.ts

Adding a feature

If you add a cognitive feature that comes from a paper, cite the paper in the header comment of the file, as the files above do, and add a test for the behaviour you claim. There is no CI; see Benchmarks for the local gates.