Skip to content

Docs: Utopia's low useful share is not item size - #2800

Merged
gedaiu merged 1 commit into
mainfrom
utopia/reader-matched-statements
Oct 17, 2026
Merged

gedaiu merged 1 commit into
mainfrom
utopia/reader-matched-statements

Conversation

@gedaiu

@gedaiu gedaiu commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

Corrects docs/building-lore/context-store-comparison.md (#2797). It gave "granularity" as the likely cause of Utopia's low useful share: the reader returning every statement of a document. A check of the reader (context-assembly-utopia.ts) and the mirror (doc-statements.ts) shows that is wrong: each stmt: search hit carries exactly one statement, a doc head contributes only its title, and an item holds only the statements the search matched.

The doc now says the cause is not known, names the likelier suspects (ranking and recall across one 50-hit search; weak single-statement matches taking a document slot), and replaces next step 2 with measuring source sizes in the eval, then trying a per-document floor or cap.

Docs only.

Generated with Claude Code

@lore-agent

lore-agent Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Lore is reviewing this PR — bda58b30-498e-4a4e-bf98-20acbada690a.

Submit a review that requests changes to have Lore push a fix for it. Comment @lore review to re-run the review.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Lore Spec Impact

Examined 1 changed file(s): 0 had graph data (no coupling found), 1 had none — no ingested test run covers them, so this check cannot speak for them.

Deterministic · graph @ 54e00aa (projected 2026-10-07) · 1 file(s) skipped: changed since the graph last saw them, so their line numbers no longer line up · no tests run by this check

@lore-agent lore-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lore review — Approved

Accurately corrects the Utopia context-store comparison analysis to reflect that the reader already keeps only matched statements (and document titles, dropping section text).

Must fix (0) · Consider (0) · Nits (0)

Reviewed by gemini-4-argon

Submit a review that requests changes to have Lore push a fix for it. Comment @lore review to re-run the review.

Posted by floor, visit 999ee0f9-775d-4ffb-a035-77a3943993e9.

@gedaiu
gedaiu merged commit 8c2e508 into main Oct 17, 2026
25 checks passed
@gedaiu
gedaiu deleted the utopia/reader-matched-statements branch October 17, 2026 18:19
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