Skip to content

Fix coach verbosity and hallucinated calls (06-15 log review) - #54

Merged
PureXYZ merged 1 commit into
mainfrom
claude/quirky-swanson-267ee9
Jun 16, 2026
Merged

PureXYZ merged 1 commit into
mainfrom
claude/quirky-swanson-267ee9

Conversation

@PureXYZ

@PureXYZ PureXYZ commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Why

A forensic review of the last two prod games (de_inferno, de_dust2) surfaced two coach hallucinations the user heard, and confirmed the long-standing "talks too much" complaint:

  • The coach told the team "full buy next round, armor and rifles" at round-end, then "both ecos, armor and pistols" at the very next freezetime — a self-contradiction. Root cause: the round-end line gave buy advice it's forbidden to give and can't possibly know (it has no next-round money).
  • It claimed "Ensuing died with his nades again" round after round, including a round where he didn't. Root cause: the teammate-rib note latches on the cumulative match report and chooseRibTarget re-picked the sole noted teammate every round.
  • Buy calls ran 50–70 words (target ~35) and a busy round stacked up to 6 lines with no per-round cap.

The investigation also flagged related honesty gaps: enemy economy stated as fact off the loss-bonus guess ("they're loaded", "full rifles"), "died first" claims the coach has no kill feed to know, and clock lines asserting the player's position.

What changed (6 files, +150/−53)

Verbosity

  • Tightened SYSTEM_CORE word caps (freezetime ~30, mid-round 6–12, round-end ≤12) + "say the one thing that matters, don't stack every clause"; freezetime prompt reframes the folded clauses as material to choose from, not a checklist.
  • New per-round speech budget in the engine: round-deciding lines (buy call, retake/save decision, round result, match point, your own multikill hype) always speak; discretionary colour (death / clock / tilt / bomb hype and teammate hype) is dropped once the round is full. Resets on round change.
  • Generic (causeless) deaths now silent — only burned/blind deaths speak.

Round-end buy contradiction

  • NEXT-round buy/save/force calls belong only to the freezetime window (scoped so the legit mid-round retake-or-save call survives); scrubbed the next-round buy/save imperatives from the canned round-end pools.

Repeated stale teammate rib

  • chooseRibTarget skips rather than re-picking the sole noted teammate every round; recentRibbed also clears at halftime; rib clauses frame the note as a match-long pattern, never "again"/"this round".

Honesty

  • Enemy economy hedged in both glosses + SYSTEM_CORE (it's a guess off loss-bonus, never "they're loaded"/"full rifles"; 3+ = broke, not full rifles).
  • Death-order ban in SYSTEM_CORE; the canned weak-link / tilt pools (which bypass the prompt) reworked off "first to die / every round / sprints in" to the honest "keeps getting picked early this match" — roast intact.
  • Reworded the BOMB_TEN_CT clock lines that asserted the player's position relative to the bomb.

Reviewer notes

  • Driven by a 5-lens adversarial review; its findings are folded in: the "save mid-round" prompt collision, the budget being near-inert against the cited pileup (added teammate to the budgeted set + lowered the cap), and the canned-pool parity gaps.
  • typecheck + sim green; sim gains 3 regression assertions (budget gate, generic-death silence, chooseRibTarget skip).
  • Deliberately deferred (separate calls): the buy call still fires every freezetime (no repeat-eco suppression — core coaching value); word caps are prompt-only (no hard truncation); voice auto-reconnect / LLM-gating-on-disconnect is untouched (the mid-game silence in the logs was the user leaving the channel on purpose).

🤖 Generated with Claude Code

A forensic review of the last two prod games surfaced two coach
hallucinations and confirmed the "talks too much" complaint. This
addresses all three, with the LLM-prompt fixes mirrored into the canned
fallback pools that bypass the prompt.

Verbosity
- Tighten SYSTEM_CORE word caps (freezetime ~30, mid-round 6-12,
  round-end <=12) and tell the model to say the one thing that matters
  rather than stack every folded clause into one breath.
- Add a per-round speech budget (engine): round-deciding lines (buy
  call, retake/save decision, round result, match point, own multikill
  hype) always speak; discretionary colour (death/clock/tilt/bomb hype
  and teammate hype) is dropped once the round is already full. Resets
  on round change.
- Silence generic (causeless) deaths; only burned/blind deaths speak.

Round-end buy contradiction
- Buy/save/force NEXT round belongs only to the freezetime window
  (scoped so the legit mid-round retake-or-save call survives); strip
  the next-round buy/save imperatives from the canned round-end pools.

Repeated stale teammate rib ("died with nades again")
- chooseRibTarget skips rather than re-picking the sole noted teammate
  every round; recentRibbed also clears at halftime; rib clauses frame
  the note as a match-long pattern, never "again"/"this round".

Honesty
- Hedge enemy economy (it's a guess off loss-bonus, never "they're
  loaded"/"full rifles"; 3+ means broke, not full rifles).
- Ban death-order claims ("died first"); rework the canned weak-link /
  tilt pools off "first to die / every round / sprints in" to the
  honest "keeps getting picked early this match".
- Reword the BOMB_TEN_CT clock lines that asserted the player's
  position relative to the bomb.

Verified: typecheck + sim green; sim gains 3 regression assertions
(budget gate, generic-death silence, chooseRibTarget skip). Driven by a
5-lens adversarial review whose findings (save-mid-round collision,
near-inert budget, canned-pool parity) are folded in.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@PureXYZ
PureXYZ merged commit 616a49d into main Jun 16, 2026
1 check passed
@PureXYZ
PureXYZ deleted the claude/quirky-swanson-267ee9 branch June 16, 2026 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant