Agentic Software Delivery — Incident Triage Lab

Diagnose and repair a real, contained defect — reproduction, AI diagnosis, a real patch, real tests, and a human-approval gate the AI cannot bypass.

Scenario C — Admin Search Postgres Type Inference

Business symptom (real historical incident, commit 9f35f27): an ADMIN search feature passed every local (H2) test and still broke in real production PostgreSQL with "function lower(bytea) does not exist" — a textbook "works on my machine" defect. Engineering area: JPQL / Postgres bind-parameter type inference. Risk: LOW (historical, fixed). Isolation: every query below runs only against dedicated, disposable synthetic "Triage Scenario C" customer rows created fresh on reset — never real customer data.

Honest note: this specific defect does not currently reproduce on the live database — pgjdbc/Hibernate's type inference for this exact pattern has genuinely improved since the original incident. The steps below still walk through the real historical evidence, diagnosis, and fix; "Reproduce" reports the real, current outcome rather than a forced failure.

Other scenarios: Scenario A — Plan Enrollment Idempotency · Scenario B — Appointment Downstream Resilience