Native Windows Codex: enabled Stop hook does not invoke wrapper after a valid proposed_plan
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
The report gives no source files or tests, and the cause is not established. Start by identifying how Plannotator configures and handles Codex Stop hooks on native Windows, then check whether the reported wrapper invocation can be reproduced with the supplied configuration shape. Done means establishing whether the failure is in Plannotator or Codex and documenting a supported diagnostic path or actionable reproduction.
索引モデルが issue の本文から書いたものです。
説明
Summary
Automatic plan review does not launch in native Windows Codex Desktop although manual Plannotator annotation and Inbox feedback work. A controlled no-change turn returned a literal <proposed_plan>, but the configured Stop wrapper's invocation log did not change.
This may be upstream Codex dispatch rather than a Plannotator defect. Root cause is not established; reporting for integration guidance.
Environment
- Native Windows (not WSL)
- Plannotator 0.28.67
- Desktop package OpenAI.Codex 26.1111.2228.0 (x64)
- Bundled Codex features list reports: hooks stable true
- Project-local .codex/hooks.json in a trusted project
- Settings → Hooks shows one enabled Stop hook, the expected absolute wrapper command, and no pending trust prompt
- Desktop restarted after installation
Verified test, November 18, 2026
- With the native project session idle, submit a diagnostic through the desktop UI requesting no tools, changes, or manual launch.
- Request a harmless plan inside literal <proposed_plan> tags.
- The session returns correctly tagged plan text and completes normally.
- A timestamp log written at the start of the configured wrapper remains unchanged, containing only earlier manual-test entries.
Expected: Stop invokes the wrapper and opens plan review.
Actual: no new wrapper invocation is recorded and no automatic review appears.
Desktop logs show successful turn/start and hooks/list responses, but no hook-execution/failure message identifying the cause.
Configuration shape (paths anonymized)
The Stop command and commandWindows both use:
cmd.exe /d /c ""C:\Project\.codex\plannotator-stop.cmd""
The handler is type command, timeout 345600 seconds. The wrapper sets a local data directory, disables sharing/AI/update checks, clears PLANNOTATOR_BROWSER (not "none"), appends an invocation timestamp, invokes an absolute quoted plannotator.exe path without arguments, logs the exit status and returns it. Paths with spaces are quoted.
Working tests and diagnostic limits
- Manual annotate --gate --json opened a local review and returned submitted annotations.
- A separate Inbox test delivered a reply into the original Codex session and resumed it.
- Neither proves automatic Stop dispatch works.
- An unchanged wrapper log is not evidence of an openBrowser failure.
- No security protections were relaxed during diagnosis.
Related
#1241 is closed and clarified experimental native Windows support/manual configuration. This adds a runtime failure after that setup, not a request for automatic installer configuration. #724 concerns Claude Code with a running server and failed browser launch, unlike the missing wrapper invocation here.
Is there a supported way to diagnose why Codex lists an enabled/trusted project hook but does not invoke it? If this belongs upstream, guidance on the appropriate Codex report/reproduction would help.
- 主要言語
- TypeScript
- スター
- 8.7k
- フォーク
- 649
- 平均マージ
- 16時間 1分
- マージ済み PR(30日)
- 756
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
backnotprop/plannotator のほかの issue
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
backnotprop/plannotator#4132 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
backnotprop/plannotator#4051 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
backnotprop/plannotator#4000 ·
メンテナーはふだん 1 日以内に返信
-
PR description is hidden when a PR review opens on a phone対応中かも @flipcyde101 が 8 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
backnotprop/plannotator#3667 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
backnotprop/plannotator#2643 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
backnotprop/plannotator の issue をすべて見る
似ている issue
-
enhancement status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
dongdongbh/Mindwtr#1625 ·
メンテナーはふだん 1 日以内に返信
-
area/ui-schema good first issue type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
duckdb/duckdb-wasm#2335 ·
メンテナーはふだん 1 日以内に返信