Skip to content

gate 0.2.0

Choose a tag to compare

@juw12 juw12 released this 07 Nov 04:52
· 16 commits to main since this release

Added

  • --json on every subcommand: one JSON document {command, exit_code, result, events} (or {error}) on stdout.
  • --version; --help now documents the agent workflow and exit codes; every argument has help text.
  • Crash recovery: queue and gc reconcile sessions whose Agent-Head is already on the target (a run killed
    after publishing), so work is never landed twice. gc also removes branches/worktrees left by a crash.
  • Locks record pid host; a lock left by a dead process on this host is taken over immediately.
  • Idempotent submit (unchanged queued session) and approve (same approver).
  • LICENSE (MIT), CHANGELOG, CONTRIBUTING, architecture diagram, crash-safety and agent-integration docs.
  • CI lint job: ruff, mypy, coverage ≥ 85 %.

Fixed

  • publish() could pass None to the ref update when a commuted replay conflicted (caught by mypy).

Install: pip install git+https://github.com/juw12/gate@v0.2.0