platform-quick-deploy
Quick Deploying to Prod
Promote a validated deploy to a Production org using the job ID from a prior sf project deploy validate. No tests re-run, no components re-validated — just the promotion.
Preconditions (gate strictly)
Before doing ANYTHING, verify all four:
-
Target is Production Confirm the target really is production with the gate's classifier, which resolves the org the same way the deploy hook does (returns
production|sandbox|scratch|trial|unknown):"${CLAUDE_PLUGIN_ROOT}/scripts/sf-deploy-gate" bucket <alias>Production means not a scratch org or sandbox (no
--ortest.salesforce.comhost marker) and not a trial/Developer Edition org (orgfarm-*,*.develop.my.salesforce.com,*.pc-rnd.*hosts, or a future trial expiration date, as on SDOs). A Dev Hub with none of those signals is production.If target is NOT production (classifier returns anything other than
production) → STOP and redirect toplatform-metadata-deploy(which handles non-prod natively).unknownmeans the org type could not be confirmed (usually an incomplete org record). Say so plainly: the deploy gate still allows the deploy, auto-deploy on save stays off for that org, and re-authenticating withsf org login webusually restores the classification.