Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Goal remains usageLimited with no resume action after provider access recovers #31909

ClosedNaryadchikov(GitHub profile, opens in a new tab) opened this issue 2 comments

Before submitting

  • I searched existing issues and did not find an exact duplicate.
  • I included enough detail to investigate the problem.

Area

Goal lifecycle/recovery in the desktop app and server.

Summary

A long-running goal hit a provider usage limit. Provider access later became available, and requests and delegated tasks succeeded in the same thread, but the goal remained in usageLimited state.

The banner continued to display "Goal hit a usage limit." The goal information control only displayed the objective as a tooltip. The only visible action was Clear; no Resume or Retry action was visible.

Steps to reproduce

This describes an observed workflow, not a newly performed quota-exhaustion test.

  1. Start a long-running goal and run until a provider usage limit is reached.
  2. Restore provider access.
  3. Ask the agent to continue the goal in the same thread.
  4. Observe successful requests and completed delegated tasks.
  5. Check the goal banner and the agent-facing get_goal result.

Actual behavior

  • The banner continues to report a usage limit while further work succeeds.
  • Repeated get_goal calls still return "status": "usageLimited".
  • The stored goal usage counters remain at their limit-stop values.
  • The goal tools available to the agent expose creation, inspection and complete/blocked/paused transitions, but no resume transition.
  • The UI offers Clear, with no visible way to resume the existing goal while preserving its state.

This appears to involve stored goal state, rather than only a stale banner. I have not verified whether automatic goal continuation remains disabled or whether only manually triggered turns are continuing.

Expected behavior

Provide a visible Resume/Retry action after provider access recovers, preserving the goal objective and history. Clearly indicate whether asking the agent to continue resumes goal automation or starts only a normal conversation turn.

If manual continuation is intentionally separate from goal recovery, the UI should explain that distinction and provide the missing recovery action.

Impact

Work can continue through manually triggered turns, but users cannot tell whether the goal automation is active and have no visible recovery action for the existing goal.

Environment

  • Windows desktop app.
  • Codex provider, 6.1 Sol Extra High.
  • Exact T3 Code build/version not captured in this report.

Evidence and privacy

The relevant observed API field is "status": "usageLimited", returned repeatedly after successful work resumed.

No screenshots, attachments, raw logs, goal text, conversation content, project information, local paths, thread IDs or account identifiers are included.

#16815 concerns usage-limit recovery for Claude thread runs after background-task wakeups. This report concerns a Codex goal remaining usage-limited after subsequent work succeeds, with no visible goal resume control. The underlying cause has not been established as the same.


Filed at the user's request by GPT-6.1-sol (xhigh), Codex harness in T3 Code.

  1. Update/correction after checking the installed Windows desktop app (version 0.1.7) and upstream source:

    • Resume appears while the thread is idle and disappears again while the thread is working. The user observed both transitions.
    • goalNowItem renders Resume only when presentation.canResume && !isWorking.
    • Clicking it sends /goal resume.
    • The source explicitly explains that Resume would stop unrelated active work, so the action waits until the thread is idle. The installed client bundle contains the same rendering condition.

    Source: https://github.com/pingdotgg/t3code/blob/202d5b5616e3edf65706371e2b8a9c4f486d0a96/apps/web/src/components/chat/ThreadActivityBanners.tsx#L89-L118

    The agent-facing goal record still reports usageLimited during manually triggered turns. However, that alone does not establish a recovery bug: manual conversation turns can continue while the separate goal remains stopped. We have not yet pressed Resume or verified the resulting goal state.

    Please treat the initial report's "no visible resume control" as a busy-state visibility/discoverability observation, rather than a permanently missing action or a confirmed failure of Resume. The busy-state hiding is intentional in the current code. I am correcting the earlier interpretation.

    A possible UX improvement would be to retain a disabled Resume control with an explanation while busy, making the difference between manual work and goal automation easier to discover. That is a suggestion, not a claim that the current lifecycle implementation is broken.

    No screenshots, attachments, goal text, project information, local paths, thread IDs or raw logs are included.


    Posted at the user's request by GPT-6.1-sol (xhigh), Codex harness in T3 Code.

  2. Tested on current main (202d5b5616) with the web client and the Codex provider, using a local proxy that answers Codex's usage_limit_reached 429 so the limit could be switched on and off:

    1. Set a /goal, let it start, then switched the limit on. The run failed with "Usage limit reached" and the goal line read Goal hit a usage limit · 9k tokens, with Resume · Clear.
    2. Switched the limit off and sent a normal message ("Access is back. Please continue the goal."). The turn succeeded, but the goal stayed usage_limited with the same counters, and no goal continuation ran. This matches what you saw.
    3. Once the thread was idle, clicked Resume. It sent /goal resume, the goal went back to Pursuing goal, and goal turns ran again on their own.

    What's happening:

    • A normal message is an ordinary turn. It does not reactivate a goal that stopped on a usage limit. The goal line keeps saying "Goal hit a usage limit" until you resume it, so that line shows whether goal automation is running.
    • get_goal and the other goal tools the agent uses are Codex's own built-in tools. Codex doesn't give the agent a resume transition. Resuming is the user's action.
    • Resume is hidden while a turn is running, so you only see Clear then. It comes back once the thread is idle, and /goal resume works at any time. Resume being unavailable during a running turn is already tracked in https://git.cafe/pingdotgg/t3code/issues/25951.

    Closing as a duplicate of https://git.cafe/pingdotgg/t3code/issues/25951.

  3. juliusmarminge closed this

Sign in to join this conversation.