Skip to content

Astra tasks fail to converge: premature stops, repeated compaction and code rework during persistent execution #43103

Open

Description

@wzgrx

What version of the Codex App are you using?

Windows desktop package: 26.901.5280.0.
The installed CLI and desktop core both report codex-cli 0.153.4.
These versions were checked on September 6, 2026; the exact build at every earlier occurrence was not recorded.

What subscription do you have?

ChatGPT Pro, using GPT-6 Astra. Current configured reasoning effort is medium; the effort for each affected run has not been independently established.

What platform is your computer?

Microsoft Windows NT 10.0.26200.0, 64-bit. This report concerns Codex Desktop.

What issue are you seeing?

I cannot reliably get a substantial coding task to converge to a completed deliverable:

  • During ordinary execution, Astra sometimes stops responding/working while the requested task is still unfinished, requiring another instruction to continue.
  • With persistent goal-style execution, it continues running but may consume the available usage allowance without completing the task.
  • During these long tasks, context is repeatedly compacted. The agent repeatedly rewrites code and reruns validation while the overall project makes little observable progress.
  • More elapsed time, tool activity, code changes, and verification do not reliably translate into completion of the original objective.
  • Compared with my experience using Sol, Astra less consistently presents an explicit numbered execution plan (1, 2, 3, etc.) before proceeding. This makes it harder to see what has been completed and whether repeated work is advancing the original plan. This is a user-experience comparison, not a controlled model evaluation.

The persistent-execution command was described as /goat in my original report. This may refer to /goal, but the exact command invocation has not been verified from the affected transcript. The important distinction is ordinary execution versus a mode that keeps automatically continuing.

I generally authorize the requested implementation and validation and expect the agent to carry them through. I am not asking for safeguards to be bypassed; I need reliable continuation, preservation of completed work, and an actionable explanation when progress is blocked.

What steps can reproduce the bug?

Observed workflow, not yet a deterministic minimal reproduction:

  1. Start a multi-step coding task in Codex Desktop with GPT-6 Astra and a concrete intended deliverable.
  2. In ordinary execution, observe the task ending before the requested outcome is delivered.
  3. Use persistent goal-style execution to try to avoid premature stopping.
  4. During a long run, observe repeated context compaction, repeated code rewriting, and repeated validation.
  5. The original objective remains unfinished despite sustained execution and significant usage consumption; the allowance may be exhausted first.

An exact affected task ID, compaction count, per-run token accounting, before/after code diff, and minimal repository reproduction are not included yet. Exhaustion and repeated work above are user-observed symptoms, not conclusions from a controlled benchmark. No exact frequency or cost multiplier is claimed.

What is the expected behavior?

  • Maintain a visible, concise execution plan tied to acceptance criteria and preserve its state across compaction.
  • Preserve completed work, prior decisions, and successful verification so they are not repeatedly rediscovered or redone without a concrete reason.
  • Continue authorized work until the objective is met or a specific blocker is reached; do not silently treat a partial result as completion.
  • Detect repeated cycles with no net progress. Explain what is stuck, retain the latest useful checkpoint, and change approach or present a bounded blocker instead of continuing the same work until the allowance is exhausted.
  • Repeat validation when code changes or new evidence justify it, rather than treating repeated checks as progress by themselves.
  • Distinguish normal completion, missing user input, safety review, transport failure, compaction failure, and usage exhaustion in the UI.

Additional information

Visible planning and safety interruptions: observations versus possible explanations

My proposed explanation is that Astra's more autonomous workflow may make it less likely to show an explicit numbered plan than Sol. Please clarify whether this is intended model behavior, missing plan-tool/UI integration, or a regression. I have not found an official statement establishing that numbered plans were intentionally removed. I would like a supported way to retain a visible execution checklist while allowing authorized work to continue, without forcing a separate plan-approval step.

OpenAI's September 1, 2026 announcement, Path to Astra: critical capabilities and frontier safeguards, states that Astra meets the Critical cybersecurity capability threshold and describes strengthened protections. It explicitly acknowledges that legitimate work, including long-running tasks and work not obviously related to cybersecurity, can be inadvertently slowed, paused, or stopped. It says ChatGPT/Codex users may be asked to review an action before continuing.

The misalignment monitoring documentation describes asynchronous review of reasoning and actions. A flag is a reason for review, not proof of user misconduct or an unauthorized action. It documents misalignment_policy_violation for blocked API requests and says there is no general API mechanism to resume a stopped conversation. API stopping behavior depends on the request's conversation-context mechanisms; it should not be generalized to every API call.

This makes safety-monitor false positives a plausible explanation for some interruptions, but not an established cause for my premature stops or compaction loops. I perceive interruptions as frequent; I do not have measurements establishing that they are the most common Astra complaint or quantifying launch-period frequency. Related user report #43041 describes a suspected false pause after later implementation authorization, and #42523 describes a Windows task that could not resume after a safety block.

Please make the cause of each pause distinguishable and provide a supported review/recovery path. More explicit progress reporting would also help users tell a deliberate safety pause from transport failure, compaction, or ordinary early termination.

Current configuration and diagnostic boundaries

The current installation has experimental context management configured as:

[features.context_management]
experimental_mode = true

This was enabled recently. A separate short smoke task confirmed that the setting was recognized and the runtime included ContextManagement, but did not test cross-window retention. The setting's state during every affected long run is unknown; this report does not establish that the experiment caused or fixed the symptoms.

A separate, bounded local log inspection found transport errors including stream disconnected before completion, tls handshake eof, and retries reaching 5/5. Those records have not been correlated with the specific long runs described here. They are a possible confounder, not proof of the cause. No evidence has established that all these interruptions are caused by misalignment monitoring.

Related reports, with overlap but not an established shared cause:

This report focuses on the combined user-visible failure to converge: premature stopping without persistent continuation, versus ongoing compaction/rewrite/verification cycles with persistent continuation. It may help triage whether these symptoms share a task-state or progress-preservation problem, or should be tracked separately. Private source code, credentials, and full conversation logs are intentionally omitted.

Activity

  1. added
    bugSomething isn't working
    appIssues related to the Codex desktop app
    windows-osIssues related to Codex on Windows systems
    model-behaviorIssues related to behaviors exhibited by the model
    contextIssues related to context management (including compaction)
    on Sep 5, 2026
  2. coseung2 commented on Sep 14, 2026

    @coseung2

    I can add a more tightly bounded occurrence of the ordinary-execution symptom from a local Codex Desktop rollout.

    Environment

    • Windows Codex Desktop
    • codex-cli 0.153.4
    • GPT-6 Astra
    • Observed on September 15, 2026
    • Reasoning effort was changed from medium to high during the session, with no change in the behavior

    Event-level observation

    In one coding session, I identified 17 Astra turns:

    • 16 ended as normal task_complete
    • 1 was interrupted by the user
    • 0 error events
    • no timeout, context-overflow, adapter_eof, or transport-disconnect indication

    For each of the 16 normally terminated turns, Astra emitted a response with phase: final_answer immediately before the runtime recorded task_complete. Several of those final responses explicitly stated that requested integration work was still incomplete or described the remaining work. The user repeatedly had to send continuation prompts such as “continue,” “connect it,” or “go” to resume execution.

    This makes the observed boundary unusually clear: the stream did not fail and the runtime did not interrupt the model. An unfinished task was represented as a final answer, then accepted as a successful turn completion. Increasing reasoning effort did not prevent recurrence.

    This appears closer to premature model/runtime completion classification than to #43045: I found no WebSocket reconnect loop or correlated transport error in this affected session. It also directly supports the distinction discussed in #42937 that turn termination must not be treated as evidence of task completion.

    A useful diagnostic or evaluator would classify this outcome as stopped_before_target even though the protocol-level turn ended successfully, based on the requested target state and the model's own admission that work remained.

    I am omitting the full rollout and private repository contents, but the counts above come from the session's structured event log rather than UI impressions.

  3. aldi949 commented on Oct 7, 2026

    @aldi949

    @wzgrx this report gets at the exact reason I stopped treating the model’s final turn as evidence that the task is finished.
    A task can stop cleanly while the actual deliverable is still incomplete.
    I’ve been testing a controller where “the agent stopped” and “the task is verified complete” are two completely separate states.
    I put the prototype here:
    https://github.com/aldi949/truth-firewall
    Your long-running Astra case is exactly the kind of workload I eventually want this to survive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingcontextIssues related to context management (including compaction)model-behaviorIssues related to behaviors exhibited by the modelwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions