Skip to content

Codex Desktop repeatedly injects duplicate goal continuations without user input #44160

Open

Description

@liorgo

What version of the Codex App are you using (From “About Codex” dialog)?

26.901.51231

What subscription do you have?

ChatGPT account (subscription tier not recorded)

What platform is your computer?

Darwin 25.6.0 arm64 arm

What issue are you seeing?

Summary

Codex Desktop repeatedly injects the same internal goal-continuation message with no intervening user input. The message begins <codex_internal_context source="goal"> and causes a previously blocked or completed goal to become active again. It produces an automation loop instead of allowing the task to stop or wait for actual user input.

The issue has been repeated within one thread: after the assistant explicitly ignores the injected message and ends the turn, the same message is immediately injected again. The user did not send a new message between injections.

Impact

This makes long-running local work hard to control. The repeated continuation can consume turns, override an intentional stop/block state, and creates pressure to respond to harness-generated content as though it were new user input.

Observed environment

  • Codex Desktop: 26.901.51231
  • Platform: Darwin 25.6.0 arm64 arm
  • Model during the occurrence: gpt-6-astra
  • Local config: Browser and Chrome bundled plugins were enabled.

Relevant local evidence

Both bundled plugins register a Stop hook that calls node_repl.turn_ended:

  • browser@openai-bundled
  • chrome@openai-bundled

The repeated goal injection may be in the goal/harness layer rather than the plugins themselves, but it occurs after this Stop-hook path. Disabling the plugins is a practical workaround being tested; it should not be required to avoid a continuation loop.

No project files, credentials, user content, or tokens are included in this report.

What steps can reproduce the bug?

  1. Start a Codex Desktop task with a persistent goal enabled.
  2. Allow a turn to finish, block the goal, or otherwise reach a state where the task should wait for new user input.
  3. Observe an injected message beginning <codex_internal_context source="goal"> without a user message.
  4. End the response without changing the goal.
  5. Observe the same continuation message injected again, repeatedly, with no intervening user interaction.

Expected: the goal mechanism may preserve task state, but it must not emit duplicate continuation messages or reactivate a task without user input or a verified active job. A blocked goal must remain blocked.

Actual: identical continuation messages recur and instruct the model to continue work, including after attempts to stop or block the goal.

What is the expected behavior?

A persistent goal should remain inactive, completed, or blocked until an actual user interaction or an explicitly verified active operation requires attention. Internal continuation content must not be injected repeatedly without user input.

Additional information

This report deliberately contains no project contents, identifiers, credentials, or raw local logs. I can provide a redacted transcript or diagnostic IDs privately if maintainers request them.

Activity

  1. added
    appIssues related to the Codex desktop app
    on Sep 9, 2026
  2. added
    bugSomething isn't working
    agentIssues related to the core agent loop
    hooksIssues related to event hooks
    on Sep 9, 2026
  3. github-actions commented on Sep 9, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

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

    agentIssues related to the core agent loopappIssues related to the Codex desktop appbugSomething isn't workinghooksIssues related to event hooks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions