901354002e8833e959570804bf913abaf918f06b
Sweep of internal/capture and internal/dialogue. Both packages were already in good shape, so this is four small corrections rather than a rework. windowBytes truncated the STT window to whole seconds. A sub-second window therefore came out as zero bytes, which transcribeFile reads as "no window" and answers by handing the transcriber the whole meeting in one call. The multiplication is now done in float, so a fractional window is a real window. Peek's comment claimed expired entries below the top are left alone. The code deletes the whole stack, which is what Pop and TakeExpired both document and what the clock argues for. The comment now says so, and it names the ordering the silent drop depends on: TakeExpired has to run before Peek on a turn or the expiry notice becomes unreachable. The two store default TTLs were unnamed literals. They are DefaultClarifyTTL and DefaultSessionTTL now, next to DefaultMaxAttempts, and the comment on each says why the clarify one is the shorter of the two. PendingQuestion was not gofmt clean and ChunkText copied a slice one element at a time. Full suite passes with -race. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Description
No description provided
Languages
Go
97.1%
HTML
0.9%
Shell
0.6%
CSS
0.5%
Makefile
0.3%
Other
0.6%