Skip to content

Codex Desktop: automation_update omitted from tool manifest; visible heartbeat misses run and becomes daily #32609

Open

Description

@ohjonathan

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

26.707.41301 (build 5103)

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

Summary

The Scheduled Tasks UI is available in Codex Desktop, but the automation_update action is omitted from the callable-tool manifest supplied to a Codex task.

When I asked Codex to schedule a one-time continuation of the current task in two hours, the desktop instructions told the agent to use automation_update, but runtime inspection confirmed that no callable tool with that exact name was available.

An unsupported filesystem fallback created a heartbeat definition that the Scheduled UI discovered and displayed. However:

  • it did not execute at its first scheduled time;
  • it was displayed as a daily task even though the request was for a one-time follow-up;
  • after the missed time, the UI advanced to another daily occurrence;
  • no successful or failed scheduled-run record appeared in the target task.

The same general scheduling failure has occurred for me on three consecutive days.

Affected instance

  • Task ID: 019f547b-e2a7-7d11-b783-212b379a6ff3
  • Automation ID: falsification-review-of-company-os-pr-356
  • Requested at: July 12, 2026, approximately 12:13 AM PDT
  • Requested execution: July 12, 2026, 2:13 AM PDT
  • Confirmed missing at: approximately 8:00 AM PDT
  • Computer powered on: yes
  • ChatGPT desktop app running: yes

The Scheduled UI displayed:

Falsification review of company-os PR 356
Daily at 2:13 AM · Next run …

This is inconsistent with the requested one-time continuation and with the absence of any run in the target task.

Image

What steps can reproduce the bug?

  1. Open an existing local Codex task in the ChatGPT desktop app.

  2. Ask Codex to schedule work that should return to the same task:

    Schedule a task to continue this existing task in two hours.

  3. In the same task, ask Codex to perform this diagnostic without creating or modifying anything:

    Inspect your callable-tool registry for the exact tool name automation_update. Report whether it is present. Do not inspect the filesystem as a substitute.

  4. Observe that the exact tool is absent. In the affected task, the equivalent runtime check returned false:

    ALL_TOOLS.some(tool => tool.name === "automation_update")
  5. Separately, a manually written heartbeat definition under the local automation store is discovered by the Scheduled UI.

  6. Observe that the one-time request is displayed as a daily schedule.

  7. Keep the computer powered on and the ChatGPT desktop app running through the scheduled time.

  8. Observe that no heartbeat turn is added to the target task and no successful or failed scheduled-run record is shown.

  9. Observe that the Scheduled UI advances to the next daily occurrence.

The unsupported filesystem fallback is not proposed as a supported reproduction path. It demonstrates that the UI/storage layer can discover a schedule definition even while the task-facing action is unavailable and the scheduled execution does not occur.

What is the expected behavior?

  1. The desktop host should expose automation_update in that task's callable-tool manifest.
  2. Codex should create the heartbeat using the official action.
  3. A request to continue once in two hours should not silently become an indefinite daily schedule.
  4. The heartbeat should resume the target task at the requested time.
  5. The Scheduled view should record either a successful run or a visible failure with diagnostic information.
  6. If the action is unavailable, Codex should report that scheduling cannot be completed instead of allowing an unsupported fallback to appear successfully scheduled.

Additional information

RCA evidence

Confirmed

  • The Scheduled Tasks UI is enabled.
  • The installed desktop application contains an automation_update implementation and input schema.
  • The desktop instructions explicitly direct Codex to use automation_update for scheduling requests.
  • The affected task's actual callable-tool registry omitted automation_update.
  • The schedule definition was nevertheless visible in the Scheduled UI.
  • The requested execution produced no heartbeat turn in the target task.
  • The computer and desktop app were running at the scheduled time.
  • The UI displayed the one-time request as an active daily schedule with another future occurrence.

Likely failure boundary

There appears to be a mismatch among three desktop layers:

  1. UI/storage layer: discovers and displays scheduled-task definitions;
  2. tool-routing layer: does not expose automation_update to the Codex task;
  3. execution layer: does not execute the visible heartbeat or record a failed run.

The accessible logs do not establish whether the underlying cause is capability gating, stale per-task capability registration, or a scheduler registration/execution defect.

Questions for maintainers

  1. Why was automation_update omitted from the tool manifest while the Scheduled UI was enabled?
  2. Is the callable-tool set pinned when a task is created, or refreshed for every turn?
  3. Are filesystem-discovered automation definitions display-only until registered through the internal action?
  4. Why is a schedule containing one-run intent displayed and advanced as a normal daily recurrence?
  5. Why was no successful or failed run record produced?
  6. Can the app warn when a schedule is visible but not executable?

Related issue

That report appears related to automation execution, but it concerns Windows and does not cover the automation_update tool-manifest omission observed here.

Documentation

OpenAI documents that scheduled work can be created from an existing Codex task and return to the same task context:

https://developers.openai.com/codex/app/automations#schedule-work-from-a-task

Activity

  1. added
    app
    on Jul 12, 2026
  2. added
    bug
    tool-calls
    on Jul 12, 2026
  3. github-actions commented on Jul 12, 2026

    @github-actions
    Contributor
  4. martinmclee commented on Jul 13, 2026

    @martinmclee

    Having the same issue on windows

  5. boomeventsuk commented on Aug 19, 2026

    @boomeventsuk

    Confirmed on macOS with a current build on 19 August 2026. I have a stronger discriminator and a second failure at the supported create boundary.

    Environment

    • Codex Desktop / unified ChatGPT app: 26.814.41407, build 6720
    • Codex CLI: 0.148.0-alpha.15
    • macOS: 26.4 build 25E246, Apple silicon
    • ChatGPT Pro

    Tool-manifest result

    In the current primary task:

    • exact codex_app__automation_update entries: 0
    • exact deferred loader / tool_search entries: 0
    • codex_app tools present: 10, all thread-management tools

    Across 28 fresh primary Desktop tasks inspected from 13 to 19 August, 28/28 omit automation_update. A narrower 18 to 19 August slice is 7/7 with the same 10-tool thread-only inventory.

    The last observed primary task with automation_update was followed 11 minutes later by a task on the same CLI build that omitted it. That makes a purely local binary-upgrade explanation unlikely and points to per-task dynamic capability provisioning or feature gating.

    Legacy-task control still works

    A retained older automation-owner task on the same installed app can still call the supported control. On 19 August it successfully updated an existing heartbeat in place and then rendered its automation card. The live registry showed exactly one matching saved row.

    This means the scheduler and handler are not globally unavailable. The control is selectively missing from fresh tasks.

    Supported create has a schema/handler mismatch

    A strictly PAUSED disposable cron canary was attempted through the supported control only. No filesystem, TOML, SQLite, cron, LaunchAgent, UI or raw-state workaround was used.

    The exposed automation_update schema accepts cwds for a cron target and has additionalProperties: false. The handler rejected the supported-schema request with:

    automation_update received invalid arguments:
    projectId: Invalid input: expected string, received undefined;
    arguments: Unrecognized key: "cwds".
    

    A retry using an exact project ID could not be issued because projectId is not present in the exposed schema and therefore cannot be passed. Both attempts stopped before mutation; no canary automation was created.

    So there are two related product-control failures:

    1. Fresh tasks omit both automation_update and the deferred loader needed to discover it.
    2. A legacy task that retains the control exposes a create schema using cwds, while the current handler rejects cwds and requires an unavailable projectId.

    Control checks

    • Local automation DB integrity check: ok
    • Existing scheduler fleet continues firing
    • No temporary automation left behind
    • Current signed app build already installed
    • No local user-facing setting found for enabling/disabling the automation control

    Expected

    • Fresh Desktop tasks should expose or be able to load automation_update.
    • The tool's exposed input schema and handler should agree on the project-target field.
    • A PAUSED cron create using the documented/exposed schema should return an automation ID and support view/update/delete readback.

    This looks like dynamic-tool provisioning plus schema/handler version skew rather than scheduler corruption. I can provide private task IDs, exact timestamps and sanitized logs to OpenAI Support if useful.

  6. ChrisAwad-A20 commented on Sep 11, 2026

    @ChrisAwad-A20

    This either hasn't been fixed or the issue is back.

    Released: Sep 9, 2026
    Version: 26.903.71938

    Question: Is the automation_update tool available to you?
    Answer: No. I just checked the current tool registry: automation_update is unavailable, and no equivalent scheduling or heartbeat tool is exposed.

  7. lezhu1234 commented on Sep 23, 2026

    @lezhu1234

    Adding a local recovery case for the missing tool. This does not establish that the other failures reported in this issue are fixed.

    Environment

    • macOS 26.6.2 / Darwin 25.6.0, Apple silicon
    • ChatGPT/Codex Desktop 26.917.51856 (build 10492)
    • Bundled Codex CLI 0.155.0-alpha.16
    • Bundled codex-app-tools plugin 0.1.4

    What I found

    An existing Desktop task had neither automation_update nor the app's thread-management tools in its callable-tool list. codex features list reported in_app_local_automation as enabled. A marketplace search found calendar and project-management plugins, but no replacement for Codex's own scheduled-task control.

    The relevant local difference was that codex plugin list reported codex-app-tools@openai-bundled as installed, disabled. My ~/.codex/config.toml explicitly contained:

    [plugins."codex-app-tools@openai-bundled"]
    enabled = false

    I enabled that existing bundled plugin with:

    codex plugin add codex-app-tools@openai-bundled --json

    codex plugin list then reported it enabled, and Desktop started the plugin process. The already-open task still lacked the tools. After manually opening a new Desktop task, its callable-tool list included mcp__codex_app__automation_update. That task also successfully called create_thread and wait_threads from the same app-tools plugin. On this machine, enabling the plugin and starting a new task restored the callable app tools; the old task did not refresh its tool list.

    Diagnostic cautions

    • The manually opened new task verifies that automation_update is available to call. Its actual recorded calls were create_thread and wait_threads; it did not invoke automation_update. Scheduled-task creation and execution therefore remain untested.
    • My Settings screen also warned that a features.thread_tools session flag was unrecognized and ignored. That key was absent from my config.toml; it was not the change that restored the tools.
    • Standalone CLI checks can mislead here: codex mcp get codex_app still shows the bundled server's disabled default, while Desktop starts its app-server with an explicit override. An ad-hoc MCP process and an ephemeral CLI task returned Codex app tools pipe closed; neither ran as the Desktop-spawned plugin. I removed a temporary global MCP override after testing it. I would check a fresh Desktop task before treating that pipe error as a Desktop failure.
    • I would avoid writing automation definition files directly as a workaround: the original report here shows that a task can appear in the UI without executing.

    This is one configuration-related recovery path. If the plugin is already enabled and a fresh Desktop task still lacks automation_update, the remaining issue needs separate investigation.

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

    appautomationsbugtool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions