What problem does it solve?
Reconcile transient session or memory Git branches into main while making conflicts and cleanup explicit, preventing accidental force-pushes or hidden background mutations to user worktrees. The Skill centralizes safe integration workflows so operators can merge completed agent work or session edits without risking active processes or losing commits.
Core Features & Use Cases
- Discover and classify session/* branches in the current repository or memory/* branches in KORDINATE_HOME, skipping active or empty branches.
- Integrate changes using a detached-HEAD integration workspace, rebase onto latest main, and fast-forward main with explicit push or local update for memory branches.
- Provide clear conflict reporting, avoid guessing on complex merges, and perform explicit cleanup of worktrees and local branches after successful integration.
- Use Case: Consolidate outputs from multiple ephemeral agent worktrees or user sessions into a single main branch while preserving safety and visibility.
Quick Start
Run the integrate skill with optional --memory or a specific branch name to reconcile branches into main, report conflicts, and clean up merged worktrees.