codehuman approval8-25 min
Migrate an API
"Migrate in batches you can read and revert."
Move call sites from an old API to a new one across the repo, in reviewable batches with a rollback note.
anatomy
01
Collect context
Gather the source events and inputs for Migrate an API.
02
Run loop steps
Execute the template with its declared tools, model posture, and budget guard.
03
Verify checks
Hold output against: batched diffs, tests per batch, human approval.
04
Record trace
Write the run trace, audit event, and any proposal for operator review.
output contract
summaryRequired human-readable result with source references where applicable.checksEvery declared check must report pass, fail, or held.proposalOptional change proposal; never applied without the configured governance gate.audit_refRequired trace pointer for replay and rollback.