Thank you for your interest in contributing to AgenticVeritas! This document provides guidelines for contributing to the project.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/agentic-veritas.git - Create a feature branch:
git checkout -b my-feature - Make your changes
- Run the tests (see below)
- Commit and push
- Open a pull request
This is a Cargo workspace monorepo. All Rust crates are under crates/.
# Build everything (core + MCP server)
cargo build
# Run all tests (core + MCP)
cargo test --workspace
# Core library only
cargo test -p agentic-veritas-core
# MCP server only
cargo test -p agentic-veritas-mcp
# Run the CLI
cargo run -p agentic-veritas-cli -- intent compile "build an API"
# Run the MCP server
cargo run -p agentic-veritas-mcp -- serveFile an issue with:
- Steps to reproduce
- Expected behavior
- Actual behavior
- System info (OS, Rust version)
- Add the tool definition in
crates/agentic-veritas-mcp/src/tools.rs - Implement the handler in the
handle_tool_callfunction - Add tests
- Update
docs/public/mcp-tools.md
- Add a new example in
examples/ - Ensure it runs without errors
- Add a docstring explaining what it demonstrates
All docs are in docs/. Fix typos, add examples, clarify explanations -- all welcome.
- Rust: Follow standard Rust conventions. Run
cargo clippyandcargo fmt. - Tests: Every feature needs tests. We maintain 257+ tests across the stack.
- Documentation: Update docs when changing public APIs.
Use conventional commit prefixes:
feat: add new uncertainty scorerfix: correct causal chain confidence calculationdocs: add integration guidechore: update dependencies
- Keep PRs focused -- one feature or fix per PR
- Include tests for new functionality
- Update documentation if needed
- Ensure all tests pass before submitting
- Write a clear PR description
By contributing, you agree that your contributions will be licensed under the MIT License.