Skip to content

Fix Codex todo and pull request collection - #4

Merged
milanshen merged 1 commit into
mainfrom
milan/codex-parser-fixes
Aug 3, 2026
Merged

Fix Codex todo and pull request collection#4
milanshen merged 1 commit into
mainfrom
milan/codex-parser-fixes

Conversation

@milanshen

@milanshen milanshen commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Context

Codex tool calls can wrap plans and shell commands in JavaScript-style exec payloads. The collector previously omitted valid todos and pull request creation commands from these calls.

Changes

  • Collect nested update_plan calls from Codex tool-call inputs.
  • Accept both quoted JSON "cmd" and unquoted JavaScript cmd keys when collecting commands and pull requests.

Test

  • go test ./... — passed

Before:
no Todo's and missing commands and PRs
Screenshot 2026-08-02 at 4 29 22 PM
Screenshot 2026-08-02 at 4 29 09 PM

After:
Todos displayed, many more commands, and PR count shows
Screenshot 2026-08-02 at 4 26 35 PM
Screenshot 2026-08-02 at 4 26 25 PM

@milanshen milanshen added the bug Something isn't working label Aug 2, 2026
@milanshen
milanshen marked this pull request as ready for review August 2, 2026 23:30
@milanshen
milanshen force-pushed the milan/codex-parser-fixes branch from 66ef4ad to 1ad6aa3 Compare August 3, 2026 18:57
@milanshen
milanshen merged commit d337ee7 into main Aug 3, 2026
@milanshen
milanshen deleted the milan/codex-parser-fixes branch August 13, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant