Skip to main content

Module agents_md

Module agents_md 

Source
Expand description

amont agents-md — a self-verifying pointer for coding agents.

Deliberately NOT a prose contract and NOT a list of check names: both drift from what the registry actually enforces the moment a check is added, removed, or its severity changes — see amont-fleet’s severities module doc for the canonical shape of that failure. This generates a short block that instead tells an agent to ask amont list --json, which cannot go stale because it IS the registry.

Never touches anything outside its own markers. An AGENTS.md a repository already wrote is the repository’s, not this tool’s, to rewrite — matching amont.conf’s “declared, never assumed” posture.

Enums§

CheckResult
MarkerState

Constants§

END
START

Functions§

check
desired_file_content
What writing would produce, given what is on disk today.
generate_block
The block, START and END inclusive, always ending in exactly one newline.
write