Skip to content

Rewrite CONTRIBUTING.md for the Rust CLI; it describes a Python app #12

Open

Description

@zeekay

Summary

CONTRIBUTING.md describes setting up and testing a Python project, but this repo is a Rust CLI. A new contributor who follows it clones a repo that does not exist and installs files this repo does not have.

Evidence

Checked at 5ce6db4.

  • CONTRIBUTING.md:45 runs git clone https://github.com/Dev-AI/dev.git (404). Lines 17, 20, 23 and 37 link to dev.chat (the domain does not resolve) and to more Dev-AI/dev paths (404).
  • Lines 53-118 create a Python venv and run pip install -e ., pip install -r requirements.txt and pip install -r requirements/requirements-dev.txt. The repo has no pyproject.toml, setup.py or requirements*.txt (git ls-files | grep -c '\.py$' prints 1).
  • Lines 123, 170-184 and 208 run pytest on tests/basic/test_coder.py; lines 162 and 231 require Black, isort and pre-commit.
  • README.md ("Build from source") gives the real flow: cargo build, cargo test, cargo clippy --bin hanzo, and says tests/cli.rs runs the real binary with state isolated behind --config <tempdir>.

What to do

Rewrite CONTRIBUTING.md for this repo: clone hanzoai/cli, the three cargo commands, where tests live (tests/cli.rs, unit tests beside the code, src/commands/product/tests.rs), how to run one test, and the PR process in a few lines. Remove the Python setup, the benchmark section and the dead links. Keep the issue and PR guidance that still applies.

Acceptance criteria

  • grep -n -i -e pip -e pytest -e venv -e black -e isort -e Dev-AI -e dev.chat CONTRIBUTING.md prints nothing.
  • Every command in the file runs on a fresh clone of this repo.
  • Every URL in the file returns 200.
  • The file is shorter than today's 241 lines or the extra length is Rust-specific.

Difficulty: starter

Points: 75 (Hanzo Rewards, reputation points; not money; see https://hanzo.ai/bounty)

Maintainer: zeekay

How to claim

  1. Comment on this issue so others know you are on it.
  2. Open a pull request that says Fixes #12.
  3. Link your GitHub account to your Hanzo account at hanzo.ai/leaderboard so the merge counts.

Activity

  1. added
    documentationImprovements or additions to documentation
    bountyOpen bounty: Hanzo Rewards points for a merged fix (hanzo.ai/bounty)
    on Oct 26, 2026
  2. linear commented on Oct 26, 2026

    @linear
  3. deus-intus commented on Oct 27, 2026

    @deus-intus

    I am working on this.

  4. deus-intus commented on Oct 27, 2026

    @deus-intus

    PR opened: #14 - Rewrote CONTRIBUTING.md for the Rust CLI with cargo commands, test locations, single-test instructions, clean URLs, and zero Python/dead-link references. Fixes #12.

  5. michaelwoolum50-cmyk commented on Oct 28, 2026

    @michaelwoolum50-cmyk

    Proposed fix

    Okay, I'll tackle this bounty. The CONTRIBUTING.md is completely outdated and describes a Python project instead of the Rust CLI. I'll replace it with instructions tailored to this repository, focusing on cargo commands, testing, and the PR process. I'll also remove all Python-related instructions and dead links.

    --- a/CONTRIBUTING.md
    +++ b/CONTRIBUTING.md
    @@ -1,241,7 +1,42 @@
     # Contributing to Hanzo CLI
    
     We welcome contributions to Hanzo CLI! Please review the following guidelines before submitting a pull request.
    
     ## Code of Conduct
    
     Please read and adhere to the [Contributor Covenant Code of Conduct](https://www.contributor-covenant.org/).
    
     ## Issues and Pull Requests
    
     - **Before opening a new issue or pull request, please search existing issues to see if it has already been addressed.**
     - **Clearly describe the problem or feature you are working on.**
     - **Provide steps to reproduce the issue (if applicable).**
     - **Write clear and concise commit messages.**
     - **Pull requests should be small and focused.**
     - **Test your changes thoroughly before submitting a pull request.**
    
     ## Development Workflow
    
     1.  **Clone the repository:**
    
         ```bash
         git clone https://github.com/hanzoai/cli
         cd cli
         ```
    
     2
    
    ---
    Please remit payment to USDC Base: 0x054ec60c9f4dd5a0010212381a1e282af8323e1d
  6. lf-sketch commented on Oct 28, 2026

    @lf-sketch

    Claiming — Fixes #12 (rewrite CONTRIBUTING.md for this Rust CLI: cargo build/test/clippy, real test locations; remove Python/venv/pytest/Dev-AI/dev.chat guidance).

    Working from lf-sketch. PR with Fixes #12 forthcoming.

    Attribution: lf-sketch | Hanzo leaderboard will be linked on merge.

  7. NePreby commented on Oct 28, 2026

    @NePreby

    Working on this! Submitting PR with rewritten Rust-focused CONTRIBUTING.md according to acceptance criteria.

  8. domfelipe commented on Oct 31, 2026

    @domfelipe

    Claiming — Fixes #12 (rewrite CONTRIBUTING.md for the Rust CLI: cargo commands, real test locations, no Python/dead links). PR: #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions