feat: chat-side feedback — reactions in conversation thread back to her thoughts

Closes the last loop gap: when she raised a thought in chat and Brian replied in
the conversation (not the feed), it was a dead end. Now she has a thought_response
tool — when he reacts to a thought she surfaced, she captures his take and it folds
back into that thread (next dream pass she reacts, like a feed reply).

- tools: _thought_response(thread_id, brian_said) -> thoughts.record_response.
- modes: thought_response added to _BASE (all modes).
- surfaced-note + context_note now expose each thread's #id and instruct her to use
  the tool when he engages, so she has what she needs to call it.
- test for the tool (threads reply back + bad-id handling). Suite 81, ruff clean.

Feedback now closes from both surfaces: the /thoughts feed AND live conversation.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-22 23:26:40 +00:00
parent 149e9a6dd5
commit ea30c3dd67
4 changed files with 48 additions and 6 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ class Mode:
_LOOKUPS = ("player_profile", "get_villain_file", "running_stats", "recent_sessions")
# Always-available core tools (her own agency: journaling/notes/starting a thought
# thread she'll develop on her own later).
_BASE = ("journal_write", "note", "think_about")
# thread, and capturing Brian's reaction when she raises one of her thoughts in chat).
_BASE = ("journal_write", "note", "think_about", "thought_response")
# The full live cash-game toolset (incl. Brian's mental-game rituals).
_CASH_TOOLS = _BASE + _LOOKUPS + (