Skip to content

teammate-idle hook keeps asking lanes to claim tasks outside their brief (fires every idle turn) #97

Closed

Description

@lx-0

What happens

In coordinator mode, the ytstack 0.12.0 teammate-idle hook fires at every idle turn of a lane. Each time it says "13 task(s) still open in milestone M034" and asks the lane to claim one of them.

This keeps happening even when:

  • the lane's brief explicitly rules that milestone out, and
  • the lane has already confirmed to the coordinator that it has nothing to claim.

One lane counted about 30 firings in a single session. Every firing costs a model turn, and several lanes were affected at once (booking, drain and release lanes).

Expected

The hook should do one of these:

  • respect a lane that has declared "nothing claimable in my brief", for example through a marker or an acknowledgement, or
  • offer tasks only from milestones in the coordinator's active set (the milestones the lanes were dispatched for), instead of from any open milestone.

Context

This is a long coordinator session with about 20 parallel lanes. M034 is an unrelated older milestone that is still open in .ytstack/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions