https://gitlab.synchro.net/main/sbbs/-/commit/833cf8fc7bd53a679d83dd04
Modified Files:
exec/chat_llm.js
Log Message:
chat_llm: route issue priority/recommendation queries to git_issues
classify_intent had no rule for issue queries phrased by importance, so the model free-formed and fabricated issue numbers + titles (observed in #synchronet: #12345 "Enhance Security Flags", then #98765 after being told it was hallucinating). Add routes so these reach the tool and the model picks from REAL issues:
- "highest priority / most critical / most important (etc.) issue" and
"which issue would you recommend" -> git_issues kind=recent (opened)
- "most recent / latest / last (open|closed) issue" (singular / embedded,
e.g. "poem about the most recently closed gitlab issue") -> git_issues
recent, state from the open/closed word (fixes the model inventing a
lookup iid:12345 for "most recently closed issue")
Guarded against false positives -- "I have a critical issue with X" stays unrouted.
Co-Authored-By: Claude Opus 4.8 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net