agent-zero/prompts/agent.protocol.projects.agents_md.md
Alessandro bcf2634000 Add AGENTS.md protocol guidance
Load active-project AGENTS.md path-chain guidance into the protocol area without duplicating the project root instructions.

Move the AGENTS.md protocol wording into a prompt template, reuse existing file/path helpers, and cover direct-path discovery plus prompt assembly with focused tests.
2026-07-08 14:29:15 +02:00

6 lines
318 B
Markdown

# AGENTS.md instructions
- these path-owned instructions are binding for the current project/workdir chain
- active project root AGENTS.md is loaded separately in project instructions
- before editing a deeper target, read AGENTS.md files on the direct path to that target; ignore siblings
{{agents_md_instructions}}