Contributing to Hermes Codex
git clone https://github.com/mobeenx20/hermes-codex.git
cd hermes-codex
python -m venv .venv
source .venv/bin/activate
pip install -e " .[dev]"
# Run the full test suite
pytest tests/ -v
# Run specific test
pytest tests/test_path_matcher.py -v
# Run stress tests
python tests/stress_test.py
Python 3.10+ type hints on all public functions
100-character line limit
Docstrings on all modules and public functions
Follow existing patterns in hermes_codex/
Ensure tests pass with pytest tests/ -v
Update CHANGELOG.md with your changes
Bump version in plugin.yaml and pyproject.toml (semver)
Open PR with a clear description of the change
Plugin Architecture Notes
hermes_codex/ is both a Python package AND a Hermes plugin
Installation works via both pip install and direct copy to ~/.hermes/hermes-agent/plugins/
The register() function in __init__.py is Hermes' plugin entry point
All hooks and commands are registered through the ctx object passed to register()