Maps scrap/rework reason codes to their root causes and recommended corrective actions. Published to a compacted topic via the REST API and used by the alarm-service to provide actionable context in supervisor alerts and LLM prompts.
Key Fields
| Field | Type | Description |
|---|---|---|
| reasonCode | string | Reason code identifier (e.g., “DIM_OUT_OF_SPEC”) |
| description | string | Human-readable description |
| rootCause | string | Known root cause |
| suggestedAction | string | Recommended corrective action |
Example
{ "reasonCode": "DIM_OUT_OF_SPEC", "description": "Part dimensions outside specification tolerance", "rootCause": "CNC tool wear, fixture misalignment, or thermal expansion", "suggestedAction": "Check tool wear offsets, verify fixture alignment, and confirm coolant flow. Run first-article inspection after adjustment."}