Symptom
Select "Enterprise" or "Safety Critical" from the policy dropdown and run triage. The policyUsed field in the response always says "standard", no matter what you choose.
Context
The Issue Triage app has a shared TriageRequest type used by both frontend and backend. The frontend builds a request body and the backend destructures it. A Zod validation schema validates the incoming body before the handler processes it.
Trace the field name from the frontend API client through the validation schema to the route handler.
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code