Contributing¶
Thanks for contributing to MiQi.
Before You Start¶
- Fork the repository and create a branch.
- Install the local development environment:
- Read these docs before making changes:
- Architecture
- Developer Guide
Development Principles¶
- Make minimal and verifiable changes.
- Preserve backward compatibility (especially public CLI behavior).
- Use
loguru.loggerfor logging; avoidprint()in business logic. - Do not refactor unrelated areas.
Testing Requirements¶
Run at least the tests relevant to your changes before submitting:
If your change touches cron or agent core behavior, also run:
For the full suite:
Pull Request Guidelines¶
Your PR description should include:
- Background and goal
- Key changes made
- Risk and backward-compatibility notes
- Test commands run and their results
Documentation¶
If your changes affect behavior or interfaces, update the relevant files:
docs/cli-reference.md— CLI commands and toolsdocs/configuration.md— Config optionsdocs/architecture.md— Module or data flow changesmiqi/templates/TOOLS.md— Tool usage guidanceCHANGELOG.md— Always add a changelog entry