Contributing
We welcome contributions! The project is organized as a Rust workspace with 29 crates.
Getting started
git clone https://github.com/keshavashiya/brain.git
cd brain
cargo build --workspace
cargo test --workspace
Development tools
just build # Build workspace (debug)
just test # Run all tests
just ci # fmt + clippy + tests
just fmt # Format code
just lint # Clippy
just serve-dev # Start with debug logging
PR checklist
cargo fmt --all --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspace- One intent per PR
- Conventional commits (
feat:,fix:,docs:, etc.)
Key conventions
- Single-word crate names matching folder names
brainos-package prefix for crates.io- Every capability lives in its backend crate, not in
cli - Operator commands (init, doctor, service, vault, config) stay CLI-only
- CI parity enforced before every push
Documentation
- Public docs are at keshavashiya.github.io/brain
- Root
ARCHITECTURE.mdcovers the high-level design CHANGELOG.mdtracks user-facing changes