Repository navigation
Conversation
Member
Author
|
Cross-repo integration note: hanzoai/semantic PR #1 is the semantic-memory owner and adds the Go reference resonance scorer. Engine should stay an optional Rust scoring accelerator; do not introduce a parallel long-term memory DB here. Preserve Semantic's existing subject-scoped/vector/graph/triple retrieval and LoCoMo benchmark, use a future opt-in shortlist adapter with grounded proposition-level phase metadata, and require Go/Rust parity plus contrastive negation evaluation before production. |
This branch has not been deployed
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.
Overview
Introduces a native, dependency-free Rust implementation of the published phase-aware resonance score as an experimental Engine API.
hanzo_engine::resonancemodule exposed from Enginedocs/RESONANCE_MEMORY.mdCorrectness guardrails
No automatic negation detection. Conversion from a real embedding to a complex pattern gives the same ranking as cosine for equal-norm inputs. New semantic operator information must be grounded at ingest/query time. This is an experimental reranker, not a replacement for vector indexes.
Licensing
Independently written against the published equation in arXiv:2509.09691v1; no upstream ResonanceDB code copied. The upstream source-available license is not imported.
Rollout
Existing Engine RAG/search paths unchanged. Native kernel can be called by a future experimental memory adapter; add persistence, semantic operator extraction and explicit runtime flags only after benchmark gates.
Validation
Unit tests authored but not executed here because the current runtime has no Rust toolchain. Please run:
cargo test -p hanzo-engine resonance:: --libbefore merging. CI pending.