Skip to content

auto-mode can loop repeated startup notifications and the same select prompt without dispatching work #3472

@AriaShishegaran

Description

@AriaShishegaran

Summary

/gsd auto can get stuck in a startup/UI re-entry loop where it repeatedly emits the same notify/select events and never dispatches a real unit.

What I observed

In headless mode, /gsd auto produced output like:

  • repeated notify: Debug logging enabled -> ...
  • repeated select: GSD — M068: M068
  • no actual tool dispatches
  • timeout with no real work started

This happened before any substantive unit execution, so it looks like a startup / guided-flow re-entry loop rather than a task-level failure.

Expected

If auto-mode determines the next actionable milestone/slice/task, it should proceed into dispatch.
If it needs the guided flow instead, it should present one prompt once, not the same prompt repeatedly.

Actual

The same startup notification and the same select prompt repeat until timeout.

Why this matters

This makes /gsd auto look alive while doing no work.
It is especially frustrating in milestone recovery scenarios because the operator sees auto-mode looping instead of either:

  • continuing real work
  • or stopping with one clear blocking prompt

Notes that may help debug

This looks related to startup / command re-entry around:

  • src/resources/extensions/gsd/commands/handlers/auto.ts
  • src/resources/extensions/gsd/auto.ts
  • src/resources/extensions/gsd/auto-start.ts
  • src/resources/extensions/gsd/guided-flow.ts

The repeated Debug logging enabled notifications suggest startup is re-entering more than once inside a single command lifecycle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    High PrioritybugSomething isn't workingneeds-forensicsBug report missing /gsd-forensics output

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions