Description
After TeamDelete succeeds and returns "No team name found, nothing to clean up", the non-interactive harness continues injecting shutdown prompts in an infinite loop.
Repro
- Run a full refactor cycle in non-interactive mode (
-p)
- All teammates confirm shutdown
- Call
TeamDelete — returns {"success":true,"message":"No team name found, nothing to clean up"}
- Harness continues injecting: "You are running in non-interactive mode and cannot return a response until your team is shut down"
Expected
Harness detects team is gone and terminates the loop.
Actual
Loop continues indefinitely despite TeamDelete confirming no team exists.
Notes
This is a regression — issue #3103 was closed but the bug persists. The harness appears to check session-level team context rather than actual team existence.
Description
After
TeamDeletesucceeds and returns"No team name found, nothing to clean up", the non-interactive harness continues injecting shutdown prompts in an infinite loop.Repro
-p)TeamDelete— returns{"success":true,"message":"No team name found, nothing to clean up"}Expected
Harness detects team is gone and terminates the loop.
Actual
Loop continues indefinitely despite TeamDelete confirming no team exists.
Notes
This is a regression — issue #3103 was closed but the bug persists. The harness appears to check session-level team context rather than actual team existence.