Thanks for your interest in contributing. Here's how to get started.
git clone https://github.com/Agent-Field/plandb.git
cd plandb
cargo build
cargo test
bash tests/functional_test.shRequires Rust 1.75+. No other dependencies — SQLite is bundled.
- Fork the repo and create a branch from
main - Make your changes
- Run
cargo testandbash tests/functional_test.sh - Open a PR against
main
CI must pass before merge. Branch protection requires the test status check.
Follow Conventional Commits:
feat: add new command
fix: handle edge case in batch import
refactor: simplify context store lookup
docs: update README
ci: add clippy check
test: add functional test for hooks
- Issues labeled
good first issueare a great starting point - Check the CHANGELOG for context on recent changes
- Run
plandb --helpto understand the full command surface
cargo fmtfor formattingcargo clippyfor lints- Keep functions under 50 lines where possible
- Prefer explicit error handling over
.unwrap()
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.