Starting decoupling requests
This commit is contained in:
@@ -148,3 +148,14 @@ The full tables live in the docs. The most important ones:
|
||||
`src/voxel_cache/*`, `src/gpu/*`, or `shaders/*`, not in `main.rs`.
|
||||
- **Document discrepancies as observations.** If code and comments disagree,
|
||||
state what the code does, what the comment claims, and your confidence.
|
||||
|
||||
<!-- CODEGRAPH_START -->
|
||||
## CodeGraph
|
||||
|
||||
In repositories indexed by CodeGraph (a `.codegraph/` directory exists at the repo root), reach for it BEFORE grep/find or reading files when you need to understand or locate code:
|
||||
|
||||
- **MCP tool** (when available): `codegraph_explore` answers most code questions in one call — the relevant symbols' verbatim source plus the call paths between them, including dynamic-dispatch hops grep can't follow. Name a file or symbol in the query to read its current line-numbered source. If it's listed but deferred, load it by name via tool search.
|
||||
- **Shell** (always works): `codegraph explore "<symbol names or question>"` prints the same output.
|
||||
|
||||
If there is no `.codegraph/` directory, skip CodeGraph entirely — indexing is the user's decision.
|
||||
<!-- CODEGRAPH_END -->
|
||||
|
||||
Reference in New Issue
Block a user