Skip to content

Repository files navigation

rethunk-gate-cli

CI License: MIT Go


gate runs a project's gates — tests, lint, typecheck, build — captures every byte they write to a log file, and reports only the verdict. The command's exit status passes through unchanged.

A pipe through tail can invert a gate's verdict. gate keeps the status authoritative and the log complete.

Quick start

make install && gate go test ./...

Prerequisites and full install notes: HUMANS.md.

Highlights

  • Exit status is the verdict — passed through unchanged; output is never parsed.
  • Complete log — bounded on-screen summary; failures quote a tail and name the log.
  • Auto-detects gates — Makefile, package.json, turbo.json, then conventions for Go, Rust, Python, Node, workflows and shell scripts; .gate.toml adjusts without replacing.
  • Concurrent by default--serial or .gate.toml when one gate needs another's result.
  • Ctrl-C kills the tree — trailer still written; stopped gates reported as skipped.
  • Machine-readable--json for what would run, --ndjson for one line per gate as it finishes.
  • gate doctor — read-only findings with evidence (CI gaps, missing vuln gates), --json included.

Documentation

Doc Audience
HUMANS.md Running and using gate
docs/USAGE.md Detection, configuration, exit codes
AGENTS.md Internals, invariants, and why this exists
CONTRIBUTING.md Process — commits, tests, docs
CHANGELOG.md Release notes

License

MIT — see LICENSE. © 2026 Rethunk.Tech

About

Runs a project's gates concurrently, keeps every byte in a log, and prints one line — the command's own exit status passed through unchanged

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages