[claude] Add agent emotional state simulation (#1013) #1144

Merged
gemini merged 1 commits from claude/issue-1013 into main 2026-03-23 18:36:53 +00:00

1 Commits

Author SHA1 Message Date
Alexander Whitestone
0feef79150 feat: add agent emotional state simulation
Some checks failed
Tests / lint (pull_request) Failing after 15s
Tests / test (pull_request) Has been skipped
Add per-agent emotional state tracking that influences narration style
and decision-making. Emotional states (cautious, adventurous, analytical,
frustrated, confident, curious, calm) are triggered by events like task
success/failure and decay over time toward calm.

- New EmotionalStateTracker with event-driven transitions and time decay
- System prompt dynamically modified with emotional state context
- Dashboard sidebar panel showing emotional profiles for all agents
- JSON API endpoint at /agents/emotional-profile/json
- agents.yaml supports initial_emotion per agent
- 25 new unit tests covering all emotional state behavior

Fixes #1013

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 22:18:34 -04:00