feat(chat): add conversational chat mode with intent parsing and plan/confirm flow

This commit is contained in:
Prime Backup Bot
2026-03-11 21:53:58 +00:00
parent cfb9c4c9c7
commit a1ce44fd69
3 changed files with 173 additions and 0 deletions
+12
View File
@@ -98,3 +98,15 @@ Behavior:
- Asks for goal/task direction when queue is clear
- Quiet hours enforced: 11:00 PM–6:00 AM America/New_York
- Personality: calm, strategic, concise (`prime_core/personality.py`)
## 13) Chat Mode v1 (conversational control)
Prime can now interpret natural-language messages and not just strict commands.
New controls:
- `mode chat on|off`
- `mode strict on|off`
Behavior:
- Interprets intent via OpenAI/Codex (`prime_core/chat_mode.py`)
- For action requests: proposes plan and asks for explicit approval (`approve`) when strict/confirm needed
- Keeps pending user action context in `state/pending-actions.json`