Release consistency
Bind human review to an explicit candidate revision and content checksum.
Read candidate status
GET /v1/workspaces/{workspace_id}/gateway-releases/status returns the active Release, candidate revision, checksum, validation results, and a secret-free effective diff. POST /v1/workspaces/{workspace_id}/gateway-releases/validate validates references and constraints independently.
Publish after review
Send expected_candidate_revision, expected_content_checksum, and base_release_id from the latest status to POST /v1/workspaces/{workspace_id}/gateway-releases. Omit base_release_id only for the first Release. This requires publish permission.
If the draft or active baseline changes after review, read the status, inspect the new diff, and review again. Do not automatically republish an old candidate. Fix validation failures in the draft.
Confirm activation
Publication returns immutable Release metadata. Control-plane publication and Gateway activation are distinct states; inspect the deployed Gateway version and request logs. Rollback also requires review, publication, and auditing.