Repository navigation
fix(integrations): the pi and Hermes auto-recall hooks work with default settings (#1593) - #1615
Merged
Merged
Conversation
…ult settings (#1593) pi called recall --min-score (the CLI flag is --min); both adapters dropped every hit under a default threshold that fusion scores never reach; the Hermes parser expected a nested memory object. Accept --min-score as an alias, keep every hit by default, read the flat JSON, sync the embedded pi copy, drop the unreferenced hermes-memory-provider template, and test both adapters against real recall --json output.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Nov 1, 2026
Closed
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.
What
uteke recall --min-score(anduteke room recall --min-score) is accepted as an alias of--min.--min(it called the rejected--min-score) and only when a threshold is set; default threshold 0 (was 0.45). The pure parts (buildRecallArgs,parseRecallOutput) are exported for tests.recall --jsonandPOST /recallreturn, and still accepts the nestedmemoryshape.uteke init --agent piinstalls is synced, with a byte-equality test againstextensions/(it had kept the old call). The unreferencedassets/hermes-memory-provider/template (dead since feat(integrations): committed Hermes plugin package + drift guard #1301) is deleted. Docs and both skill copies say the default is 0.recall --jsonoutput, run by a newAdapter testsCI job (python unittest, bun test).Why
With default settings both auto-recall hooks injected nothing (atlas finding 4): pi's call was rejected by the CLI, and both adapters filtered on a threshold the default fusion strategy never reaches (its scores are rank-based and top out near 0.04). The Hermes parser looked for
item["memory"]["content"]while the real output is flat.Testing
python3 -m unittest discover -s extensions/hermes-uteke-memory,bun test extensions/pi-memory-provider,cargo test -p uteke-cli(161 passed), fmt, clippy -D warnings,scripts/render-hermes-integration.sh --check.