Completes the GOOD interop point end-to-end (the conversion engine landed earlier
in goodInterop.ts). No new IPC needed - reuses the existing artifacts:load /
artifacts:saveMany / good:export bridge.
- Scan controller gains exportGoodFromStore (loadArtifacts -> storedArtifactsToGood
-> exportGood) and importGoodArtifacts (saveMany + snapshot refresh), plus a
canGoodInterop flag.
- DiagnosticsView adds a GOOD Interop card: export the scan store as GOOD, or
import a GOOD file. The file is read in the renderer via a file input +
goodDatabaseToStoredArtifacts, so no file-dialog IPC is required.
Verified in the browser preview after a clean restart: the Diagnose view renders
all cards (Status, Last scan, GOOD Interop, Automation log, Crops/OCR), the
Scan<->Diagnose switch works with no console errors (the earlier hook-order
warnings were stale-HMR artifacts from deleting files mid-session). 120 tests +
build green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Reworks the UI so the Scan tab shows only core actions and all developer /
diagnostic surfaces live in one dedicated view.
- New "Diagnose" nav view. ScanView stays mounted for scan|diagnose (the scan
controller state persists across the switch) and renders either the clean
workspace or the new DiagnosticsView by mode.
- DiagnosticsView consolidates runtime/rights, grid detection, learning + data
staleness, fingerprint, auto-scan counters, the automation log, the dev-output
toggle, the Demo-Daten action, and the raw crops/OCR/confidence dump. Reuses
the existing diagnostics/details model hooks.
- Scan workspace decluttered: removed the Scanner Diagnose button and the Details
button, dropped the rules/grid/mode dev fields from the result brief and capture
meta, shortened the topbar headline, and moved Demo-Daten out of the topbar.
- Removed the now-dead ScanDiagnosticsModal / ScanDetailsModal components (their
content moved into the view); metrics grid hidden on the Diagnose view.
- Added dev:web script + .claude/launch.json for browser preview.
Verified in the browser preview (both views render, no console errors); 120
tests + build green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>