Pre-release: the store is not open yet and nothing is for sale. What early access means
  • 0.1.4version, pre-release
  • 13failure classes it guards against
  • Bashno daemon, no SaaS

What it protects you from

Failures that happen in real projects.

Ship Gate runs your checks on the exact commit you are about to ship, in parallel, with a timeout per check. It refuses to deploy anything the checks did not see. Its deploy replaces replicas one at a time and rolls back to the image that was live before, without a rebuild (so far tested against a fake Docker; see the limitations). And it can prove that every check is still able to fail.

It is plain bash. No daemon, no SaaS, no agent on the server.

  • Failure

    A check is skipped "just this once"

    What Ship Gate does

    ship-gate deploy cannot start without the gate passing

  • Failure

    build | tee log hides a failed build, the old image goes live

    What Ship Gate does

    no pipes around checks; exit codes are read directly

  • Failure

    Uncommitted files go into the build, so the gate measures code that is never shipped

    What Ship Gate does

    checks run in a clean git worktree of the pinned commit

  • Failure

    Another session commits while the gate runs, and unchecked code ships

    What Ship Gate does

    if HEAD moved during the gate, the deploy stops

  • Failure

    Two people deploy at the same time

    What Ship Gate does

    a lock on the server (taken atomically with mkdir)

  • Failure

    A hung check blocks the gate forever

    What Ship Gate does

    a timeout per check

  • Failure

    The timeout kills the test runner but its worker keeps the port open, and the next run measures the leftover process

    What Ship Gate does

    the whole process tree is killed, grandchildren included (taskkill /T on Windows)

  • Failure

    A deploy recreates all replicas at once, and the proxy answers 503

    What Ship Gate does

    replicas are replaced one at a time, so capacity never drops

Show 5 more
  • Failure

    "Rollback" rebuilds HEAD^, a version that was never live

    What Ship Gate does

    rollback re-tags the image that was actually live before; no rebuild

  • Failure

    A check quietly loses its teeth (renamed test file, stale pattern) and stays green forever

    What Ship Gate does

    ship-gate selftest breaks the code on purpose and expects each check to fail

  • Failure

    A lane dies half-way, its remaining checks never run, and the gate opens with the checks that did

    What Ship Gate does

    the summary walks the checks the config declares; a check without a result of its own closes the gate

  • Failure

    A hung check, gate or self-test is killed by hand and counts as passed

    What Ship Gate does

    a pass needs a record written by the step itself; an exit code alone is not accepted

  • Failure

    The server's compose.yml or .env is changed by a deploy

    What Ship Gate does

    protected files are fingerprinted before and after the deploy, and backed up

How it works

Enough detail to trust it.

  1. Clean copy of the commit

    Checks run in a clean git worktree of the pinned commit, never in your working tree. What is shipped is always git archive of that commit.

  2. Lanes with a timeout per check

    prereq checks run first and the first failure closes the gate. Other lanes run in parallel; checks inside a lane run in file order.

  3. Pinned commit and a server lock

    The deploy takes a lock on the server. After the gate, HEAD must be unchanged and the copy still clean, or the deploy stops.

  4. One replica at a time

    Scale to N+1, wait until the new replica is healthy, stop one old replica, repeat. The proxy finds replicas through Docker DNS, so nothing is renamed.

  5. Rollback without a rebuild

    Rollback moves :live back to the image that was live before the last deploy and keeps the broken one for inspection.

  6. Self-test

    For each mutation, the named check must pass on clean code and fail on broken code. A check that stays green prints NO TEETH.

How a deploy works (from the README)
 1  server reachable?  live commit known to this repo?  show the commits going out
 2  take the server lock
 3  back up protected files; send `git archive <sha>` to a fresh release folder;
    start the candidate image build on the server, in the background
 4  gate (pre) runs locally at the same time, on the clean copy
    (and the self-test in a second clean copy, if needed)
 5  pinned commit: HEAD unchanged? the copy still at <sha> and clean?
 6  wait for build and self-test: both must pass, or live is not touched
 7  switch: :live -> :previous, :candidate -> :live, replicas replaced one by one
 8  protected files unchanged? every replica on the new image?
 9  gate (post) against live; on failure print (or run) the rollback

The nine deploy steps as the README lists them. The deploy is part of the full edition.

What is inside

The files you get

  • ship-gate/
    • bin/ship-gatethe command: check, selftest; deploy, rollback and status in the full edition
    • lib/gate engine, config, clean copy, self-test (core)
      • common.sh, config.sh, engine.sh
      • clean-copy.sh, gate.sh, selftest.sh
      • deploy.sh, remote.shdeploy and rollback (full edition only)
    • examples/hello-app/a complete setup: a tiny Node service with tests, Dockerfile, compose file, Caddyfile and shipgate.conf
    • tests/run.shthe test suite; deploy tests run against fake ssh, docker and curl (full edition)
    • README.md, CHANGELOG.md, LICENSING.md
    • MANIFEST.sha256a checksum for every file in the package

Requirements

What it needs

Your machine

  • bash 3.2 or newerLinux, macOS, or Git Bash on Windows; not PowerShell or cmd
  • git 2.31 or newerfor the clean copy of the pinned commit
  • ssh with key loginto the server, no password prompts (full edition)
  • Your own check toolswhatever your checks need: node, php, python, ...

The server (full edition)

  • Docker Enginewith the Compose v2 plugin (docker compose)
  • bash, tar, gzip, cksumany Linux distribution has them
  • A reverse proxythat finds replicas through Docker DNS: Caddy, nginx or Traefik

Reference

Commands

CommandWhat it does
ship-gate check prerun the [pre] checks on a clean copy of HEAD
ship-gate check postrun the [post] checks (against the live system)
ship-gate check pre --in-placefor CI: run in the current checkout, which must be clean
ship-gate selftestengine self-test plus every mutation
ship-gate selftest --strictalso fail if a [pre] check has no mutation
ship-gate deploy [--dry-run]full edition: the deploy
ship-gate deploy --auto-rollbackfull edition: roll back by itself if the [post] checks fail
ship-gate rollback [--dry-run]full edition: back to the previous live image, no rebuild
ship-gate statusfull edition: live commit, previous commit, running images, lock

Limitations

Read these before you rely on it.

Taken from the product's README, which is the place to check before you buy.

  • Never run against a real server

    Deploy, switch and rollback have only run against fake ssh and docker that imitate Docker Compose, never against real Docker on a real server. Real Docker can differ in details. Try it on a staging server first.

  • Tested on Windows (Git Bash, bash 5) only

    The code avoids bash 4 features and GNU-only flags for macOS (bash 3.2) and Linux, but it has not been run there yet.

  • One host, one service per config

    No multi-server, no Swarm, no Kubernetes. Several services means several configs.

  • The candidate image is built on the production server

    It uses that server's CPU while live traffic is served. Use build_cmd to pull a prebuilt image from a registry instead.

  • No database migrations

    Ship Gate does not run or reverse them. A rollback returns the code, not the schema.

  • Health is required

    A replica counts as ready only through health_cmd or a Docker HEALTHCHECK. Without either, the switch refuses.

  • Mutations are literal text

    Find and replace text cannot contain |; use the ! form for anything more complex.

  • The remote login shell

    must be sh or bash.

  • nice on Windows

    does not change the Windows priority class.

  • A force-killed process looks like a success to Git Bash

    Ship Gate does not trust the exit code of its own steps for that reason, but it cannot protect a script of yours that runs ship-gate check pre && something if ship-gate itself is force-killed. To stop a run, use Ctrl+C.

Pre-releasev0.1.4

Status: what was and was not tested

Pre-release. The gate and self-test are tested; the deploy has only met a fake Docker.

Tested

  • The engine, the self-test and the deploy logic are tested on Windows (Git Bash) against fake ssh and docker.
  • The test suite (bash tests/run.sh) has 125 tests in the full edition and 63 in the core edition, as of 0.1.4.
  • The fake docker logs every call, so the tests assert the order of operations, that capacity never drops below the replica count, and that docker rename is never called.

Not tested yet

  • Deploy and rollback have never run against a real server or real Docker.
  • Nothing has run on Linux or macOS yet.

0.1.4 (2026-12-01): Fixes from an outside test that followed the README as a first-time buyer.

Editions

How it will be licensed.

Open source

Core edition

Apache License 2.0

  • The gate engine, the clean copy and the self-test
  • Commands: check and selftest
  • May be committed to any repository, public or private

Commercial

Full edition

Core files stay Apache 2.0; deploy files under the ViaCustos commercial licence

  • Everything in Core, plus deploy, rollback and status
  • The deploy files may not be published in a public repository; the README shows how to keep them out of one
  • No licence check inside the tool, and it never contacts our servers

Commercial editions come as Solo (for your own projects) and Agency (for delivering projects to clients). Pricing and licence terms are announced at launch.

Where it came from

The incidents behind Ship Gate.

All incidents

Works well with

The other tools

All products
Launch standardv0.1.4Pre-release

Launch Standard

A 19-item launch standard and a one-file Python checker that measures the live URL and gives every item PASS, FAIL, HINT or MANUAL.

PythonPricing at launch
Agent toolingv0.1.4Pre-release

Decision Map

Each owner decision is one Markdown note with the owner's exact words. Claude Code hooks show the right one when an agent touches a file or a topic.

Node.jsPricing at launch
Agent toolingv0.1.5Pre-release

Agent Verifier and Council

A verifier subagent that compares an agent's "done" with measured probe values, a probe runner with a negative test per probe, and a council with a mandatory dissent.

Node.jsPricing at launch