You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
knowledge-turso: approximate (libsql_vector_idx) search for large sources, chosen by size, never on a multi-organization store #37975
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p3
Premise re-read on main 0b539b6: the store creates no DiskANN index because vector_top_k ranks before the organization filter (packages/plugins/knowledge-turso/README.md:49, turso-adapter.ts:189). On hosted, one organization per database (cloud ADR-0114), so that filter is moot there.
Per source, above a passage threshold (default 20k, an option), build a libsql_vector_idx and search via vector_top_k(k × factor), then the metadata filter and the per-hit re-check.
Triage: lands in area:ai · domain:server · Feature · p3 · pm:queue · size M; rationale: maintainer-directed knowledge-topic child (#37000): approximate vector search for large Turso sources, chosen by size and never on a multi-organization store. A scale feature, so p3 as filed. Recorded 2026-11-27T14:16Z.
Claim: PM loop round 9 · area o1-C (epic #37000; area concurrency 8 by the maintainer 2026-11-27T11:26Z) · 2026-11-27T19:52Z
Session: session_016WV4cwPhGV4g9p1BGQaZbP
Account: os-elon-musk
Branch: claude/area-o1C-37975
Worktree: objectstack-issue-37975
Domain: domain:server
Area: o1-C
Seat: repo:objectstack#1
File surface: packages/plugins/knowledge-turso/src/turso-adapter.ts + sql.ts (a per-source passage-count threshold option, a libsql_vector_idx built above it, the vector leg via vector_top_k(k × factor) then the in-scope WHERE and the per-hit re-check; the keyword leg and RRF merge unchanged), knowledge-turso tests (threshold switch, multi-organization store never ANN, recall@10 sample against the exact scan, a latency measurement), packages/plugins/knowledge-turso/README.md (the Search paragraph), content/docs/ai/knowledge-rag.mdx if it names the exact scan, a changeset.
Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: high (reason: M; an index whose ranking precedes the filter, so the organization rule and the over-fetch factor carry correctness, plus a measured latency and recall)
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack's own code, packages/plugins/knowledge-turso/src/turso-adapter.ts | a search over a source with hundreds of thousands of passages reads every vector on each call | a hosted organization with a large knowledge source
Thread-read: 7220587871
Premise: holds, read on origin/main c151c49 (after #38037) — README.md:49 and turso-adapter.ts:189 / :205 / :217: the vector leg is an exact cosine scan and the store creates no DiskANN index because vector_top_k ranks before the organization filter.
Serial constraints cleared: probe overlap-check (turso-adapter.ts, sql.ts, README.md) against origin/main and every open PR: VERDICT clean exit 0, no PR shares a file. #38037 (hybrid, same search SQL) merged at c151c49, so this card's wait is over. F3 #37957 (visible-ids cap) is not started; the card's "callers whose visible ids fit the F3 cap keep the exact path" lands with whichever of the two lands second, and the PR says so.
Pre-claim lane: packages/plugins/knowledge-*/** ⇒ domain:server.
Pre-claim deps: none open; triage 7220587871 sized it M.
Prior rulings read: card thread 0 rulings (triage 7220587871).
Fold-or-serial: not folded with #37957 (different surface: search options in the service; serial by the rule above).
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesdomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p3
Activity
objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ai · domain:server · Feature · p3 · pm:queue · size M; rationale: maintainer-directed knowledge-topic child (#37000): approximate vector search for large Turso sources, chosen by size and never on a multi-organization store. A scale feature, so p3 as filed. Recorded 2026-11-27T14:16Z.
objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP
Claim: PM loop round 9 · area o1-C (epic #37000; area concurrency 8 by the maintainer 2026-11-27T11:26Z) · 2026-11-27T19:52Z
Session:
session_016WV4cwPhGV4g9p1BGQaZbPAccount:
os-elon-muskBranch:
claude/area-o1C-37975Worktree:
objectstack-issue-37975Domain:
domain:serverArea: o1-C
Seat:
repo:objectstack#1File surface:
packages/plugins/knowledge-turso/src/turso-adapter.ts+sql.ts(a per-source passage-count threshold option, alibsql_vector_idxbuilt above it, the vector leg viavector_top_k(k × factor)then the in-scope WHERE and the per-hit re-check; the keyword leg and RRF merge unchanged), knowledge-turso tests (threshold switch, multi-organization store never ANN, recall@10 sample against the exact scan, a latency measurement),packages/plugins/knowledge-turso/README.md(the Search paragraph),content/docs/ai/knowledge-rag.mdxif it names the exact scan, a changeset.Container & model: M,
mode:subagent, model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: high (reason: M; an index whose ranking precedes the filter, so the organization rule and the over-fetch factor carry correctness, plus a measured latency and recall)Clause-②: no
Metadata-protocol: none
Responsibility: objectstack's own code,
packages/plugins/knowledge-turso/src/turso-adapter.ts| a search over a source with hundreds of thousands of passages reads every vector on each call | a hosted organization with a large knowledge sourceThread-read: 7220587871
Premise: holds, read on origin/main c151c49 (after #38037) —
README.md:49andturso-adapter.ts:189/:205/:217: the vector leg is an exact cosine scan and the store creates no DiskANN index becausevector_top_kranks before the organization filter.Serial constraints cleared: probe overlap-check (turso-adapter.ts, sql.ts, README.md) against origin/main and every open PR: VERDICT clean exit 0, no PR shares a file. #38037 (hybrid, same search SQL) merged at c151c49, so this card's wait is over. F3 #37957 (visible-ids cap) is not started; the card's "callers whose visible ids fit the F3 cap keep the exact path" lands with whichever of the two lands second, and the PR says so.
Pre-claim lane:
packages/plugins/knowledge-*/**⇒domain:server.Pre-claim deps: none open; triage 7220587871 sized it M.
Prior rulings read: card thread 0 rulings (triage 7220587871).
Fold-or-serial: not folded with #37957 (different surface: search options in the service; serial by the rule above).