Skip to content

chore: update dependencies + improve recall skill and search logging#19

Draft
lklimek wants to merge 2 commits into
mainfrom
chore/update-dependencies
Draft

chore: update dependencies + improve recall skill and search logging#19
lklimek wants to merge 2 commits into
mainfrom
chore/update-dependencies

Conversation

@lklimek
Copy link
Copy Markdown
Owner

@lklimek lklimek commented Mar 27, 2026

Summary

  • Update all 37 workspace dependencies to latest compatible versions via cargo update
  • Task-aware recall skill: Rewrite skills/recall/SKILL.md to guide task-specific keyword extraction instead of generic "project context" queries. Adds multi-pass search strategy (task query first, broad context fallback only if needed) with good/bad query examples
  • Search result logging: Add info!() tracing to search_memories() and unified search() handlers in serve.rs — logs query text, result count, and top relevance score for quality analytics

Context

Analytics of 4,534 Claude Code sessions showed:

  • 78% of agent sessions never call memcan (not due to missing access — all agents have tools)
  • 5.5% of all searches used the generic query "project context"
  • No server-side metrics existed to measure search result quality

These changes address the root causes: vague queries (recall skill) and unmeasurable quality (logging).

Verification

Check Status
cargo build --workspace PASS
cargo test --workspace PASS (19 passed, 0 failed)
cargo clippy --workspace --all-targets -- -D warnings PASS (0 warnings)
cargo fmt --all -- --check PASS

Merge Strategy

Intended for squash merge.

🤖 Co-authored by Claudius the Magnificent AI Agent

lklimek and others added 2 commits March 27, 2026 16:43
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Recall skill now guides task-specific keyword extraction with
  multi-pass search strategy (task query first, broad context second)
- Server logs search metrics (query, result count, top score) for
  quality analysis

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lklimek lklimek changed the title chore: update all workspace dependencies chore: update dependencies + improve recall skill and search logging Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant