# Panic Reporting

`report_panic` formats a single-line message for reentrant-friendly output.

## Handler Wiring
```rust
use core::panic::PanicInfo;
use os_observatory::panic::report_panic;

#[panic_handler]
fn panic(info: &PanicInfo) -> ! {
    report_panic(&UART, info);
    loop {}
}
```

## Format
`[PANIC] payload="<message>" location=<file:line>`

## Notes
- Avoid allocation inside panic handlers.
- Keep handlers minimal; consider halting or resetting after reporting.

