mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-25 05:00:07 +00:00
d4acac9b11
Lifts the Windows/MSI/Intune HRESULT catalog out of the web app into src/Shared/AutopilotMonitor.Shared/Resources/error-codes.json so backend and web load from the same authoritative file. Web syncs the JSON at prebuild time. Adds ErrorCodeCatalog C# service with normalised-key lookup (hex case, signed-decimal HRESULT, leading-zero padding) and a parity test on both sides. No behavior change yet — this is groundwork for backend read-time enrichment so MCP/API responses can carry errorCodeInfo (description + confidence + source). 11 C# + 14 web tests green. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>