Part of #489.
Summary
When running inside a git worktree whose main repo also has AGENTS.md, don't load the same file twice.
Reference
reference-cc/src/utils/claudemd.ts:868-884.
Acceptance
- Worktree under a parent repo loads each file exactly once.
- No-op when not inside a worktree.
Effort: S (~80 LoC).
Part of #489.
Summary
When running inside a git worktree whose main repo also has
AGENTS.md, don't load the same file twice.Reference
reference-cc/src/utils/claudemd.ts:868-884.Acceptance
Effort: S (~80 LoC).