Contributing
Dev Setup
git clone git@github.com:ConflictHQ/kohakku.git
cd kohakku
make setup # creates .env files, installs deps
make up # starts docker-compose stack
make migrate # runs migrations
make seed # seeds demo data
Running Tests
make test # both services
make controller-test # Django pytest
make dispatcher-test # Go test
Code Style
- Python: Ruff (check + format), max line 140
- Go: gofmt + golangci-lint
- Commits: conventional commits (feat/fix/docs/test/ci/chore)
- Pre-commit:
.pre-commit-config.yaml configured
PR Process
- Create a branch from
main
- Make changes, add tests
- Run
make lint && make test
- Open PR with description and test plan
- CI must pass (lint + test + build)