# Workflow: Deployment ## Intent Classification **Triggers:** Deploy to staging/production, release, infrastructure changes ## Fixed Output Format ```markdown ## Deployment Summary [What and where] ## Pre-Deployment - [x] Backup created - [x] Tests pass - [x] Rollback plan documented ## Changes Applied | Step | Command | Status | |------|---------|--------| | 1 | [command] | ✅ | | 2 | [command] | ✅ | ## Verification - [x] Service responding: [url] - [x] Logs normal: [check] - [x] Smoke test: [result] ## Rollback (if needed) [Exact rollback steps] ``` ## Tool Access Rules 1. **Check first** - current state before changing 2. **Backup** - always before production changes 3. **Verify** - process running, endpoint responding, output correct 4. **Document** - update RUNBOOK.md if procedure changed ## Constraints - NO: Deployment without verification plan - NO: "It should work" = done - NO: Blurry rollback steps - YES: Status checked and reported - YES: Rollback tested if possible