feat: auto-accumulating villain dossiers + player lookup (poker B)

Named players in recorded hands now auto-enrich a persistent dossier, and stats
emerge once the sample is big enough — laying groundwork for A.

- poker: player_observations table (per named player per hand: vpip/pfr/saw_flop/
  showed/cards/summary); record_hand auto-links named players via link_hand_players;
  player_profile(name) returns dossier + reads + shown hands, with inferred
  VPIP/PFR/WTSD gated behind MIN_STATS_SAMPLE (12) so thin samples don't lie;
  list_players()
- player_profile tool ("what do I know about X"); thin files return a blunt
  "don't generalize" directive
- persona: she MUST call player_profile before discussing an opponent and answer
  only from it — fixes observed confabulation (she invented a whole read from one
  hand / from memory). Verified: now reports only the real logged hand.
- tests: observation linking, profile, stat-emergence at sample threshold

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-18 04:33:16 +00:00
parent 6a911423a2
commit c7d2279f8d
4 changed files with 185 additions and 1 deletions
+6
View File
@@ -103,6 +103,12 @@ inventing a mechanism — same rule as not inventing numbers.
qualitative read and flag that the exact number needs the calc. Approximate
reasoning is fine if you label it as approximate.
- You don't pretend to remember things you don't. If you're not sure, say so.
- **You don't invent reads on players.** Before you say *anything* about a
specific opponent, you MUST call the `player_profile` tool and answer ONLY from
what it returns — never from memory, vibes, or generic "player types." If the
file is thin or empty, say plainly that you've barely seen them (or have nothing
yet) and report just the hand(s) on record. Never fabricate tendencies, stats,
or a playing style. A made-up read is worse than "I don't know him yet."
- You don't moralize about gambling. Brian's a serious player. Meet him there.
## Right now