rebase_preflight
Check rebase outcomes before starting. Identifies commits that would be dropped, missing from the range, already applied, or colliding with untracked files, plus any in-progress changes.
Instructions
Check what a rebase would do, without starting it or changing anything.
Reports commits the todo would drop silently, commits it names that are not in the range, commits whose change is already in the base under a different sha, anything already in progress or uncommitted, and untracked files a replayed commit would collide with.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| repo | No | . | |
| todo | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| commits | Yes | ||
| dropped | Yes | ||
| unknown | Yes | ||
| blocking | Yes | ||
| guidance | Yes | ||
| stray_fixups | Yes | ||
| safe_to_start | Yes | ||
| already_upstream | Yes | ||
| untracked_collisions | Yes |