uncrash

Ticket 018: Native Rust acceleration for agent log panic scanning and session diagnostics

Goal and scope

Accelerate agent storage health inspections and panic diagnostics using native Rust execution in the worker binary while preserving fail-safe Python fallbacks. Specifically:

  1. Extend src/uncrash/snapshot.rs with high-throughput --scan-panics <dir> [budget] mode.
  2. Integrate native panic scanning into src/uncrash/diagnostics.py with safe binary discovery and automatic fallback.
  3. Add worker precompilation helpers to eliminate runtime rustc compiler invocation latency during diagnostics.
  4. Comprehensive test coverage ensuring bit-for-bit parity between native Rust and Python scanner results.

Acceptance criteria

Tracking boundary

This directory contains the reviewed intent and implementation record.