Use when choosing, running, or verifying scoped UAT deploys for Hussh Cloud Run services, including frontend-only/backend-only scope, Cloud Build timing proof, Cloud Run region discovery, and service provenance evidence.
Recursos
3Instal·la
npx skillscat add hushh-labs/hushh-research/uat-scoped-deploy Instal·la des del registre de SkillsCat.
SKILL.md
Hussh UAT Scoped Deploy Skill
Purpose and Trigger
- Primary scope:
uat-scoped-deploy-scope - Trigger on choosing, running, or verifying a scoped UAT deploy for Cloud Run services.
- Avoid overlap with
repo-context, broadrepo-operations, and product implementation owner skills.
Coverage and Ownership
- Role:
spoke - Owner family:
repo-operations
Owned repo surfaces:
.github/workflows/deploy-uat.ymldeploy
Non-owned surfaces:
repo-operationsfrontendbackendsecurity-audit
Do Use
- UAT deploys where
scope=autoresolvesfrontend,backend, orallfrom target-to-deployed-service baselines. - Cloud Build timing, skipped-lane, and deploy summary proof.
- Cloud Run service evidence: project, region, revision, image, timeout, env, traffic, and request-id logs.
Do Not Use
- Production deploys unless the user separately asks for production.
- Product code fixes after deploy verification exposes a frontend/backend bug.
- Broad CI or release-governance questions not narrowed to UAT deploy scope.
- Manual browser-only acceptance without runtime or log evidence.
Read First
.github/workflows/deploy-uat.ymldeploy/README.mddeploy/frontend.cloudbuild.yamldeploy/backend.cloudbuild.yamldocs/reference/operations/branch-governance.md.codex/skills/repo-operations/references/admin-release-sop.md.codex/skills/uat-scoped-deploy/references/deploy-proof.md.codex/skills/uat-scoped-deploy/references/anti-rationalization.md
Workflow
- Default to
scope=auto; let the resolver compare the target SHA with each service's currently deployed SHA and record both requested and resolved scope. - Force
frontend,backend, orallonly after target-to-deployed-service delta proof establishes that the override covers every accumulated runtime change. - Use
admin-release-sop.mdfor the queue-first path and any explicitly authorized Admin PR landing; do not duplicate or reinterpret its exact-head authority gate here. - Wait for
Main Post-Merge Smoketo succeed for the landedmainSHA, then trigger UAT with that exact SHA. Keep merge, smoke, and UAT deploy as separate evidence. - Watch the GitHub run until terminal success or a concrete blocker; confirm skipped lanes from run steps.
- Before Cloud Run
describe, run the evidence helper to discover the actual project/region tuple. - Capture touched-service revision, image, labels, timeout, traffic, env contracts, request IDs, and logs.
- Report run URL, scope, skipped lanes, timings, revisions, and remaining risk; never call queued work done.
- Read the
uat-verification-planartifact from the exact changed-SHA selector. PKM upgrade rehearsal and candidate evaluator are required only for PKM upgrade/storage/migration contracts; reviewer BYOK is independently selected for vault/reviewer contracts. A missing deployed SHA fails closed. Never replace this selector with a workflow-local path list.
Handoff Rules
- If the request is still broad or ambiguous, route it back to
repo-operations. - Route frontend implementation bugs to
frontendafter preserving deploy evidence. - Route backend/API contract bugs to
backend-api-contractsorbackend. - Route auth, secret, or consent boundary findings to
security-audit.
Required Checks
gh run list --workflow deploy-uat.yml --limit 5 --json databaseId,status,conclusion,headSha,event,url
python3 .codex/skills/uat-scoped-deploy/scripts/cloud_run_service_evidence.py --project hushh-pda-uat --service hushh-webapp --service consent-protocol --format text
python3 .codex/skills/codex-skill-authoring/scripts/skill_lint.py