Rule Writing Use this as stage 2 of the React Doctor rule pipeline. Pipeline: 1. defines the rule contract. 2. turns the contract into tests and implementation. 3. verifies noise, correctness, PR copy, and review feedback. If no rule contract exists, create a compact one first or use the research skill before editing. Interactive Coaching Before substantial edits, show the implementation plan: - Exact diagnostic condition. - Detector precision: syntax-only, scope-aware, or path-aware. - AST nodes and bindings that matter. - Unsupported v1 cases. - Adversarial test matrix. If the user asked fo…