Skip to content

Latest commit

 

History

History
69 lines (51 loc) · 1.66 KB

File metadata and controls

69 lines (51 loc) · 1.66 KB

Contributing to Argus

Thanks for your interest in contributing to Argus!

Getting Started

git clone https://github.com/Meru143/argus.git
cd argus
cargo build --workspace
cargo test --workspace

Development

Prerequisites

  • Rust stable (latest)
  • Git

Workflow

  1. Fork the repo and create a feature branch: git checkout -b feat/my-feature
  2. Make your changes and add tests
  3. Run checks:
    cargo fmt --all
    cargo clippy --workspace -- -D warnings
    cargo test --workspace
  4. Commit with conventional commits: feat:, fix:, docs:, test:, chore:
  5. Open a pull request against main

Project Structure

crates/
  argus-core/      — shared types, config, errors
  argus-repomap/   — tree-sitter + PageRank codebase mapping
  argus-difflens/  — diff parsing + risk scoring
  argus-codelens/  — semantic search + AST chunking
  argus-gitpulse/  — git history analysis
  argus-review/    — LLM review pipeline
  argus-mcp/       — MCP server
src/main.rs        — CLI binary

Crate dependency order: corerepomap/difflens/gitpulse/codelensreviewmcp

Testing

Tests live alongside the code they test. Integration tests are in tests/.

# Run all tests
cargo test --workspace

# Run a specific crate's tests
cargo test -p argus-review

Reporting Issues

  • Use GitHub Issues
  • Include: what you did, what you expected, what happened, and your OS/Rust version
  • For review quality issues, include the diff you reviewed (if possible)

License

By contributing, you agree that your contributions will be licensed under the MIT License.