Native Windows Codex: enabled Stop hook does not invoke wrapper after a valid proposed_plan
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 8.7k
- Forks
- 649
- Merge medio
- 16 h 1 min
- PR fusionados (30 d)
- 756
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
backnotprop/plannotator#4132 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
backnotprop/plannotator#4051 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
backnotprop/plannotator#4000 ·
Los mantenedores suelen responder en 1 día
-
PR description is hidden when a PR review opens on a phonePosiblemente ocupada @flipcyde101 la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
backnotprop/plannotator#3667 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
backnotprop/plannotator#2643 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de backnotprop/plannotator
Issues similares
-
enhancement status:needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
dongdongbh/Mindwtr#1625 ·
Los mantenedores suelen responder en 1 día
-
area/ui-schema good first issue type/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
duckdb/duckdb-wasm#2335 ·
Los mantenedores suelen responder en 1 día