AGENTS.md

AGENTS.md is a repository instruction file that tells coding agents how to work inside a codebase without breaking local conventions, safety rules, or validation workflows.

What it means

An AGENTS.md file is a local operating guide for coding agents. It can describe how to run checks, where important modules live, which files are off limits, and which product or security rules must survive every change.

Why it matters for AI-written code

AI-generated changes inherit the context they are given. If the repository only has scattered assumptions, agents may choose the wrong test command, ignore deployment guardrails, or repeat patterns the team is trying to retire.

Guard and Fleet context

In Guard, agent instructions are part of project health. They help agents build on a codebase with fewer hidden constraints. In a fleet view, weak or missing instructions show which repositories are harder to govern at scale.

How Enji Guard helps

Guard checks whether the repository gives agents enough local context to make safe changes, then turns gaps into reviewable work. The practical result is a healthier project where the next agent change starts with better boundaries.