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
teammate-idle hook loops and counts a milestone outside the lane's brief #98
In ytstack 0.12.0 the teammate-idle hook fires again and again for a subagent lane that has already finished its brief and confirmed the idle with its lead. Each time it sends the same text: "13 task(s) still open in milestone M034 … confirm with the lead before going idle". One lane got it six times in a row.
Why it is wrong
It counts the open tasks of a milestone (M034) that is not the lane's milestone and that the lane's brief does not cover. The lane was dispatched for one task of M046.
It does not notice that the lead already confirmed the idle, so it loops. Every repetition costs a model turn for the lane and the lead.
Expected
The hook counts only the open tasks of the lane's own brief, or of the task or slice it claimed in the frontier, never those of an unrelated milestone.
Once the lead has confirmed the idle, or the lane has sent its final report, the hook stays quiet.
Seen
2026-11-16: a coordinator with several Agent-tool lanes. Every lane that finished (reviewers and implementers) reported the same M034 count.
Activity
fix: teammate-idle review: foreign lane rows, main checkout LANES.md,…
fix: teammate-idle counts only the lane's own scope and says it once (#…