diff --git a/README.md b/README.md index 39b09b7d2..a5e04e728 100644 --- a/README.md +++ b/README.md @@ -660,6 +660,14 @@ UPSTREAM (what depends on this): Options: `maxDepth`, `minConfidence`, `relationTypes` (`CALLS`, `IMPORTS`, `EXTENDS`, `IMPLEMENTS`), `includeTests`, `limit` (max symbols per depth, default 100), `offset` (pagination start per depth), `summaryOnly` (counts and risk only, omits symbol list) +**Disambiguation** — when several symbols share the target name, `impact` returns a ranked `ambiguous` candidate list instead of guessing. Narrow it with `target_uid` (exact, zero-ambiguity), `file_path`, or `kind` (`Function`, `Class`, `Method`, …). From the CLI these are `--uid`, `--file`, and `--kind`, matching `gitnexus context`: + +```bash +gitnexus impact get_embeddings # → ambiguous: lists ranked candidates +gitnexus impact get_embeddings --file src/embed.py # → resolves to the one in that file +gitnexus impact get_embeddings --uid "Function:src/embed.py:get_embeddings" # exact +``` + ### Process-Grouped Search ``` diff --git a/gitnexus/README.md b/gitnexus/README.md index b313a7f46..e0ba4283e 100644 --- a/gitnexus/README.md +++ b/gitnexus/README.md @@ -170,6 +170,13 @@ gitnexus clean --all --force # Delete all indexes gitnexus wiki [path] # Generate LLM-powered docs from knowledge graph gitnexus wiki --model # Wiki with custom LLM model (default: gpt-4o-mini) +# Direct graph queries — the same tools the MCP server exposes, no MCP daemon needed +gitnexus query "" # Process-grouped hybrid search +gitnexus context [--uid | --file ] # 360° symbol view; flags disambiguate a shared name +gitnexus impact [--uid | --file | --kind ] # Blast radius; flags disambiguate a shared name +gitnexus detect-changes # Map the working-tree diff to affected symbols and execution flows +gitnexus cypher "" # Run a raw Cypher query against the knowledge graph + # Repository groups (multi-repo / monorepo service tracking) gitnexus group create # Create a repository group gitnexus group add # Add a repo to a group. is a hierarchy path (e.g. hr/hiring/backend); is the repo's name from the registry (see `gitnexus list`)