Skip to content

v1.2.0

Choose a tag to compare

@erensrtky erensrtky released this 07 Nov 14:55
· 105 commits to main since this release

Decisions on every pull request

cogit pr --install-action adds a GitHub Action to your repository. Each pull request then gets the decisions behind its branch as one comment: the goal, what was decided and why, and the options that were turned down. The comment updates on every push, and the description stays yours. Pull requests from forks and branches with no recorded thought get no comment.

Added

  • cogit pr --install-action writes .github/workflows/cogit.yml; commit and push it to turn it on, delete it to stop. It needs a project that shares its record.
  • A FAQ with the questions people asked after the launch: docs/guide/faq.md.

Fixed

  • cogit pr came out empty once the branch was pushed, which is exactly when you open the pull request, and after one more commit it described only that commit. It now always describes everything the branch adds to where it will merge, through pushes, merges from main and rebases.
  • With an SSH key that has a passphrase and no ssh-agent, the records that follow a push were lost after ten minutes of failed logins. They now wait in the queue, and cogit doctor says what to do.
  • A prepare-commit-msg hook of your own that sets a trap ... EXIT or ends with exec no longer drops the Thought: line.
  • The cost figures now say what we measured: the default recording costs under 2 cents per 20 messages.

Full list in the changelog.