docs(specifications): add helix-db-feature-ideas spec#1603
Open
docs(specifications): add helix-db-feature-ideas spec#1603
Conversation
Cross-pollination spec evaluating helix-db patterns for adoption in aprender. Nine candidates (HELIX-IDEA-001..009) covering persistent HNSW, inventory-based MCP handler registration, compile-time DSL macro pattern, multi-target deployment, hybrid retrieval (BM25 + dense), reranking pipeline (RRF/MMR/cross-encoder), snapshot/backup, schema migration macro, and constant-time API-key auth for apr serve. Each proposal scoped with effort, target crate, non-goals, open questions, and acceptance signals. Section 1.3 grounds the spec in verified facts about aprender's current state; section 6 logs one falsified-and-corrected claim from the initial draft (MCP handler discovery is hardcoded, not contracts-mediated). Section 3 enumerates rejected candidates (LMDB swap, HelixQL the language, embedding-provider abstraction, browser dashboard, vendor-specific metrics) with explicit reasoning. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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
Adds
docs/specifications/helix-db-feature-ideas.md— a cross-pollination spec evaluating which helix-db patterns are worth adopting in aprender. Nine candidate proposals (HELIX-IDEA-001..009), each scoped with effort, target crate, non-goals, open questions, and acceptance signals.Recommended (high priority):
aprender-core/src/index/hnsw.rs)Vecataprender-mcp/src/server.rs:221-233)apr serveSpeculative / deferred:
Explicitly rejected (with reasons in §3): LMDB storage swap, HelixQL the language, helix-db graph traversal model, embedding-provider abstraction, browser dashboard, vendor-specific metrics pipeline, heed3 for registry (already SQLite).
What this is and isn't
Vecmediates discovery." That correction sharpens HELIX-IDEA-002's value.Test plan
main(e.g.,crates/aprender-core/src/index/hnsw.rs,crates/aprender-mcp/src/server.rs:221-233)ci / gateandworkspace-testshould pass without rebuild impact🤖 Generated with Claude Code