Timmy Agent
|
6ddadcf3d5
|
feat: add NPC-NPC trust relationships and conversations — P1 #515
Self-Healing Smoke / self-healing-smoke (pull_request) Failing after 23s
Smoke Test / smoke (pull_request) Failing after 29s
Agent PR Gate / gate (pull_request) Failing after 39s
Agent PR Gate / report (pull_request) Successful in 10s
Implement smallest concrete fix for P1 Tower Game: NPCs now have mutual trust
values, converse when Timmy is absent, and exhibit one friendship pair (forge
master ↔ gardener, trust ~0.8) and one tension pair (bridge keeper ↔ tower
sentinel, trust ~-0.6).
- Added NPC dataclass with trust dict and get_trust()
- Defined 4 NPCs grouped: forge_master+gardener in FORGE; bridge_keeper+tower_sentinel in BRIDGE
- Conversation pools: friendship, tension, neutral — selected by trust level
- Updated GameState with npcs list
- TowerGame tick() generates npc_conversation events when ≥2 NPCs share a room ≠ Timmy's
- Expanded tests: TestNPCRelationships verifies relationships and conversation behavior
Closes #515
|
2026-04-30 10:32:20 -04:00 |
|