Skip to content

Add ~460 new coach lines to the most frequently-fired pools - #48

Merged
PureXYZ merged 1 commit into
mainfrom
claude/pensive-einstein-b69753
Jun 14, 2026
Merged

PureXYZ merged 1 commit into
mainfrom
claude/pensive-einstein-b69753

Conversation

@PureXYZ

@PureXYZ PureXYZ commented Jun 14, 2026

Copy link
Copy Markdown
Owner

What

Adds 460 new canned coach lines across the 41 most frequently-fired line pools in src/coach/lines.ts, roughly doubling each.

Why

The user reported hearing the same lines too often. The twitch moments — kills, bomb hype, MVP, clock callouts, deaths, tilt, match point, squad lines — never go through the LLM, so their canned pools repeat verbatim; the per-round economy and round-end fallbacks also fire constantly. This pass is weighted toward those highest-frequency pools rather than the rarer break-moment speeches.

Coverage:

  • Economy (every freezetime): pistol, full-buy, mid-buy, eco, save-streak, kitted, awkward — +12–16 each
  • Round end (every round): won +16, lost +18
  • MVP +18; bomb hype (planted/defused/exploded, T+CT) +10–14 each
  • Kills (triple/quad/ace, knife/zeus/molly/HE/low-HP); clock (10-sec bomb, late-round T/CT/carrier); deaths/tilt; match point; teamkill; squad (spectator-triple, team-triple, last-man, opening-deaths)

How

Authored with the repo's writers-room workflow (one writer + one adversarial judge per pool, 82 agents). Each writer read the existing pool to match the sarcastic spoken register and avoid duplicates; each judge culled soft/off-persona/constraint-breaking candidates. Interpolation discipline preserved: score pools keep ${ourScore}-${theirScore}, name/HP/who pools keep their tokens, and the cacheable const pools stay variable-free so the TTS prewarm cache (and its sim guard) still hold.

Verification

  • tsc --noEmit clean
  • npm run sim passes across 10 randomized runs — caught and fixed 6 lines that tripped the sim's per-pool content checks (a pistol-eco line that said "save", three CT-defuse lines that didn't name the defuse, two carrier lines that didn't mention the bomb/plant)
  • No duplicate line literals anywhere in the file (925 → 1385 total pool lines)

Reviewer notes

  • The new static cacheable lines (bomb/clock/match-point/zeus) aren't pre-synthesized yet — deploy.ts doesn't prewarm, so either run npm run prewarm to warm them across voices, or each new line synthesizes live on first occurrence and is cached after.
  • Out of scope (left for a follow-up): match-start/halftime/match-end speeches, retake sub-pools, side-unknown "neutral" variants, grenade-multi / fighting-clock variants, and the eco must-win/reset cases.

🤖 Generated with Claude Code

The canned line pools were repeating too often in play, since the
twitch moments (kills, bomb hype, MVP, clock callouts, deaths, match
point) never go through the LLM and the per-round economy/round-end
fallbacks fire constantly. Roughly double each of the 41 highest-
frequency pools with fresh, on-persona lines.

Authored via the writers-room workflow (one writer + one adversarial
judge per pool) so the new lines match the sarcastic spoken register
and don't duplicate the existing set. Cacheable const pools stay
variable-free so the TTS prewarm cache and its sim guard still hold.

Verified: tsc --noEmit clean, npm run sim passes across 10 randomized
runs (fixed 6 lines that tripped per-pool content checks), no duplicate
line literals in the file.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@PureXYZ
PureXYZ merged commit f6d76f9 into main Jun 14, 2026
1 check passed
@PureXYZ
PureXYZ deleted the claude/pensive-einstein-b69753 branch June 14, 2026 21:29
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