Commit 8cc2f47
fix(chat): let allowlisted skill triggers beat the conversational filter (beat 20) (#256)
_try_skill ran _is_conversational() FIRST and bailed to the LLM for any
question-phrased message — so "what was I doing 1h ago?" never reached
observer_recall (allowlisted since #250); the LLM answered from memory and
fabricated. Now: if the message word-boundary-matches an allowlisted skill
trigger, honor it (explicit intent) even if it looks conversational; only fall
through to the LLM when no allowlisted skill matches. Verified: "what was I
doing 1h ago?" now routes to observer_recall.
Co-authored-by: Mickael Farina <farina.mickael@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 98c7e1d commit 8cc2f47
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
446 | | - | |
447 | | - | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
448 | 453 | | |
449 | 454 | | |
450 | 455 | | |
451 | | - | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
452 | 460 | | |
453 | 461 | | |
454 | 462 | | |
| |||
0 commit comments