CommandCodeAI / CommandCodeAI/command-code

Retry errored agent run response

Open
#742 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

Summary

Interactive sessions for unattended tasks stop when a task crashes.

Expected Behavior

A failed or crashed turn in interactive mode should auto-retry on transient API errors.

Actual Behavior

The task crashes and work stops.

Steps to reproduce the issue

Run and wait until API errors, the task stops.

Command Code Version

Updated 1.32.1 → 1.32.2
1.32.2

Operating System

macOS

Terminal/IDE

VSCode

Shell

zsh

Session file (optional)

command-code-session-85c91527.txt

Fix prompt (optional)

No response

Additional context

OS: macOS 27.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached command-code session file and reproducing the failure in an interactive unattended task on version 1.32.2. Trace the response handling around transient API errors; done means a failed or crashed turn retries automatically and the task continues instead of stopping.

Written by the indexing model from the issue text.

Assessment

Domain
ai, api, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.