Skip to content

Reduce repeated recall database work - #9

Merged
cucupac merged 1 commit into
mainfrom
codex/recall-database-latency
Sep 23, 2026
Merged

cucupac merged 1 commit into
mainfrom
codex/recall-database-latency

Conversation

@cucupac

@cucupac cucupac commented Sep 23, 2026

Copy link
Copy Markdown
Owner

Recall repeats graph visibility queries, rebuilds the concept search corpus for each query, and loads evidence that its prompt never uses. Batch those reads, reuse the corpus within each recall, and prefilter keyword matches through the existing text-search index. Full concept reads retain their evidence. No new service or dependency.

Validation: 110 targeted tests passed. Across eight solveos questions with three paired repeats, local median fell from 1.170s to 0.962s; all 24 prompts and ordered memory selections matched, and all 24 pairs were faster. Mercury and background sync excluded. Median SQL count fell from 163 to 43.

Bumps the package to 0.1.66.

@cucupac
cucupac merged commit 680e818 into main Sep 23, 2026
4 checks passed
@cucupac
cucupac deleted the codex/recall-database-latency branch September 23, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant