An easy-to-host PDS on the ATProtocol, MacOS. Grandma-approved.

fix(MM-67): address PR review — fmt-check flag, clippy comment, CLAUDE.md alignment

- fmt-check: drop legacy -- separator (cargo fmt --all --check)
- clippy comment: clarify that -D warnings promotes all compiler warnings,
not just Clippy lints
- docker-build comment: add macOS escape hatch note (use remote Linux builder or CI)
- Remove self-evident comments on check, build, test, fmt, run-relay
- CLAUDE.md: align clippy and fmt --check commands with justfile

+5 -11
+2 -2
CLAUDE.md
··· 14 14 - `nix build .#docker-image --accept-flake-config` - Build Docker image tarball (Linux only; output at `./result`; load with `docker load < result`; `docker-image` is not exposed on macOS — use a remote Linux builder or CI) 15 15 - `cargo build` - Build all crates 16 16 - `cargo test` - Run all tests 17 - - `cargo clippy` - Lint 18 - - `cargo fmt --check` - Check formatting 17 + - `cargo clippy --workspace -- -D warnings` - Lint (warnings as errors) 18 + - `cargo fmt --all --check` - Check formatting 19 19 20 20 ## Dev Environment 21 21 - Managed entirely by Nix flake + devenv; do not install tools globally
+3 -9
justfile
··· 1 - # Check all crates for errors without producing binaries 2 1 check: 3 2 cargo check --workspace 4 3 5 - # Build all crates 6 4 build: 7 5 cargo build --workspace 8 6 9 - # Run all tests 10 7 test: 11 8 cargo test --workspace 12 9 13 - # Format all code 14 10 fmt: 15 11 cargo fmt --all 16 12 17 - # Check formatting without modifying files 18 13 fmt-check: 19 - cargo fmt --all -- --check 14 + cargo fmt --all --check 20 15 21 - # Lint with warnings as errors 16 + # Lint all crates; all warnings (Clippy and rustc) are treated as errors 22 17 clippy: 23 18 cargo clippy --workspace -- -D warnings 24 19 25 - # Run the relay server 26 20 run-relay: 27 21 cargo run -p relay 28 22 ··· 30 24 nix-build: 31 25 nix build .#relay --accept-flake-config 32 26 33 - # Build the Docker image via Nix (Linux only) 27 + # Build the Docker image via Nix (Linux only; on macOS use a remote Linux builder or CI) 34 28 docker-build: 35 29 nix build .#docker-image --accept-flake-config 36 30