cutover-operations
Skill1 starsChanged 39 days agoApache-2.0View on GitHub
Prepare and run production cutover, rollback, backup and restore drills, upgrades, and day-2 operations for a Loams install. Use before the first production traffic and for every upgrade or incident.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- company/AGENTS.mdAGENTS.md
- agent-platformSkill
- app-migrationSkill
- byog-deploySkill
- conformance-testingSkill
- data-migrationSkill
- decision-recordsSkill
- identity-authzSkill
- loams-adoptionSkill
- loams-fitSkill
- loams-rust-sdkSkill
- observability-meteringSkill
- rust-workspaceSkill
- sdk-portabilitySkill
- stack-inventorySkill
- target-architectureSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Freeze: Stop schema changes and non-essential deploys in the window.
- Distinctive: line 39
Rollback: If a gate fails: flip the flag, restore traffic, keep writes dual until the divergence is understood.
- Distinctive: line 50
Upgrade: read notes, back up, pin the new version, upgrade, verify, keep the snapshot until stable.
- Distinctive: line 69
No cutover without a tested rollback.
- Distinctive: line 70
No upgrade without a backup.
- Distinctive: line 71
No restore drill on production data without approval.
- Distinctive: line 72
No runbook with a secret in it.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cutover and operations
A migration is not done at cutover; it is done when the team can restore, upgrade, and diagnose it without the migration team.
When to use
- Stage 5 and 6.
- A production change, upgrade, or restore drill.
- An incident needs a runbook that does not exist yet.
Inputs
company/architecture/target.md.- The service cutover plan and the data migration report.
deploy/byog/and the upstream release/upgrade guides.- Design 70, Design 63.
Cutover runbook
- Preconditions. Backups current; restore drill passed; dashboards and alerts live; rollback owner and window named; change approved.
- Freeze. Stop schema changes and non-essential deploys in the window.
- Canary. Route a small percentage; watch errors, p95, saturation, and consistency.
- Ramp. 1% → 10% → 50% → 100%, with a pause at each step.
- Verify. Contract checks, sampled data parity, and a read-your-write check.
- Rollback. If a gate fails: flip the flag, restore traffic, keep writes dual until the divergence is understood.
- Close. Record start/end, incidents, decisions, and follow-ups. Remove the old path only after the window.
Day-2 runbooks
- Backup: disk snapshot + bucket versioning; record the retention and the owner.
- Restore: new disk from snapshot, point the stack at it, verify, then reopen traffic. Time it.
- Upgrade: read notes, back up, pin the new version, upgrade, verify, keep the snapshot until stable.
- Incident: identify the layer (client, engine, store, network, identity), check the dashboard, capture logs, and escalate.
- Capacity: watch disk, RAM, bucket growth, and queue lag; scale before the limit.
- Revocation: disable the principal, delete tuples, rotate keys.
- Support bundle: collect logs, versions, and config with secrets redacted.
Outputs
company/runbooks/cutover-<service>.md.company/runbooks/operate.md.company/runbooks/restore-drill.md.company/runbooks/upgrade.md.company/runbooks/incident.md.
Guardrails
- No cutover without a tested rollback.
- No upgrade without a backup.
- No restore drill on production data without approval.
- No runbook with a secret in it; reference the secret store.
- The light stack is single-node; plan for downtime, not failover.
References
- BYOG kit
- Design 70
- Migration playbook
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

