Announce preemption: let wn_notify announce interrupt a running report #37

Open
opened 2026-11-06 10:49:52 +00:00 by dsh · 0 comments
Owner

Follow-up from #27. Tool-Talk currently queues announcements sequentially through the spool; an announce does not interrupt a long report already playing.

Add priority classes to the spool:

  • announce may preempt a running report, which is parked and resumed (or replayed) after the announce.
  • report queues behind anything playing.
  • Cancellation must use the existing speech generation/queue stop path; no double voice.

Acceptance: two simultaneous sessions cannot talk over each other; a short announce is heard while a long report is paused; the report resumes without restarting from the beginning if practical.

Follow-up from #27. Tool-Talk currently queues announcements sequentially through the spool; an `announce` does not interrupt a long `report` already playing. Add priority classes to the spool: - `announce` may preempt a running `report`, which is parked and resumed (or replayed) after the announce. - `report` queues behind anything playing. - Cancellation must use the existing speech generation/queue stop path; no double voice. Acceptance: two simultaneous sessions cannot talk over each other; a short announce is heard while a long report is paused; the report resumes without restarting from the beginning if practical.
Sign in to join this conversation.
No description provided.