# Diagnostic plugin The diagnostic renderer consumes a raw WinDiagnostics JSON v1/v2 capture and builds its PDF with `renderer/render.typ`, `renderer/normalize.typ`, and `renderer/model.typ`. It imports graphical elements and palettes from the local Reportist visual module; it does not convert the capture into a report model. ```bash ../../build.sh render diagnostic /path/to/capture.json --output diagnostic.pdf --author 'Reviewer' --theme cic ``` Themes are `default`, `cic`, and `eridani`. The integration command `build.sh render diagnostic CAPTURE.json --output OUTPUT.pdf` invokes this renderer. `analyse.sh` remains available when normalized diagnostic JSON v1 and evidence pointers are needed. Its output is independent of the source-faithful PDF path. The public entry point is `../../build.sh`. The plugin also supplies evidence validation and analysis commands through that CLI. See [the plugin guide](../../docs/plugins.md) for ownership rules and tests.