ce04b2b3de
- Add IMH_EXTRACTION_CLEANUP_FAILED and IMH_EXTRACTION_RESIDUAL_ATTRIBUTES diagnostic codes with severity warning and extraction-error category - Check for residual data-imhotep-runtime-id attributes before extraction (both fast-geometry and CDP paths), emit diagnostic if prior run leaked them - Surface cleanup failures (attribute removal, CDP session detach) as returned diagnostics instead of silent console.warn - Wrap CDP sessionManager.detach() in try/catch to prevent finally-block unhandled throws on closed/navigated pages - Count injected vs cleaned runtime-id attributes; report mismatch as IMH_EXTRACTION_CLEANUP_FAILED with metrics - Move errors array declaration before try block in fast-geometry path so finally can append cleanup diagnostics