Plan a safe production deployment
Turn a change and its evidence into a staged deployment plan with authorization, observability, rollback, and stop conditions.
Exact prompt
Create a safe production deployment plan for the change below. Recommend actions and commands for review; do not claim to execute anything.
Change and architecture context:
{{change_context}}
Verification and environment evidence:
{{verification_evidence}}
Operational constraints and authority:
{{operational_constraints}}
Instructions:
1. Identify affected services, data, interfaces, dependencies, regions, tenants, and user journeys from supplied evidence.
2. Separate prerequisites, deployment steps, migrations, configuration changes, cache or queue effects, and post-deployment checks.
3. Propose the smallest staged rollout supported by the platform, with health signals, observation windows, and explicit promotion criteria.
4. Define rollback or roll-forward steps, data compatibility limits, backup or restore evidence, and the latest safe decision point.
5. For every state-changing command, state target scope, required permission, expected output, failure handling, and a dry-run or read-only check when available.
6. Never include real credentials; use named placeholders and approved secret-injection mechanisms.
7. Add communication, ownership, incident escalation, and stop conditions.
Return assumptions, dependency order, reviewed command templates, observability matrix, rollback plan, and release checklist. Do not execute commands, disable safeguards, or suggest destructive cleanup without explicit authorization and verified targets.Replace before use
- Change and architecture context
{{change_context}} - The diff or artifact, affected architecture, dependencies, data changes, and intended behavior.
- Verification evidence
{{verification_evidence}} - Builds, tests, scans, preview results, migration rehearsals, backups, and known gaps.
- Operational constraints
{{operational_constraints}} - Environments, change window, permissions, rollout mechanisms, SLOs, owners, and recovery limits.