Expand description
AGENTS.md / CLAUDE.md context file discovery (task 3.7).
Discovers context files by walking from the current working directory up to the git root, then optionally checking a global config directory. Deterministic precedence: nearest directory first, then ancestors, then global. Per-directory order: AGENTS.md before CLAUDE.md. OPI.md is NOT loaded (ADR-020).
Structs§
- Context
Files - Result of context file discovery.
Functions§
- discover_
context_ files - Discover and concatenate AGENTS.md and CLAUDE.md context files.