tune(backend): narrate up to 36 events, not 30 (#600) #601
Loading…
Reference in a new issue
No description provided.
Delete branch "tune/compose-cap-36"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #600 once measured on dev.
_COMPOSE_MAX_BEATSwas sized to what "3-6 paragraphs" holds when a real session produced about 26 beats. Gemma 4 26B now verifies 85–95 events on the replay session. Even after #596 folds out the table admin, that leaves 43–60 story events, so the cap always binds. The #589 time-stratified pick then gives a dense stretch, like six reveals in three minutes, about two slots, and details there come and go between runs: the Thieves' Cant was in run 5's prose but not in runs 3, 4 or 6.Change
_COMPOSE_MAX_BEATSgoes from 30 to 36, and the compose prompt's "3-6 paragraphs" becomes "3-7 paragraphs", so the two instructions still agree.audio_serviceare untouched. They summarise the transcript directly and aren't bound by this cap.Checked
test_compose_selection.py,test_event_log.py,test_beat_service.py,test_table_admin_beats.pyandtest_empty_hook.py. Every selection test refers to the constant, not the number.checkandformat --checkare clean.Measurement
One summary-only dev rerun against run 6 (
03b3acfa, 2,573 characters), looking at:If the length grows past that or coverage doesn't move, this gets reverted in favour of bucket weighting.
🤖 Generated with Claude Code