- Use Java 17.
- Use Maven 3.9+.
- Run
mvn testbefore opening a PR. - Run
mvn verifyto include coverage and SpotBugs gates.
- Start from
AGENTS.md. - Use
docs/agent-pipeline.mdfor the reusable development workflow. - Use
docs/agent-project-profile.mdfor Metro-specific architecture, runtime, and verification rules. - Use
docs/agent-verification-matrix.mdto scale testing to risk. - For high-risk changes, record evidence using
docs/agent-evidence-template.md.
- Keep each PR focused on one concern (tests, refactor, bugfix, docs).
- Prefer small, reviewable commits.
- Do not mix behavior changes with formatting-only edits.
- Include a short test plan in each PR description.
- CI must pass on
mainand on your branch. - Coverage and SpotBugs checks must pass.
- For runtime-impacting changes, run manual checks from
docs/regression-baseline.md.
- Keep command handlers small and route-only in entry classes.
- Avoid adding new magic strings for IDs and objective names; use constants.
- Add defensive null checks on config-driven paths and log actionable warnings.
- Follow
docs/release-checklist.md. - Ensure language keys remain consistent across locale files.
- Update
CHANGELOG.mdfor user-visible changes.