Repository navigation
Fix coach verbosity and hallucinated calls (06-15 log review) - #54
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
chooseRibTargetre-picked the sole noted teammate every round.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
Round-end buy contradiction
NEXT-roundbuy/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
chooseRibTargetskips rather than re-picking the sole noted teammate every round;recentRibbedalso clears at halftime; rib clauses frame the note as a match-long pattern, never "again"/"this round".Honesty
BOMB_TEN_CTclock lines that asserted the player's position relative to the bomb.Reviewer notes
teammateto the budgeted set + lowered the cap), and the canned-pool parity gaps.chooseRibTargetskip).🤖 Generated with Claude Code