Rust pattern modernization — Wave 0 baseline
Rust pattern modernization — Wave 0 baseline
Section titled “Rust pattern modernization — Wave 0 baseline”Rolling snapshot for .cursor/plans/rust-pattern-modernization-master_d4c4c376.plan.md. Re-record counts when starting a new wave.
Workspace lint manifest (authoritative)
Section titled “Workspace lint manifest (authoritative)”From root Cargo.toml [workspace.lints]:
| Lint group | Level |
|---|---|
rust::unsafe_code | warn |
clippy::all | warn |
Stricter policy described in governance docs is not yet fully mirrored here (see plan § Wave 6).
Edition / toolchain
Section titled “Edition / toolchain”- Workspace
edition = "2024",rust-versionin rootCargo.toml(align with CIdtolnay/rust-toolchain@stable).
High-risk pilot files (Wave 1+)
Section titled “High-risk pilot files (Wave 1+)”Priority set from the master plan (error handling / async / tracing / process):
crates/vox-orchestrator/src/mcp_tools/tools/codex_tools.rscrates/vox-cli/src/dispatch_protocol.rscrates/vox-actor-runtime/src/llm_result.rscrates/vox-orchestrator/src/models.rscrates/vox-codegen-rust/src/emit.rs
TOESTUB
Section titled “TOESTUB”- Crate:
vox-code-audit; CLI entry:voxdiagnostics / stub-check (see plan § Wave 5–6). - CI: default job uses
ci toestub-scoped --mode legacy(see.github/workflows/ci.yml). Tightening: switch to stricter modes only after backlog burn-down and cross-provider parity review.
Verification commands
Section titled “Verification commands”cargo check --workspacecargo clippy --workspace -- -W clippy::allcargo doc --workspace --no-depscargo test -p vox-code-auditUse crate hardening matrix for per-crate feature flags.