Native Windows Codex: enabled Stop hook does not invoke wrapper after a valid proposed_plan
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 8.7k
- Fork
- 649
- Merge medio
- 16h 1m
- PR unite (30g)
- 756
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
backnotprop/plannotator#4132 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
backnotprop/plannotator#4051 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
backnotprop/plannotator#4000 ·
I maintainer di solito rispondono entro 1 giorno
-
PR description is hidden when a PR review opens on a phoneForse già presa @flipcyde101 l’ha presa 8 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
backnotprop/plannotator#3667 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
backnotprop/plannotator#2643 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di backnotprop/plannotator
Issue simili
-
enhancement status:needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
dongdongbh/Mindwtr#1625 ·
I maintainer di solito rispondono entro 1 giorno
-
area/ui-schema good first issue type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
duckdb/duckdb-wasm#2335 ·
I maintainer di solito rispondono entro 1 giorno