You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(planning): widen the interview watcher debounce so accepts seconds apart share a wake #5457
No related issue: split out of #5191 after a repro pass on planning 0.46.0 (origin/main at 4d1d9d8).
Summary
Finding 13 of #5191, reported against planning 0.42.0: Q7, Q8, Q9 accepted at 17:57:12, :23 and :30 arrived as three separate wakes.
Fix
Owner picks the window; then change the constants.
Verification
Repro pass on origin/main, playwright-cli driving Chromium against a copy of plugins/planning/surface/, plus round.sh, watch.sh and curl. Verdict: reproduces.
A debounce exists but only batches events under QUIET_SECONDS = 0.3 s apart; BURST_SECONDS = 2.0 s only caps the total hold (settle(), plugins/planning/surface/server.py:68-69,898-910). Live: two accepts 1.5 s apart, the watcher exited on the first (seq 28) and the second needed a second wake. The reported gaps were 7 and 11 s. Widening the window delays every single accept, so the value is an owner tuning call.
Related
Refs #5191. #4653 tracks the commitment and export gaps behind findings 9, 17 and part of 18.
Owner decision (2026-10-01): approved the recommendation ("go with recommended", the owner's reply to the batch decision page that listed this question and its recommendation).
Question: which debounce window should the interview watcher use?
Chosen: option A. Set QUIET_SECONDS=3.0 and BURST_SECONDS=12.0 in plugins/planning/surface/server.py. Accepts up to 3 s apart share one wake; the 7 s and 11 s gaps still wake separately.
Next: an agent changes the two constants, makes the settle test patch them to small values so it stays fast, bumps the planning plugin version, and opens a draft PR that closes this issue.
Activity
kyle-sexton commentedon Oct 1, 2026
Owner decision (2026-10-01): approved the recommendation ("go with recommended", the owner's reply to the batch decision page that listed this question and its recommendation).
Question: which debounce window should the interview watcher use?
Chosen: option A. Set QUIET_SECONDS=3.0 and BURST_SECONDS=12.0 in plugins/planning/surface/server.py. Accepts up to 3 s apart share one wake; the 7 s and 11 s gaps still wake separately.
Next: an agent changes the two constants, makes the settle test patch them to small values so it stays fast, bumps the planning plugin version, and opens a draft PR that closes this issue.
fix(planning): bound the watcher debounce by the wait deadline
docs(planning): restore the blank line before the 0.56.1 heading