This repository is a Rust CLI for Kagi workflows. Contributions should stay focused on the current CLI surface, its docs, and its verification tooling.
cargo build --release
cargo test -q
make checkOptional checks before opening a pull request:
cargo fmt --check
cargo clippy --all-targets --all-features -- -D warningsCanonical local commands live in Makefile:
make check
make coverage
make setup-hooksIf you want local pre-commit enforcement, run make setup-hooks once to point Git at .githooks/pre-commit.
- Keep changes scoped to one goal
- Update docs when user-facing behavior changes
- Add or update tests when behavior changes
- Avoid committing secrets, local tokens, or personal config files
- Do not commit
.env,.kagi.toml, session tokens, or API tokens - Prefer unit tests and parser fixtures over live authenticated tests
- If a change requires live verification, document the exact manual steps in the pull request
- Add a short entry to CHANGELOG.md for notable user-facing changes
- Call out breaking CLI changes explicitly
- CI and coverage workflows use read-only
contentspermissions - The security workflow adds
security-events: writefor audit reporting - The release workflow uses
contents: writeonly to publish tagged GitHub Releases
This repository is currently solo-maintained.
- Required status checks stay enabled on
main - Required approving reviews are intentionally not enforced, because they would block the sole maintainer
- Contributors should still open pull requests with verification details when possible
By participating in this project, you agree to follow CODE_OF_CONDUCT.md.