Commit abb294d
docs(learnings): idle-message/voicemail conflict, verbose-ban priming, tool-id TTS leaks
Three intertwined gotchas surfaced during a customer voicemail-edge sim
hardening pass:
- voicemail-detection.md: idleTimeoutSeconds < silenceTimeoutSeconds + a
"stay silent on voicemail" prompt strategy deadlocks the moment
voicemailDetection has a coverage hole — every failed transcript ends
with the idle-message injection. Cannot be fixed at the prompt level.
- assistants.md (new "Prompt Authoring" section): verbose negative-directive
lists prime the banned phrases under output uncertainty. A 50+ phrase ban
regressed a sim suite from 12/15 to 3/15. Short positive directives beat
exhaustive negative enumeration.
- tools.md: naming a tool resource ID in system-prompt prose causes the LLM
to emit it as TTS content instead of (or in addition to) invoking it via
tool_calls. Refer to capabilities by natural-language intent.
All three entries are generalized — no customer or org-specific identifiers.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent da6a176 commit abb294d
3 files changed
Lines changed: 58 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
126 | 134 | | |
127 | 135 | | |
128 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
0 commit comments