From f77db16441e15bfee78175cc68b3381162283ddf Mon Sep 17 00:00:00 2001 From: Poorvith M P Date: Mon, 13 Jul 2026 15:13:24 +0530 Subject: [PATCH] docs: replace .claudeignore with .claude/settings.json in troubleshooting (#) --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0a883e75b..e345e1d23 100644 --- a/README.md +++ b/README.md @@ -597,12 +597,12 @@ graphify install # overwrites the skill file ``` **Claude Code prompt cache invalidated after every `graphify extract`** -Graphify writes output files (`graph.json`, `graphify-out/`) into the workspace. If those paths aren't ignored, every write invalidates Claude Code's prompt cache, forcing a full re-upload at cache-write rates on the next turn. Add them to `.claudeignore`: -```text -# .claudeignore -graph.json -graphify-out/ +Graphify writes output files (`graph.json`, `graphify-out/`) into the workspace. If those paths aren't ignored, every write invalidates Claude Code's prompt cache, forcing a full re-upload at cache-write rates on the next turn. Claude Code does not support `.claudeignore`; the supported mechanism is a `deny` rule in `.claude/settings.json`: +```json +// .claude/settings.json +{ "permissions": { "deny": ["Read(./graphify-out/**)", "Read(./graph.json)"] } } ``` +> **Note:** `deny` rules gate Claude Code's *read access*, not just cache inclusion. This means Claude Code can no longer read files under `graphify-out/` — including `GRAPH_REPORT.md` and the wiki — which conflicts with navigation workflows that rely on those files. If you use `graphify-out/` as a navigation source, omit the deny rule and accept the cache invalidation cost, or scope it to specific files (e.g. only `Read(./graphify-out/graph.json)`). --- @@ -849,4 +849,4 @@ See [ARCHITECTURE.md](ARCHITECTURE.md) for module responsibilities and how to ad X Sponsor The Memory Layer -

+

\ No newline at end of file