Skip to content

Herd 0.16.0

Choose a tag to compare

@Beovulfo Beovulfo released this 29 Nov 15:42
bbb72d4

A pull request was opt-in, so a finished GitHub task usually ended with no PR. herd pr now opens the evidence PR by default (issue #202).

  • Changed: herd pr opens the PR unless herd.toml has [pr] open = false. With no GitHub origin, or no gh on PATH, it prints one line (no pull request: ... (set [pr] open = false to silence this)), exits 0 and pushes nothing. herd done names the same reason in its Proven: line and in evidence.md.
  • Changed: herd done and the Stop gate ask for a commit only where a PR is on and can open, so a local-only repository finishes uncommitted as before. [pr] open = true and --yes still fail as before when there is no remote or no gh.
  • Changed: a broken herd.toml, a non-boolean open or a non-table pr counts as off, and herd pr without --yes refuses it, naming herd.toml, since a push cannot be undone. A missing file is the default.
  • Changed: the README Quickstart states the requirements on their own line: Claude Code, Python 3.11+ as python3, a git repository, and for the pull request a GitHub remote and gh.
  • Changed: herd init outside a git repository refuses with one line, exit 1, and creates nothing. It used to create the task.
  • Changed: the README first screen and Quickstart say the pull request is the default; [pr] open = false turns it off.
  • Known limits: GitHub means origin's host is exactly github.com or ssh.github.com (https, http, ssh or git URL, or scp form; any letter case; insteadOf expanded). GitHub Enterprise hosts and SSH host aliases skip by default: [pr] open = true pushes to them. Only origin's fetch URL is read. gh that is present but not logged in still fails at herd pr. Tested with a fake gh and a bare repository, not against real GitHub. This repository's own herd.toml still has a comment that says herd pr is off by default; a human edits it.