Mergetrain
Safely integrates committed branches from parallel coding agent worktrees, testing them together and recovering from interrupted pushes.
Mergetrain is a local-first deploy train specifically designed for integrating branches produced by multiple coding agents working in parallel Git worktrees. It queues agent-committed branches, tests the combined result, and atomically updates Git references only after explicit human approval. This utility is optimized for owner-operated local use, ensuring queue and runner state remain on your machine, providing a durable protocol for the "last mile" of code integration and recovery from push interruptions without relying on external hosted services or accounts.
주요 기능
01Durable FIFO queue for managing landing order of branches
02Lease-fenced runner to ensure one owner for atomic Git pushes
03Isolation runs to identify conflicting pairs causing cross-branch failures
04Combined validation of the exact assembled train using configured gates
05Remote-truth recovery for determining push status after interruptions
063 GitHub stars
사용 사례
01Processing pre-approved jobs unattended while maintaining human gating for pushes
02Integrating multiple coding agent branches from Git worktrees throughout the day
03Ensuring combined results pass local tests before landing code changes