What problem does it solve?
It prevents the fragile “last mile” of getting a completed phase merged and pushed, which otherwise breaks continuity between planning, implementation, and retrospection.
Core Features & Use Cases
- Resolves the target phase automatically: Uses a provided phase argument or reads the current Phase from .planning/STATE.md to decide what to ship.
- Guards the merge with safety checks: Blocks shipping when uncommitted changes exist to avoid overwriting or losing work.
- Orchestrates delivery with the right path: Delegates to GSD (when available) or guides a manual git merge + push + optional PR creation flow (when GSD is absent); records a ship event in .planning/HANDOFF.md for traceability.
Quick Start
Run sg-ship with no arguments to ship the current phase resolved from .planning/STATE.md.