Instant Rollback
The Problem
Production breaks at 2:47 PM on Tuesday. A customer reports a bug. Your AI system is giving wrong answers. Traditional approach:How It Works
Edgit uses a 4-level tag format:components/prompts/extraction/production
Environment tags (like production, staging) are mutable - they move to point at different versions. This is why you need --force when pushing: Git requires it to update remote tags that already exist.
Why —force is Required
Environment tags are mutable pointers. When you rollback:productiontag already exists pointing to v1.1.0- You move it to point to v1.0.0
- Git sees this as “rewriting” the tag
--forcetells Git: “Yes, I want to move this tag”
Emergency Rollback Playbook
Step 1: Check Current Deployment
Step 2: Find Last Known Good Version
Step 3: Rollback
Step 4: Monitor
Step 5: Investigate
Partial Rollback
You don’t have to rollback everything. Roll back only what’s broken.Scenario
You deployed 3 components at once:prompts/extractionv1.1.0 Works fineprompts/analysisv2.0.0 BROKENconfigs/validationv1.5.0 Works fine

