Thanks for helping improve expert-mentor. This project is intentionally small, dependency-free, and easy to run locally.
git clone https://github.com/voidstackloop/expert-mentor
cd expert-mentor
./install.sh # or run in place with ./bin/mentor
make doctormake test # 99+ assertions, no third-party deps- Add a test for any non-trivial change (see
scripts/selftest.py). - Keep the code standard library only at runtime.
- Follow the existing style;
ruffconfig is inpyproject.toml(line length 120). - Update
README.md/docs/when behaviour changes, and add aCHANGELOG.mdentry underUnreleased.
- Add a field profile — see
references/fields.md; append toreferences/fields.json. - Add a provider adapter — streaming backends live in
scripts/mentor_runtime.py; payload builders are pure and unit-tested. - Improve a prompt —
templates/*.md. - Fix an example —
examples/is regenerated from the CLI.
Use a short imperative subject and explain the why in the body. Reference an issue if there is one.
- Fork and branch from
main. - Make the change with tests.
- Ensure
make testpasses and CI is green. - Open the PR with a clear description of the change and its motivation.
Include your OS, Python version (mentor version), the exact command, and the
full output. mentor doctor output is helpful too.