Commit Graph

8 Commits

Author SHA1 Message Date
shum f0af26cd87 docs(support-bot): align plan with codebase analysis
- Restore forwardedItems/lastTeamItemByGroup/newItems to ephemeral
  table (code depends on them, stage G decides fate)
- Note grokChat also needs apiGetChat wrapper (bot.ts:1222)
- Add state.ts deletion to stage B
- Add config/CLI arg rename table to stage D
- Expand stage G with specific maps, messages.ts templates, formatting
- Fix stage H: 232 existing tests (not zero), split into existing
  coverage and new tests to add
2026-03-18 14:19:50 +00:00
shum 808c7bd661 docs(support-bot): restructure plan into 8 stages
- Mark A (Haskell API + TS wrappers) as done with PR link
- Add B: switch to typed API + define sum types
- Add D: abstract agent architecture (pluggable AI provider)
- Add G: notification & formatting cleanup
- Reorder: B → C → D → E → F → G → H
  (typed API → persistence → agent abstraction → robustness →
   regular contacts → notification cleanup → tests)
2026-03-18 14:05:53 +00:00
shum d967c4e12d simplex-support-bot: remove fixed cmdString bug from plan 2026-03-18 11:50:34 +00:00
shum 8ff092b72e simplex-support-bot: move sum types to bot code, neutral naming, simplify persistence
- Move SupportGroupData/SupportContactData from shared Haskell library
  to bot's own types.ts — library stays generic
- Rename grok-specific fields to neutral: agentLocalGroupId, type "agent"
- Add lastProcessedItemId for crash recovery instead of tracking all
  forwarded items
- Remove forwardedItems/lastTeamItemByGroup/newItems ephemeral maps
- Remove WebSocket ChatClient references — bot uses native ChatApi only
- Remove _state.json migration section
- Fix state diagram layout (flowchart TD), API signatures, guard ordering
2026-03-18 11:38:31 +00:00
shum 4544c27764 simplex-support-bot: revise implementation plan 2026-03-18 11:38:31 +00:00
shum d243fc89d4 improve State Machine mermaid chart 2026-03-18 11:38:31 +00:00
shum 493cf569b1 simplex-support-bot: revise implementation plan 2026-03-18 11:38:31 +00:00
shum 2995aa34f7 simplex-support-bot: add doc overview of enhanced support bot 2026-03-18 11:38:31 +00:00