A repeatable method for building trustworthy specifications.
Highly agent-ready Rust workspace: CLAUDE.md delegates to a substantial AGENTS.md, and CI, hooks, pins and lockfile are all in place.
An agent can get going from the README alone: rustup picks up the pinned 1.100.0 toolchain, and cargo test --workspace and cargo clippy --workspace --all-targets -- -D warnings cover tests and lints. Verus proofs need scripts/install-verus.sh, a PATH export and an x86_64 Linux host, so agents on other machines cannot run cargo verus verify locally. The README's command block also leaves out cargo fmt --all --check and the --locked flag that CI uses, so local runs can differ slightly from CI.
Your README badge
[](https://masonemery.com/ready/thepolytheist/pruvo) The badge shows your latest grade and updates when you re-check.
Fix these first
Add one script that mirrors the CI lint and test jobs
CI uses --locked and fmt --check, but the README commands do not; one command lets an agent reproduce CI exactly before pushing.
#!/usr/bin/env bash # scripts/ci-local.sh: run the same checks as the CI lint and test jobs set -euo pipefail cargo fmt --all --check cargo clippy --workspace --all-targets --locked -- -D warnings cargo test --workspace --locked if command -v cargo-verus >/dev/null 2>&1; then cargo verus verify --workspace else echo "cargo verus not on PATH; skipping proofs (run scripts/install-verus.sh on x86_64 Linux)" fi
Tell agents what to do when Verus cannot run locally
Verification needs x86_64 Linux. Agents on macOS or ARM should know whether to skip proofs and rely on the CI verify job, or to stop and ask.
## Verification on unsupported hosts `cargo verus verify --workspace` only runs on x86_64 Linux (see README). On other hosts: - Still run `cargo fmt --all --check`, `cargo clippy --workspace --all-targets --locked -- -D warnings` and `cargo test --workspace --locked`. - Do not claim proofs pass. Say in the PR that verification was left to the CI "Verify (Verus)" job.
Align the README command block with CI flags
Adding cargo fmt --all --check and --locked to the README stops an agent from passing local checks that CI would then fail.
cargo fmt --all --check cargo test --workspace --locked cargo clippy --workspace --all-targets --locked -- -D warnings
Breakdown
Agent instructions
25/25- ✓ Agent instructions file 10/10
Found CLAUDE.md, AGENTS.md. - ✓ Instructions have substance 5/5
9,835 characters of instructions. - ✓ Instructions say how to build and test 7/7
Lists the commands to run, including tests. - ✓ Instructions are a sensible size 3/3
Short enough to read in full every session.
Tests
20/20- ✓ One command runs the tests 10/10
cargo test works out of the box. - ✓ Test files exist 10/10
Found spec/.
Type & lint checks
15/15- ✓ Type checking 8/8
Rust is checked by the compiler. - ✓ Linter or formatter 7/7
Configured: rustfmt.toml.
CI
15/15- ✓ CI is set up 5/5
2 GitHub Actions workflows. - ✓ CI runs the tests 6/6
A workflow runs the test suite. - ✓ CI runs type or lint checks 4/4
A workflow runs type or lint checks.
Setup clarity
15/15- ✓ README explains setup 5/5
README has setup steps with commands. - ✓ Dependencies are locked 4/4
Found Cargo.lock. - ✓ Runtime version is pinned 3/3
The expected language/tool version is declared. - ✓ Environment variables are documented 3/3
No environment variables appear to be required.
Guardrails
10/10- ✓ Contribution guide 3/3
Has a CONTRIBUTING guide. - ✓ Pre-commit hooks 3/3
Pre-commit hooks catch mistakes before they land. - ✓ No committed junk 4/4
No build output, dependencies or secrets committed at the root.