Skip to content

Commit d25203b

Browse files
committed
no-mistakes(document): Document watcher ignore rules and graph-only memory tools
1 parent a1b3c60 commit d25203b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ one tool and exits without the MCP stdio handshake — ideal for scripting.
9797
| `--full-body-embedding` | `true` | Embed full function body (~50 lines) for better semantic search and duplicate detection |
9898
| `--max-files <n>` | 5000 | Maximum files to index |
9999
| `--profile <name>` | `all` | Filter the exposed MCP tool surface to a named subset (see below) |
100-
| `--graph-only` | off | Skip embedding generation — build the graph and serve structural tools only. No ONNX model load, 10-50× faster indexing. Semantic search unavailable. For CI / one-shot graph queries. |
100+
| `--graph-only` | off | Skip embedding generation — build the graph and serve structural tools only. No ONNX model load, 10-50× faster indexing. Semantic search and memory tools unavailable. For CI / one-shot graph queries. |
101101
| `--run-tool <name>` | — | One-shot mode: index, run a single tool, print its result, exit. No MCP handshake. Pair with `--tool-args '<json>'`. |
102102

103103
#### `--embedding-model static` — model2vec fast indexing

‎docs/tool-calling-guide.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ Add an entire directory alongside existing data.
589589

590590
### Workspace exclusion: `.codegraphignore` + default skip list
591591

592-
`reindex_workspace` and `index_directory` honor a per-folder `.codegraphignore` file (gitignore-like syntax — one pattern per line, `#` comments, blank lines ignored; no `!` negation in v1) plus a built-in skip list for binary archives, compiled artifacts, OS metadata, and bulky non-source:
592+
Initial indexing, `reindex_workspace`, `index_directory` and the file watcher honor a per-folder `.codegraphignore` file (gitignore-like syntax — one pattern per line, `#` comments, blank lines ignored; no `!` negation in v1) plus a built-in skip list for binary archives, compiled artifacts, OS metadata, and bulky non-source:
593593

594594
- Archives: `**/*.tar.gz`, `**/*.tar.bz2`, `**/*.tar.xz`, `**/*.tgz`, `**/*.tbz2`, `**/*.zip`, `**/*.7z`, `**/*.rar`, `**/*.deb`, `**/*.rpm`, `**/*.pkg`, `**/*.dmg`, `**/*.iso`, `**/*.img`
595595
- Binaries: `**/*.exe`, `**/*.dll`, `**/*.so`, `**/*.dylib`, `**/*.bin`, `**/*.o`, `**/*.a`, `**/*.lib`, `**/*.obj`, `**/*.pdb`, `**/*.pyc`, `**/*.class`, `**/*.jar`
@@ -599,6 +599,7 @@ Add an entire directory alongside existing data.
599599
- Misc: `**/*.sqlite`, `**/*.db`, `**/*.lock`
600600

601601
Prevents fastembed/ONNX runaway on workspaces containing proof bundles, cloned upstream targets, prebuilt binaries, or triage doc folders. Per-folder so each workspace can have its own rules.
602+
The file watcher reads `.codegraphignore` once at startup, so edits to it (like changes to `--exclude`) take effect on the next start.
602603

603604
Example `.codegraphignore` for a bounty workspace:
604605

0 commit comments

Comments
 (0)