Native Windows Codex: enabled Stop hook does not invoke wrapper after a valid proposed_plan
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 8.7k
- Fork
- 649
- Merge trung bình
- 16 giờ 1 phút
- Pull request đã merge (30 ngày)
- 756
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
backnotprop/plannotator#4132 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
backnotprop/plannotator#4051 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
backnotprop/plannotator#4000 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PR description is hidden when a PR review opens on a phoneCó thể đã có người làm @flipcyde101 đã nhận 8 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
backnotprop/plannotator#3667 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
backnotprop/plannotator#2643 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của backnotprop/plannotator
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
review-followup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
griffinwork40/agent-afk#5387 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CodeManufactoryLLC/Code60#358 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
android:plan ios:plan main:plan packages:learn
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày