Skip to content

fix(agent-manager): parse current Codex session messages - #149

Merged
codeaholicguy merged 3 commits into
mainfrom
codex-session-detail-parser
Aug 13, 2026
Merged

fix(agent-manager): parse current Codex session messages#149
codeaholicguy merged 3 commits into
mainfrom
codex-session-detail-parser

Conversation

@codeaholicguy

@codeaholicguy codeaholicguy commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Parse current Codex response_item message records in agent detail conversations.
  • Parse completed AgentMessage event records from current Codex JSONL logs as fallback.
  • Deduplicate mirrored current Codex response_item / event_msg records in agent detail, preferring canonical response_item messages.
  • Use normalized current-schema parsing for agent list summaries and status classification.
  • Keep legacy payload.message parsing intact.

Validation

  • npm run test -- CodexAdapter.test.ts from packages/agent-manager: 66 passed.
  • Regression checks: new parser tests failed with corresponding production parser changes temporarily reverted, then passed after restore.
  • npm run typecheck from packages/agent-manager: passed.
  • npm run lint from packages/agent-manager: passed.
  • npm run test from packages/agent-manager with process access: 502 passed.
  • Commit hooks ran repo-wide nx run-many -t lint and nx run-many -t test: passed.

Risks

  • Low. Event-message fallback remains for logs without response_item; mirrored records with a matching turn/role/content are skipped to avoid duplicate detail output.

@codeaholicguy
codeaholicguy merged commit 9593d83 into main Aug 13, 2026
7 checks passed
@codeaholicguy
codeaholicguy deleted the codex-session-detail-parser branch August 13, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant