Skip to content

Windows version: notify setting ends up inside developer_instructions, causing config.toml to fail to load #53182

Open

Description

@hakunama0

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

26.1007.2314.0(現在のWindowsパッケージ版。不正な設定が書き込まれた当時のバージョンは不明)

What subscription do you have?

非公開 / Not disclosed

What platform is your computer?

Windows

What issue are you seeing?

Codexの設定ファイル(config.toml)で、通知用のnotify設定が、三重のダブルクォートで囲まれたdeveloper_instructionsの複数行文字列内に入っている状態を、保存されていたバックアップで確認しました。

この状態では、通知用のWindowsパスに含まれるバックスラッシュがTOMLのエスケープ文字として解釈され、「Invalid hex」という設定読込みエラーが発生します。また、notify設定がトップレベルの設定ではなく、指示文の一部になります。

現在はnotifyが指示文の文字列の外にあり、設定ファイルを正常に読み込めます。通知用の実行ファイルは存在しますが、実際に通知が届くかはまだ検証していません。

What steps can reproduce the bug?

確実な再現手順はまだありません。不正な設定を書き込んだ処理も未特定です。

確認できたのは、保存されていた設定ファイルのバックアップでnotify行がdeveloper_instructionsの複数行文字列内にあり、TOMLパーサーが「Invalid hex」を返すことです。現在の設定ではnotifyがその文字列の外にあり、正常に読み込めます。

What is the expected behavior?

通知設定を更新する際も、TOMLとして正常に読み込める状態を保ち、notify設定がdeveloper_instructionsの文字列内に入り込まないこと。

通知設定を更新する処理に、こうした配置の崩れが起きる可能性がないか確認をお願いします。

Additional information

現在の同梱CLI:0.162.0-alpha.17.2。発生当時のアプリ・CLIバージョンは不明です。

関連する可能性のあるIssue:#44315(https://github.com/openai/codex/issues/44315)。ただし、そちらはトップレベルのnotifyキーが重複するケースで、今回はnotifyがdeveloper_instructionsの文字列内に入るケースです。同じ原因とは確認できていません。

PCスペック、ユーザー名、実際の保存先、指示文の内容、設定ファイル全文、ログ全文は、この報告には含めていません。

Activity

  1. added
    app
    on Oct 11, 2026
  2. added
    bug
    windows-os
    config
    on Oct 11, 2026
  3. changed the title [-]Windows版:notify設定がdeveloper_instructions内に入り、config.tomlの読込みに失敗する[/-] [+]Windows version: notify setting ends up inside developer_instructions, causing config.toml to fail to load[/+] on Oct 11, 2026
  4. github-actions commented on Oct 11, 2026

    @github-actions
    Contributor

    English translation:

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

    26.1007.2314.0 (the current Windows packaged version. The version in use when the invalid settings were written is unknown.)

    What subscription do you have?

    Not disclosed / Not disclosed

    What platform is your computer?

    Windows

    What issue are you seeing?

    In a saved backup of the Codex configuration file (config.toml), I confirmed that the notify setting for notifications was inside the developer_instructions multiline string enclosed in triple double quotes.

    In this state, backslashes in the Windows path used for notifications are interpreted as TOML escape characters, causing an “Invalid hex” error when loading the configuration. The notify setting also becomes part of the instructions rather than a top-level setting.

    Currently, notify is outside the instruction string, and the configuration file loads successfully. The executable used for notifications exists, but I have not yet verified whether notifications are actually delivered.

    What steps can reproduce the bug?

    There are no reliable reproduction steps yet. The process that wrote the invalid settings has not been identified either.

    What I was able to confirm is that, in a saved backup of the configuration file, the notify line was inside the developer_instructions multiline string, and the TOML parser returned “Invalid hex”. In the current configuration, notify is outside that string, and the file loads successfully.

    What is the expected behavior?

    When notification settings are updated, the configuration should remain valid TOML that can be loaded successfully, and the notify setting should not end up inside the developer_instructions string.

    Please check whether the process that updates notification settings could cause this kind of placement error.

    Additional information

    Currently bundled CLI: 0.162.0-alpha.17.2. The app and CLI versions at the time of the issue are unknown.

    Potentially related issue: #44315 (#44315). However, that issue involves duplicate top-level notify keys, while this issue involves notify ending up inside the developer_instructions string. It has not been confirmed that they share the same cause.

    PC specifications, username, the actual storage location, the contents of the instructions, the full configuration file, and the full logs are not included in this report.

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

    appbugconfigwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions