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 --workspace

Task Workflow

Memory & Documentation Updates

Required before every commit. After completing any implementation work:

  1. Update task progress in docs/todo-v*.md.
  2. Add factual entries to versioned memory files.
  3. Add insights and lessons learned to docs/learnings.md.
  4. Update CHANGELOG.md in the unreleased section.
  5. 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.