From 3f458f5114d297f1afc7967d9b164a87fb037fcd Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sun, 17 May 2026 19:58:38 +0200 Subject: [PATCH] docs(agents): treat ccc index / ccc init as read-safe maintenance --- agents/AGENTS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/agents/AGENTS.md b/agents/AGENTS.md index 23fa847..af5c6af 100644 --- a/agents/AGENTS.md +++ b/agents/AGENTS.md @@ -36,3 +36,8 @@ it, results are filtered to the current working directory's subtree. The `ccc` skill has the full reference; `grep`/`rg`/`find` remain fine for exact-string lookups. +- **`ccc index` / `ccc init` are read-safe maintenance.** They only + write to the gitignored `.cocoindex_code/` directory, never to + source. Run them without confirmation prompts — at session start, + after refactors, or before a search when the index may be stale. + Treat like `grep` for permission purposes, not like a code edit.