feat: Phase 3.1 subphases + kernel plan pointer-only#49
Merged
Conversation
- Cross-encoder rerank top-20, multi-intent query decomposition - proofs --ci reb baseline gate vs docs/benchmarks/latest.json - Temporal confidence decay on facts during memory GC - Replace committed phase tracker with local-only pointer doc
Delete docs/architecture/15-kernel-overhaul.md entirely. Phase tracker lives only in gitignored docs/superpowers/plans/ locally.
Conservative query decomposition (no bare "and" splits) and blend hybrid scores with lexical cross-rerank instead of replacing retrieval order.
Near-duplicate route_task queries reuse cached responses when Jaccard similarity exceeds threshold. Cross-encoder rerank and query decompose fixes from prior commit retained. Bump 0.35.0.
Blended rerank still dropped skills.sh Recall@3 to 0.68 on release CI. Keep cross_encoder_rerank module for Phase 9 ONNX gate; do not reorder hybrid scores until real cross-encoder is wired behind config.
Query decomposition and semantic L2 cache hooks regressed release eval (0.72 vs 0.80). Keep modules for Phase 9 but leave routing path on master behavior until gated behind config with eval coverage.
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
proofs --cidocs/superpowers/plans/2026-07-02-kernel-overhaul.mdReverts the committed phase tracker from #48; status tracking stays local-only.
Test plan
cargo check -p agent-braincargo test -p agent-brain --lib cross_encodercargo test -p agent-brain --lib query_decomposecargo test -p agent-brain --lib memory_decay