21 Commits

Author SHA1 Message Date
shum
5afad65768 support-bot: switch CLI to commander, add --help 2026-04-25 14:01:02 +00:00
sh
a836c50f60 support-bot: implement postgresql (#6876)
* support-bot: sqlite/postgres backend via typed DbConfig and parseArgs flags

* support-bot: add README with setup and flags reference
2026-04-25 11:16:26 +00:00
Narasimha-sc
e94bba5f3a support-bot: adversarial review fixes 2026-04-24 18:06:32 +00:00
Narasimha-sc
1b86dc2eea support-bot: update bot commands before sending commands 2026-04-24 15:13:03 +00:00
Narasimha-sc
d061760f4f support-bot: /team should give owner to invited member 2026-04-23 15:39:19 +00:00
Narasimha-sc
231a71e3c2 support-bot: no re-invite if already invited 2026-04-23 10:30:35 +00:00
Narasimha-sc
a5f3d3f6d3 support-bot: Implement adversarial review changes 2026-04-23 09:43:57 +00:00
Narasimha-sc
5e96cfbaf6 support-bot: implement /join ID inside card 2026-04-21 10:25:03 +00:00
Narasimha-sc
c0bdf53ef9 Fix Grok revertStateOnFail race condition 2026-04-18 13:23:58 +00:00
Narasimha-sc
fde776dcf2 support-bot: implement customData state 2026-04-18 12:39:03 +00:00
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