Release Coordinator Documentation¶
Two-Layer Enforcement Architecture¶
- Primary Security Layer: GCP IAM & Deployer-SA Impersonation
- Per-app deployer service accounts enforce zero-trust identity boundaries (
ww-deployer@nifty-condition-503506-j1.iam.gserviceaccount.comfor WorkWingman rungs). - Every
gcloudinvocation issued byrc(Cloud Run, Cloud Build, Cloud Storage, Artifact Registry) executes strictly via--impersonate-service-account=<sa>. - If a rung declares a deployer service account and impersonation cannot be applied or fails,
rcfails closed immediately rather than falling back to human developer credentials. -
Cloud IAM roles restrict direct service mutation (
roles/run.admin,roles/storage.admin, etc.), and execution identities are logged inexecutedAsprovenance/deploy records. -
Ergonomic Guardrail Layer: PreToolUse Client Hook (
rc hook-pretool) - Intercepts local developer/agent CLI calls (
gcloud run deploy,gcloud storage rsync,gcloud artifacts docker tags,docker push,git push). - Demands an active
rc claimtoken; fails-closed if unverified or missing.