feat(kvb-agent-optimize): index every repository a session opens
Once codebase-memory-mcp is installed, the global install switches its auto_index on (codebase-memory-mcp config set auto_index true), so every repository a session opens is indexed and watched without a per-repository step; without the binary, install warns and points at kvb-agent-optimize. The skill's index step now checks index_status and indexes by hand only where the graph is missing, then check_index_coverage. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c5497ebadc
commit
390d51d13d
2 files changed
+12
-2
No files matched your search
@@ -64,6 +64,12 @@ if [[ "${TARGET}" == "${HOME}" ]]; then
|
||||
else
|
||||
warn "skills: no systemd user session; skipped the kvb-dream notification timer."
|
||||
fi
|
||||
if command -v codebase-memory-mcp &>/dev/null; then
|
||||
log "skills: auto-indexing every repository a session opens into the code graph"
|
||||
codebase-memory-mcp config set auto_index true
|
||||
else
|
||||
warn "skills: codebase-memory-mcp not installed; the code graph stays off (see kvb-agent-optimize)."
|
||||
fi
|
||||
fi
|
||||
|
||||
log "skills: done. Restart your agent to load the skills."
|
||||
Reference in new issue
Block a user