Skip to content

[bug] goose gets into endless loop with developer extension #5155

@dord44

Description

@dord44

Describe the bug

we observed that goose gets into endless loop with the developer extension turned on when we work on our repo:

Context: ○○○○○○○○○○ 0% (0/400000 tokens)
( O)> inspect the project

─── analyze | developer ──────────────────────────
focus: 
follow_depth: 2
force: false
max_depth: 2
path: /Users/dor/radioquebrada


─── analyze | developer ──────────────────────────
focus: 
follow_depth: 2
force: false
max_depth: 3
path: /Users/dor/radioquebrada

this goes on, with max_depth increasing forever. it doesn't happen when we work on a different directory. turning off the developer extension fixes the endless loop. different LLMs have been tried and the problem was persistent. different prompts all lead to the same result.

To Reproduce
Steps to reproduce the behavior:

  • clone https://github.com/dord44/dord44.github.io with latest main (commit 41914bb7d77766957af7cc093b90519fb02a8fdd)
  • start goose with developer extension in that directory
  • ask something like "explore the project"

Expected behavior
no endless loop

Screenshots

Image

Please provide following information:

  • OS & Arch: macOS
  • Interface: both UI and CLI
  • Version: 1.9.3
  • Extensions enabled: Developer Extension
  • Provider & Model: GPT-5 et al.

Metadata

Metadata

Labels

p1Priority 1 - High (supports roadmap)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions