feat(coding-agent): support AGENTS.override.md (#7681)

This commit is contained in:
m3 2026-08-05 15:24:31 -04:00 • committed by GitHub
parent 3852cb2b81
commit 8ecf8a9883
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 41 additions and 5 deletions

View file

@ -324,6 +324,8 @@ Pi loads `AGENTS.md` (or `CLAUDE.md`) at startup from:
- Parent directories (walking up from cwd)
- Current directory
If a directory contains `AGENTS.override.md`, Pi loads it instead of `AGENTS.md` or `CLAUDE.md` from that directory. Context files from other directories are still concatenated.
Use for project instructions (`AGENTS.md`/`CLAUDE.md`), conventions, common commands. All matching files are concatenated.
Disable context file loading with `--no-context-files` (or `-nc`).