1. Rust State Invariant Bypass: ClosePipeline Silently Skips Safety Checks in Release Builds
A multi-stage security audit has uncovered a defense-in-depth parity gap in the `ClosePipeline` component of the `app` crate. The `start_close` and `start_persist` methods enforce a critical single-flight invariant—ensuring that close and persist operations never execute simultaneously—using `debug_assert!` statements ...