// 12-FACTOR AGENTOPS
Don't run production
on vibes.
Agents generate code with no record of what was tried, no gate it had to pass, no proof it works. Twelve operating rules close that gap. Before a change counts as done, something that didn't write it has to check it. No verdict, not done.
// the 12 factors
all 12 →Four phases a unit of work passes through — Prepare, Bound, Select, Govern — and Govern feeds back into Prepare.
PREPAREI - IIIset up the environment
BOUNDIV - VIconstrain what may act
SELECTVII - IXdecide what survives
// the three gaps they close
The failure modes that make agent work unreliable, each closed by a named surface.
G1JUDGMENTPressure-test plans before code.closed by /pre-mortem · /validate · /council
G2DURABLE LEARNINGSolved problems stay solved: the measured, still-unproven bet.closed by /post-mortem · ao search · ao lookup
G3LOOP CLOSUREShipped work compounds into the next session: measured, still unproven.closed by /post-mortem · the promotion ratchet · /rpi
// the bet
THE WAGER — Vendors will ship managed memory, review councils, and overnight learning loops natively; they will lock them to their runtime. Your corpus stays in .agents/ in your repo, runs on whichever harness you already pay for, and is portable across whichever frontier model wins next quarter.
Good architecture principles outlive every tool that implements them.
// your agent said done; something else proved it. the proof is yours.
the corpus stays yours