Skip to content

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.

From root Cargo.toml [workspace.lints]:

Lint groupLevel
rust::unsafe_codewarn
clippy::allwarn

Stricter policy described in governance docs is not yet fully mirrored here (see plan § Wave 6).

  • Workspace edition = "2024", rust-version in root Cargo.toml (align with CI dtolnay/rust-toolchain@stable).

Priority set from the master plan (error handling / async / tracing / process):

  • crates/vox-orchestrator/src/mcp_tools/tools/codex_tools.rs
  • crates/vox-cli/src/dispatch_protocol.rs
  • crates/vox-actor-runtime/src/llm_result.rs
  • crates/vox-orchestrator/src/models.rs
  • crates/vox-codegen-rust/src/emit.rs
  • Crate: vox-code-audit; CLI entry: vox diagnostics / 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.
Terminal window
cargo check --workspace
cargo clippy --workspace -- -W clippy::all
cargo doc --workspace --no-deps
cargo test -p vox-code-audit

Use crate hardening matrix for per-crate feature flags.