Post auditscontracts
Write a contract for one agent. agent_id must match the agent id in your telemetry exactly — take it from the agent list rather than typing it, because a name that matches nothing is not rejected and the contract simply never applies. Case and surrounding whitespace are ignored when matching. One contract per agent: writing a second for the same agent is a conflict, not a replacement. The body is Markdown and is stored as written; the response reports which sections were recognised.
Authorizations
Body
The contract itself, as Markdown. Stored as written. Optional ---
frontmatter may set purpose and cadence; ## Outputs, ## Done when
and ## Must not headings are recognised as sections. Anything else is
kept and shown to the analysis rather than rejected. Maximum 5,000
characters — a contract is a page stating one agent's job, not a
document.
Response
The contract as stored.

