feat(persona-chat): practice mode — play the contact
An anchored conversation now has a mode. 'about' is the existing behaviour (a persona talks with the user about the thread). 'as_contact' has the model play the contact so the user can rehearse the conversation: its own prompt (stay in the contact's voice, don't invent facts, coach on 'out of character'), no persona prompt, and only the thread tools — no memory, library, calendar or other-thread access, and no knowledge writes. The shared persona/file-chat loop now refuses tool calls that weren't in the turn's catalog, so the gates hold even when a model names a tool it wasn't offered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4ac574d4d2
commit
3f1bf42f1c
8 files changed
+284
-29
No files matched your search
@@ -1,4 +1,5 @@
|
||||
DROP INDEX IF EXISTS idx_persona_chat_anchor_contact;
|
||||
ALTER TABLE persona_chat_conversations DROP COLUMN anchor_mode;
|
||||
ALTER TABLE persona_chat_conversations DROP COLUMN anchor_context;
|
||||
ALTER TABLE persona_chat_conversations DROP COLUMN anchor_ts;
|
||||
ALTER TABLE persona_chat_conversations DROP COLUMN anchor_message_id;
|
||||
|
||||
Reference in new issue
Block a user