Contributing

Guidelines for contributing to Hanzo Dev.

Contributing to Hanzo Dev

We welcome bug reports, pull requests, and improvements to hanzoai/dev-v1. For general contributor onboarding across all Hanzo repositories, HIPs, and documentation, see Contributing.

Development Workflow

  1. Fork hanzoai/dev-v1 and create a topic branch from main.
  2. Initialize the engine submodule:
    git submodule update --init --depth 1
  3. Keep changes focused and atomic — every commit should compile cleanly with zero warnings and pass the test suite.

Running Checks

make build          # build the dev binary (must pass with zero warnings)
make test           # run the Hanzo test suite
make test-upstream  # run the engine test suite

Architecture & Boundaries

  • crates/hanzo-dev is the binary entry point (dev).
  • crates/hanzo-config manages configuration, provider selection, and ~/.hanzo/dev.
  • crates/hanzo-tui provides Hanzo account integration (/login, /logout, /auth, /status).
  • crates/hanzo-kai implements the Kai controller loop, ledger, and tools.

Review Process

  1. Open a pull request against main stating what changed and why, linking the issue.
  2. Ensure CI passes across Linux, macOS, and Windows.
  3. A maintainer will review and merge once checks and design review pass.

Community Values

Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.
Last updated Nov 23, 2026