AGENTS.md: soften 6th rule — ccc is an option, not a mandate

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
CroneKorkN 2026-05-10 21:36:59 +02:00
parent 852a65a6f6
commit 99d68a5135
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -38,12 +38,15 @@ Six rules; follow these and you won't break things:
5. **Prefer adding helpers to `libs/`** over duplicating logic across
bundles. Repo-wide helpers go in
[`libs/`](libs/AGENTS.md), reachable as `repo.libs.<x>`.
6. **Search semantically.** This repo is indexed with
[`ccc`](https://github.com/cocoindex-io/cocoindex-code) — try
`ccc search '<concept>' --path '**'` before `grep` for
"where is X / which bundle does Y" questions. Without
`--path '**'`, results are filtered to the current working
directory's subtree.
6. **`ccc` is available for semantic search.** This repo is indexed
with [`ccc`](https://github.com/cocoindex-io/cocoindex-code).
Reach for it on conceptual questions ("where is X used / which
bundles do Y / what are the contexts of Z"), where a keyword
grep would miss indirect usage:
`ccc search '<concept>' --path '**'`. Pass `--path '**'`
without it, results are filtered to the current working
directory's subtree. `grep`/`rg`/`find` remain fine for
exact-string lookups; pick whichever fits the question.
## Layout