Contributing Guide

Thanks for contributing to Aegis Monitor.

Ways to Contribute

Development Setup

git clone https://github.com/aegis-ai/aegis-ai

cd aegis-ai

python -m venv .venv

source .venv/bin/activate

pip install -e ".[dev]"

Before You Start

1. Open an issue (or comment on an existing one).

2. Describe scope and expected behavior.

3. Keep PRs focused and small when possible.

Branching and Commits

Suggested commit style:

feat: add adapter timeout retry support

fix: correct cost aggregation for empty runs

docs: expand usage guide for compare command

test: add integration tests for baseline command

Code Standards

Quality Checks

Run these locally before opening a PR:

pytest -v

ruff check .

black --check .

mypy aegis --ignore-missing-imports

If needed, format code:

black .

ruff check . --fix

Testing Expectations

Documentation Expectations

Update docs when changing:

Relevant docs are in /docs.

Pull Request Checklist

Review and Merge Process

1. Automated checks must pass.

2. At least one maintainer review.

3. Address feedback with focused updates.

4. Squash/merge according to maintainer preference.

Reporting Bugs

Include:

Security Issues

Do not open public issues for sensitive vulnerabilities.

Contact maintainers privately through repository security channels.

License

By contributing, you agree that your contributions are licensed under the project’s MIT license.