Skip to content

Fix Codex subagent filtering and inspector entries - #78

Merged
calvintvu merged 2 commits into
mainfrom
cvu/codex-bugs
Aug 14, 2026
Merged

Fix Codex subagent filtering and inspector entries#78
calvintvu merged 2 commits into
mainfrom
cvu/codex-bugs

Conversation

@calvintvu

@calvintvu calvintvu commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Context

Codex transcripts can include internal permission-review child sessions and newer nested subagent activity events. The collector exposed internal checks as delegated work while omitting some genuine subagents from the session inspector.

Changes

  • Exclude internal permission-review sessions using structured source metadata.
  • Record nested subagent start events so genuine subagents appear consistently in the rail and inspector.
  • Preserve root sessions and genuine thread-spawned subagents.

Test

  • go test internal/vendors/codex/discovery.go internal/vendors/codex/fork.go internal/vendors/codex/metadata.go internal/vendors/codex/parse.go internal/vendors/codex/types.go internal/vendors/codex/parse_test.go -count=1 — passed
  • go build ./... — passed
  • git diff --check — passed

Screenshots

  • Session views — genuine subagent appears in both the rail and inspector
Screenshot 2026-08-14 at 13 43 21
  • Permission review — internal check is absent from both views
    before
Screenshot 2026-08-14 at 13 42 23

after
Screenshot 2026-08-14 at 13 42 07

@calvintvu calvintvu added the bug Something isn't working label Aug 14, 2026
Comment thread collector/internal/vendors/codex/parse.go Outdated
@calvintvu
calvintvu merged commit c5cfcc5 into main Aug 14, 2026
3 checks passed
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.

2 participants