feat: Add Chatwoot Agent Bot prototype and FAQ knowledge base

- Created chatwoot-agent-bot/ with Node.js webhook server
- Bot detects intent (greeting, billing, technical, features, account)
- Auto-responds from FAQ knowledge base or escalates to human
- FAQ-KB.md: Living knowledge base that grows with customer questions
- CHATWOOT-SETUP.md: Complete deployment and configuration guide
- Supports Telegram notifications on escalation
- Bot runs on port 3001, ready for Chatwoot webhook integration
This commit is contained in:
2026-04-01 16:26:05 -04:00
parent 7ba19752de
commit 5319bcd30b
1074 changed files with 456376 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
# State Routing
Proactivity works best when stable memory and live task state stay separate.
## Use Stable Memory For
- durable activation preferences
- action boundaries that should persist
- batching, timing, and style preferences
- recurring rules the user expects later
## Use Session State For
- current objective
- last confirmed decision
- current blocker
- next useful move
## Use the Working Buffer For
- volatile breadcrumbs during long tasks
- partial findings not ready for durable memory
- recovery hints after tool-heavy work
- temporary notes that should be cleared later
## Use Heartbeat State For
- promised follow-ups
- stale blockers worth re-checking
- recurring checks that should stay lightweight
- triggers that justify messaging the user
## Routing Rule
If the note should still matter next week, it belongs in stable memory.
If it matters for the current task only, it belongs in active state.