Expand description
greengate 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
greengate 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 greengate.conf’s “declared, never assumed” posture.
Enums§
Constants§
Functions§
- check
- check_
pointer - Is the CLAUDE.md signpost the one this binary generates?
- desired_
file_ content - What writing would produce, given what is on disk today.
- desired_
pointer_ content - The same splice, for the pointer.
- generate_
block - The block, START and END inclusive, always ending in exactly one newline.
- generate_
pointer - The
CLAUDE.mdpointer, START and END inclusive. - has_
markers - Does
textcarry a marker of either pair? The opt-in test, answered from the text alone. - write
- write_
pointer - Write the CLAUDE.md signpost.