Rust Code Hygiene
Clippy, error boundary, unsafe invariant, and asynchronous lifecycle hygiene.
Select one bounded recipe. Start in audit mode; authorize fixes only after reviewing the candidate evidence.
Recipes
Rust Clippy lint baseline and allow debt
developmentBounded audit or remediation to resolve correctness and suspicious lints and narrow allow attributes.
Rust panic, unwrap, expect, and error boundaries
developmentBounded audit or remediation to keep recoverable failures out of panic paths while preserving invariants.
Rust unsafe block and safety-invariant hygiene
developmentBounded audit or remediation to minimize unsafe scope and make every safety invariant locally reviewable.
Rust async cancellation, lock, and task lifecycle
developmentBounded audit or remediation to avoid detached tasks, locks across await, and cancellation-unsafe partial operations.