Skip to content

Repository files navigation

Postil CLI

Postil reviews local changes and pull requests for merge-relevant defects. It reports gate status separately from advisory findings and leaves clean changes without a review comment.

Quick start

Install a release build:

curl -fsSL https://postil.dev/install.sh | sh

The installer verifies the release checksum. Add --require-cosign to require Sigstore verification. To build from source instead:

cargo install --git https://github.com/postil-dev/postil-cli --locked

Authenticate for hosted inference, or provide a key for a supported model endpoint, then review the repository:

postil login
# Or set MODEL_API_KEY for your model endpoint.
postil doctor
postil review
postil hook install

postil review selects staged changes first, then branch changes, then tracked working-tree changes. It does not change the working tree, index, or refs. Use --publish only when a forge review and checks should be written.

For a pull request, set GITHUB_TOKEN through the environment:

postil review --repo owner/repository --pr 123 --publish

--publish is required for forge writes. Published reviews create postil/review and postil/gate; require only postil/gate in branch protection.

Documentation

Use postil models for offline guidance about the embedded model configuration and accepted endpoint model IDs. Use postil config to inspect resolved non-secret configuration.

License

Apache-2.0.

About

Quiet AI code review CLI for local changes, CI, and pull requests.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages