docs: clarify BL-036/BL-047 implementation details#55
Merged
Conversation
added 2 commits
April 3, 2026 07:04
…20623 - Create OPENCODE_COMPATIBILITY.md with detailed diagnosis and solutions - Document Issue #20623: OpenCode plugin loader breaks native NAPI addons in v1.3.8+ - Add troubleshooting checklist and decision tree - Update README with compatibility badge and new issues section - Update QUICK_START with version note and error reference - Update docs/README with new compatibility document NAPI Issue Details: - Affected: OpenCode v1.3.8 - v1.3.13 - Root cause: PR #20112 plugin loader refactor - Workaround: Downgrade to v1.3.7 - Status: Issue #20623 open, no ETA for fix Solutions provided: 1. Downgrade to v1.3.7 (immediate) 2. Improve error messaging (interim) 3. Migrate to pure JS backend (long-term)
…observability - BL-036: Add env var LANCEDB_OPENCODE_PRO_VECTOR_INDEX_THRESHOLD (default 1000) for automatic IVF_PQ index creation when scope entries exceed threshold - memory_stats to expose searchMode field (in-memory-cosine | native-ivf) - pruneScope to emit warning when exceeding maxEntriesPerScope - BL-047: Expand to cover both embedding fallback AND search mode observability - memory_stats searchMode field to disclose current vector search mode - embedding fallback retains graceful degradation with structured warnings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clarify implementation details for BL-036 (LanceDB ANN fast-path) and BL-047 (search mode observability) in roadmap and backlog documentation.
Changes
BL-036 - LanceDB ANN fast-path for large scopes
LANCEDB_OPENCODE_PRO_VECTOR_INDEX_THRESHOLDenv var (default: 1000)searchModefield inmemory_statstool (in-memory-cosine|native-ivf)pruneScopeexceedsmaxEntriesPerScopeBL-047 - Embedding fallback & search mode observability
memory_statsto disclose current vector search modeMotivation
Based on codebase analysis, the current design uses in-memory cosine similarity for all vector searches. As scopes grow (up to 3000 entries), users should be aware of:
This PR provides implementation guidance for future BL-036/BL-047 work.