Loading…
Reference in a new issue
No description provided.
Delete branch "fix/595-588-hook-and-dupes"
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?
Two deterministic fixes from the Gemma 4 replay comparison (run
a0784433, 2026-09-11). They're measured together on one dev rerun, before #596, which changes model output and is measured on its own.#595: the empty "What's next?" hook
Gemma printed the prompts' quoted
'What's next?' hookas a heading and stopped, on both runs.beat_service.HOOK_INSTRUCTION, which asks for a final paragraph that begins "What's next?" and says what the party faces or has decided.audio_service.drop_empty_hookremoves a last line that is only the phrase: markup and punctuation are allowed, and straight, curly or missing apostrophes all count. It runs on the beats path after the compose step and beforenote_unsummarised_windows, and at the end of the prose fallback.summarisation_runs.hook_droppedrecords when the guard fired, so an empty hook is visible rather than silently patched.#588: exact duplicates only
t_startand the same normalised summary (casefolded, whitespace collapsed, punctuation stripped at the edges) collapse.summarisation_runs.beats_collapsedis the total the dedupe step removed. The log splits it by rule. It's NULL only when beats were never extracted.Worth knowing
8d9e0f1a2b3c(down7c8d9e0f1a2b) addshook_dropped BOOLEAN NOT NULL DEFAULT falseandbeats_collapsed INTEGER, not backfilled.extraction_passeschanges against run 3's 4.beats_collapsednumbers will look large, because most of the total is later passes re-finding earlier events under the old rule.Checked
checkandformat --checkare clean.🤖 Generated with Claude Code