escalation_filter.py implements tech-design.md §3's first step as an actual hard gate, not just a system-prompt instruction: money, appointment-confirmation, and emotional content stop generate_draft.py before it ever calls Gemini. Self-test 10/10; measured a 0.93% trigger rate against 82,305 real corpus utterances (mostly factual price mentions, not personal money requests -- noted as an upper bound, not a real-usage estimate). |
||
|---|---|---|
| .. | ||
| tone-corpus | ||