Rust Implementation Discipline Write code in passes. Experts don't produce perfect code in one shot -- they design, implement, review, and simplify. Follow this process for every module you write. --- Pass 1: Design Types and Signatures Before writing any implementation, write ONLY the type definitions and function signatures. No bodies. No logic. Ask yourself these questions before moving on: - Can any enum state represent an invalid combination? If yes, restructure so invalid states are unrepresentable. - Are all parameters self-documenting? Replace params with enums (Transformation 2). - D…