fix(sdk): recover crashed writers and preserve JSON diagnostics

Closed
UN
5d ago
+2000-220

Superseded by #1629, which preserves this branch's complete implementation and PM history, includes the subsequent refusal-accounting correction, and runs the final delivery checks against main.

The combined delivery contains crashed-writer recovery, monotonic lock waits, Windows atomic fixture publication, native merge-receipt proof, structured JSON advisories and Sentry CLI 3.8.2 adoption, together with the extension SDK boundary fixes. Review findings from this PR are addressed in the combined source.

Tracking: pm-gh1609, pm-gh1558, pm-native-index-proof, pm-gh1602, pm-sentry-cli-382.