Expand description
Discovery, auditing, and sync for AGENTS.md/CLAUDE.md instruction files.
Re-exports§
pub use agent_runbooks as runbooks;
Structs§
- Audit
Config - Configuration for instruction file discovery and auditing.
- Issue
- An issue found during auditing.
Functions§
- check_
actionable - Check that agent instruction files contain actionable content.
- check_
context_ invariant - Check instruction files for machine-local path references.
- check_
library_ context_ policy - Check that a library AGENTS.md contains a
## Library Context Policysection with a resolvable link toLIBRARY_CONTEXT_POLICY.md. - check_
line_ budget - Check combined line count against budget.
- check_
staleness - Check if instruction files are older than source code.
- check_
tree_ paths - Check that file paths referenced in “## Project Structure” blocks exist.
- find_
instruction_ files - Discover all instruction files under the given root.
- find_
root - Find the project root by walking up from CWD.
- init
- Initialize instruction-files in a project.
- init_
runbooks - Initialize
.agent/runbooks/with bundled defaults. - is_
agent_ file - Check if a file path refers to an agent instruction file.
- run
- Run the full audit with the given configuration.