This is the end-to-end path for making your first code or documentation
contribution to Hive. It ties together the reference docs and answers the
Hive-specific questions those docs don't. If you just want the mechanics
(branches, DCO, PR format), see CONTRIBUTING.md; for
build/test commands, see docs/development.md.
- Start with open issues labeled
good first issueorhelp wanted. Hive applies these labels to small, well-specified issues and leaves a welcome comment with a link to claim the issue through the contributor relay. The label is not a reservation: claim before you start, or hive may pick the issue up itself. See Hive-curated good first issues. - Skip issues that are already taken: an assignee, a
claimed,hive/in-progress,hive/claimed-by-*orstage/040-covered-by-prlabel (an open PR already covers it), or a livehive:claimcomment. - Docs-only fixes (a wrong path, a dead link, a missing README) are the fastest way to land a first PR and learn the review flow.
- Comment on the issue before starting anything non-trivial so work isn't duplicated.
- Need a quick human answer? Join our Discord.
- Meet the community live at the community meeting, held every other Thursday at 10:00 AM Eastern.
- Curious what a running hive looks like? Watch the hive live on Twitch.
For most changes you do not need a cluster.
- Go code: you need Go (see
docs/development.mdfor the version andmake/justtargets).cd src && go build ./... ./crux/...compiles both Go modules (the root module and the Crux agent runtime atsrc/crux/); that's enough to iterate on most code. - Docs: no toolchain needed — edit Markdown and preview locally.
- Running the whole thing: the fastest full run is Docker Compose from the
repo's Quick Start (
docker compose -f src/docker-compose.yaml up -d). You only need Kubernetes for deployment-specific work.
- Go:
cd src && go test ./... ./crux/...runs the unit suite. Most tests are hermetic; a few need env likekubectland are skipped otherwise. See the Test section ofdocs/development.md. - Shell scripts:
*.test.sh/*.test.jsfiles underbin/are runnable directly withbash/node. - The proxy:
cd src/proxy && npm test. - Don't run local build/lint as a merge gate — CI is the gate (see step 6).
If your change touches how agents behave, understand these first:
- The deterministic pipeline vs. agents. Shell scripts in
bin/filter, classify, and gate work before any LLM runs; agents only make judgment calls. Keep deterministic logic in the pipeline. - ACMM levels. The ACMM policy matrix controls what each agent may do at each maturity level (advisory → auto-merge).
- Agent configuration.
agent-configuration.mdis the field-by-field reference; prompt/policy templates live under the policies directory. - The architecture.
src/docs/architecture.mdis the system overview — read it before changing the governor loop or guardrails.
Hive maintains its own repository with a hive — so a bot may interact with your contribution:
- The hive's agents may comment on or triage issues and open their own PRs.
- If you see automated review comments or a bot-authored PR referencing your issue, that's the hive working its own backlog. Coordinate in the issue thread; a human maintainer still owns merge decisions on community PRs.
- Bot-posted content is neutralized (no raw
@-mentions) to avoid notifying everyone on each update — you don't need to do anything special.
- Open your PR against the
v5branch (the active development branch;v4is feature-frozen and takes security/critical fixes only). - CI runs build, tests, a coverage check, lint and security scans, and
container image builds. The required checks are
gate,build-and-test,test,coverage,golangci-lint,gosec (insecure patterns),govulncheck (known vulnerabilities),DCO,Sign-off survives the squash,changelog-fragment-guardandverify PR contents(the PR Verifier). If one of them is red, read its log; it is reporting on your change. - User-visible code changes need a changelog fragment under
changelog.d/. Docs outsidesrc/,src/docs/and test files are exempt. - Coverage occasionally flakes; a maintainer will re-run it.
- A maintainer reviews and merges once CI is green. Timelines vary; ping the issue or PR thread if it's been quiet for a few days.
CONTRIBUTING.md— branches, DCO sign-off, PR format.docs/development.md— build, test, lint, andjustrecipes.src/docs/documentation-map.md— the full documentation map.- ClankeR contributor relay — contribute compute to a running hive from your own machine.