Repository navigation
gate 0.2.0
Added
--jsonon every subcommand: one JSON document{command, exit_code, result, events}(or{error}) on stdout.--version;--helpnow documents the agent workflow and exit codes; every argument has help text.- Crash recovery:
queueandgcreconcile sessions whoseAgent-Headis already on the target (a run killed
after publishing), so work is never landed twice.gcalso 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) andapprove(same approver). - LICENSE (MIT), CHANGELOG, CONTRIBUTING, architecture diagram, crash-safety and agent-integration docs.
- CI lint job:
ruff,mypy, coverage ≥ 85 %.
Fixed
publish()could passNoneto the ref update when a commuted replay conflicted (caught by mypy).
Install: pip install git+https://github.com/juw12/gate@v0.2.0