ateam_github_rollback
Roll back the main branch to a previous state using a target tag or commit. Creates a new commit without destroying history, allowing easy reversal.
Instructions
Roll prod (main branch) back to a previous state.
ADDITIVE — does NOT destroy history. Creates a new commit on top of main whose tree matches the target's tree. The history of everything between target and current main is preserved (you can roll back the rollback).
Workflow: 1) ateam_github_list_versions (find a safe-* tag) → 2) ateam_github_rollback(target: 'safe-...') → 3) ateam_build_and_run (deploys the reverted state).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| solution_id | Yes | The solution ID | |
| target | Yes | Tag (e.g., 'safe-2026-05-19-001') or commit SHA to revert main to. Use ateam_github_list_versions to find safe-* tags. |