Contributing
ZoidMatter is a Rust workspace. This page summarizes the workflows from AGENTS.md.
Development Commands
sh scripts/install-hooks.sh # install pre-commit hooks (once)
rtk cargo fmt --check
rtk cargo clippy --workspace --all-targets --all-features -- -D warnings
rtk cargo test --workspaceTask Workflow
- Tasks are defined in
docs/todo-v*.mdwith format- [ ] `X.Y.Z` description. - Each task maps to branch
task-X.Y.Zoffrelease/X.Y. - Phase completion triggers review before merge to main.
- Major versions (X.0) require human sign-off.
- Never use letter suffixes in task numbers — if inserting a task, assign the next integer and renumber subsequent tasks.
Memory & Documentation Updates
Required before every commit. After completing any implementation work:
- Update task progress in
docs/todo-v*.md. - Add factual entries to versioned memory files.
- Add insights and lessons learned to
docs/learnings.md. - Update
CHANGELOG.mdin the unreleased section. - Commit all memory/docs changes with the code changes.
Quality Gates
Pre-commit hooks run format, clippy (with -D warnings), and tests. Never use --no-verify — let pre-commit run.