fix(ai): reword low-confidence disclaimer (escalated to engineering) - #115
Conversation
User-facing copy: drop 'a human agent has been notified and will follow
up' (and the scary 'with low confidence'). LOW-confidence responses (the
ones that auto-escalate) now read 'We've escalated this to our
engineering team — someone will follow up in this thread shortly.'
MEDIUM stays lighter ('a member of our team will review and follow up if
needed') since it does not escalate. Formatter default fallback aligned.
Copy only — the underlying reason answers score LOW is the Pathfinder
retrieval timeout (fixed separately in #112). Keeps 'AI-generated
response' phrasing. 29 formatter/pipeline tests pass; typecheck clean.
Review — copy change is mostly a clear win, but the LOW disclaimer now over-promisesThe MEDIUM and fallback rewords are improvements, and splitting severity between LOW/MEDIUM is the right instinct. One substantive issue, plus a coverage gap. 🔴 The LOW disclaimer promises escalation that doesn't always happenThe new LOW copy makes a concrete, thread-level commitment:
But the disclaimer branch and the escalation branch are gated on two different thresholds:
Thresholds: Failure scenario: a ticket scores The PR body justifies the change as "matches what actually happens (LOW confidence enqueues the ESCALATION job)." That premise isn't true for the Options:
Test coverageExisting tests only assert the VerdictLow-risk copy change with one real product-correctness bug: the LOW disclaimer over-promises for scores in 🤖 Generated with Claude Code |
What
Rewords the AI-response disclaimer shown on non-HIGH-confidence answers. Old copy read:
New copy:
Why
ESCALATIONjob).Scope
Copy only (
pipeline.tsdisclaimer text +formatter.tsdefault fallback). Not the cause of low-confidence answers — that's the Pathfinder retrieval timeout, fixed separately in #112. Keeps "AI-generated response" phrasing. 29 formatter/pipeline tests pass; typecheck clean.