Credentials. Choosing Load full details exposes bounded tool inputs and outputs to the active conversation, so confirm before sharing them.
Who it is forAn engineer debugging a Codex run that stalled or failed and who needs the exact event where it went wrong.
The problemA long task history mixes messages, tool calls, and compaction events, so the failing step is hard to find by reading the raw log.
The outcomeThe matching event selected in the event ledger, with its duration and execution status visible in the inspector.
What you need first
- Codex installed on macOS, Linux, or Windows
- uv installed (https://docs.astral.sh/uv/getting-started/installation/)
- Local Codex task logs on the same device
Steps
- Run
codex plugin marketplace add icesixgod/codex-trajectory - Run
codex plugin add codex-trajectory@icesixgod - Open Codex Trajectory from the task's right panel.
- Click Load earlier records to browse history, including compressed and paginated logs.
- Use search and event filters to find the record, then select it to inspect it.
Prompt for your agent
Using the icesixgod/codex-trajectory repo, search the history of the Codex task <sessionId> for failed or slow tool calls and list the matching events with their durations and status. Verify that each listed event has a status and that zero and sub-millisecond durations are not reported as failures.
Caveat. Steps are approximate, and reasoning summaries appear only when they were saved in the log.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for icesixgod/codex-trajectory and "Locate failed and slow tool calls in past Codex runs"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer