Commit Graph

11 Commits

Author SHA1 Message Date
Narasimha-sc
cbf1bf3cfb support-bot: correct messages 2026-04-17 19:30:56 +00:00
Narasimha-sc
7136e12c18 cardFlushMinutes 15 -> cardFlushSeconds 300 2026-04-17 12:11:44 +00:00
Narasimha-sc
0a0f146e52 Rename Grok AI -> Grok 2026-04-17 11:51:53 +00:00
Narasimha-sc
f6a5a8d824 support-bot: load context from context file 2026-04-17 11:13:20 +00:00
Narasimha-sc
6d69cf9a7c support-bot: add tests for Grok batch dedup and initial response gating
7 new tests covering the duplicate Grok reply fix:
- batch dedup: only last customer message per group triggers API call
- batch dedup: multi-group batches handled independently
- batch dedup: non-customer messages filtered from batch
- initial response gating: per-message responses suppressed during activateGrok
- gating clears: per-message responses resume after activation completes

Update implementation plan test catalog (122 → 129 tests).
2026-04-16 10:55:28 +00:00
Narasimha-sc
1f1777cbe1 support-bot: more improvemets 2026-04-16 10:23:19 +00:00
Narasimha-sc
ff5919e731 support-bot: implement stateless bot with cards, Grok, team flow, hardening
Complete rewrite of the support bot to stateless architecture:
- State derived from group composition + chat history (survives restarts)
- Card dashboard in team group with live status, preview, /join commands
- Two-profile architecture (main + Grok) with profileMutex serialization
- Grok join race condition fix via bufferedGrokInvitations
- Card preview: newest-first truncation, newline sanitization, sender prefixes
- Best-effort startup (invite link, group profile update)
- Team group preferences: directMessages, fullDelete, commands
- 122 tests across 27 suites
2026-04-10 12:33:30 +00:00
Narasimha-sc
5711cb5a83 Further usability improvements 2026-04-10 10:32:48 +00:00
Narasimha-sc
f25f5cbf0a apps: support-bot /add command & fixes 2026-04-10 10:32:48 +00:00
Narasimha-sc
ce9dba8ee1 support-bot: Fix basic functionality 2026-04-10 10:32:48 +00:00
Narasimha-sc
0d290eb7b0 apps: support bot relocate 2026-04-10 10:32:48 +00:00