EveryDev.ai
Subscribe
Home
Tools

3,303+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Claude Code Merge Queue
    Claude Code Merge Queue icon

    Claude Code Merge Queue

    AI Coding Assistants

    A local, zero-cost merge queue CLI for serializing parallel Claude Code agent landings, preventing push races and shared-resource test flakiness.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open source under the MIT license. Install via npm with zero cost.

    Engagement

    Available On

    Web
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI Coding AssistantsMulti-agent SystemsVersion Control

    Alternatives

    omegacodeADENyx
    Developer
    Jesse HeaslipPuerto Escondido, OaxacaEst. 2011$1000000+ raised

    Listed Aug 2026

    About Claude Code Merge Queue

    Claude Code Merge Queue is an open-source npm package built by Jesse Heaslip (GitHub: funador) that solves a specific problem in multi-agent AI coding workflows: when several Claude Code agents work in parallel git worktrees, they can race each other to push, trigger redundant builds, and cause flaky tests from shared resources. This tool serializes those landings through a local FIFO queue, running checks before any agent's work merges into the integration branch. It is published under the MIT license and requires Node.js ≥ 18.

    What It Is

    Claude Code Merge Queue is a CLI tool that acts as a local alternative to GitHub's Merge Queue feature, designed specifically for teams running parallel Claude Code agents. Instead of relying on GitHub Actions minutes or requiring Enterprise Cloud access, it runs entirely on your own machine. The core idea is the same as a hosted merge queue — serialize landings, test before merge, keep history clean — but executed locally at zero cost. It integrates directly with Claude Code's native WorktreeCreate hook and git's pre-push mechanism to enforce the queue without requiring manual intervention from agents.

    How the Queue Works

    Each agent operates in a numbered "lane" — a separate git worktree with its own branch (e.g., lane/1, lane/2) and dev-server port (derived from a configurable portBase). When an agent finishes its work, it runs claude-code-merge-queue land, which:

    • Claims a FIFO lock (crash-safe by PID liveness, not a timeout)
    • Rebases the lane onto the integration branch
    • Runs the configured checkCommand (e.g., npm run check)
    • Pushes only if checks pass

    A pre-push hook blocks any direct git push to the integration branch, redirecting to the land command. The build-lock subcommand additionally serializes heavy build steps machine-wide across all lanes.

    Command Surface

    The package ships eight commands covering the full agent lifecycle:

    • hook worktree-create — wires Claude Code's native worktree creation into the lane numbering system
    • land — the primary agent command; rebase, check, push through the FIFO queue
    • sync — fast-forwards the main checkout after a landing, reinstalling deps if the lockfile changed
    • promote — ships the integration branch to production; explicitly human-only, never automated
    • preview — mirrors a lane's live working tree (including uncommitted changes) onto the main checkout without a build
    • port — prints a lane's dev-server port
    • prune — removes already-landed lane worktrees
    • build-lock — serializes any command machine-wide across lanes

    Setup Path

    Installation is a two-step process: npm install --save-dev claude-code-merge-queue followed by npx claude-code-merge-queue init. The init command auto-detects the integration branch and check command, then writes a config file, appends to or creates CLAUDE.md (instructing Claude Code to land its own work once green), wires the WorktreeCreate hook into .claude/settings.json, and adds land, sync, promote, and preview scripts to package.json. If Husky is present, it appends to .husky/pre-push; if not, it reports that rather than writing to an untracked hook file.

    Tradeoffs to Know

    The README is explicit about the tool's intentional limitations:

    • No human review gate — checkCommand passing is the only merge gate; a real test suite and echo ok are indistinguishable to the tool
    • Single-machine scope — the FIFO queue lives in local temp storage; two machines landing simultaneously fall back to git's ordinary non-fast-forward rejection
    • Throughput ceiling — the FIFO lock holds for the entire checkCommand duration; a 3–4 minute test suite caps throughput well under 20 landings/hour
    • Not a security boundary — the guardrails stop mistakes and convention drift, not an adversarial agent with shell access

    An emergency escape hatch (CLAUDE_CODE_MERGE_QUEUE_EMERGENCY_PUSH=1) allows bypassing any blocked push when needed.

    Update: v0.5.8

    The latest release is v0.5.8, published on 2026-07-29. The repository was created on 2026-07-10 and has shipped 18 versions in its first few weeks, indicating active early development. The project has zero runtime dependencies and is written in TypeScript 5.x.

    Claude Code Merge Queue - 1

    Community Discussions

    Be the first to start a conversation about Claude Code Merge Queue

    Share your experience with Claude Code Merge Queue, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open source under the MIT license. Install via npm with zero cost.

    • Full CLI with all commands (land, sync, promote, preview, prune, port, build-lock)
    • Zero runtime dependencies
    • MIT license — fork, rename, modify freely
    • WorktreeCreate hook integration
    • Pre-push enforcement hook

    Capabilities

    Key Features

    • Local FIFO merge queue for parallel Claude Code agents
    • Zero runtime dependencies
    • Pre-push hook enforcement blocking direct pushes to integration branch
    • Configurable checkCommand gates every landing
    • Crash-safe PID-based locking (no stale locks)
    • WorktreeCreate hook integration with Claude Code native worktree creation
    • build-lock command for machine-wide build serialization
    • Numbered lane worktrees with auto-assigned dev-server ports
    • Two-stage integration/production branch model
    • preview command mirrors live working tree without a build
    • sync command fast-forwards main checkout and reinstalls deps on lockfile change
    • promote command for human-only production deploys
    • Emergency bypass via environment variable
    • Auto-detecting init command writes config, CLAUDE.md, hooks, and package.json scripts
    • Malformed config fails loudly at load time with all problems listed
    • MIT licensed, zero cost

    Integrations

    Claude Code
    Git
    Husky
    npm
    pnpm
    yarn
    bun
    GitHub Actions (CI)
    Node.js
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Claude Code Merge Queue and help others make informed decisions.

    Developer

    Jesse Heaslip

    Jesse Heaslip (GitHub: funador) builds open-source developer tooling focused on AI-assisted coding workflows. The claude-code-merge-queue project addresses the parallel-agent coordination problem in Claude Code environments, shipping a zero-dependency TypeScript CLI under the MIT license. The project reached 18 published versions within its first few weeks of existence.

    Founded 2011
    Puerto Escondido, Oaxaca
    $1000000+ raised
    1 employees

    Used by

    Thinkific (Launch Academy alumni)
    Later (Launch Academy alumni)
    Extend (former employer and project…
    Read more about Jesse Heaslip
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    omegacode icon

    omegacode

    Agent-agnostic JavaScript workflow orchestrator for coding agents like Claude Code and Codex, using a small deterministic DSL to coordinate parallel and sequential agent runs.

    ADE icon

    ADE

    A single native workspace for every AI coding agent — Claude Code, Codex, Cursor, and more — synced across macOS, iOS, and the terminal in real time.

    Nyx icon

    Nyx

    An infinite canvas IDE for macOS that lets developers run and orchestrate multiple AI agents (Claude Code, Codex, Gemini) simultaneously in a single workspace.

    Browse all tools

    Related Topics

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    676 tools

    Multi-agent Systems

    Platforms for creating and managing teams of AI agents that can collaborate.

    266 tools

    Version Control

    AI tools that enhance version control systems and code management.

    34 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions