mirror of
https://github.com/colbymchenry/codegraph.git
synced 2026-10-26 07:13:13 +08:00
A global install writes the block into user-scope files (~/.claude/CLAUDE.md, ~/.codex/AGENTS.md) that apply to EVERY repo the user opens — the unconditional "This repository is indexed" claim was false in unindexed ones and would send subagents into failing codegraph calls, the exact noise the unindexed-session policy (#817) eliminates. Now: "In repositories indexed by CodeGraph (a .codegraph/ directory exists) …" plus an explicit skip-entirely line for the no-index case. Residual: the delegation A/B validated the assertive project-scoped wording; the conditional form keeps the same active ingredients (the codegraph name + both command surfaces in the relay-able slot) — fold a re-check into the next delegation A/B run. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>