Skip to content

Codex work log drops most JSON item types (file_change, reasoning, web_search, mcp_tool_call, todo_list) #171

Closed

Description

@currentbits

Problem

codex exec --json emits typed items: agent_message, reasoning, command_execution, file_change, mcp_tool_call, web_search, todo_list (codex exec docs). Solenta's codex adapter only extracts agent messages, command executions, usage and session id (electron/codex.js:189-335, consumers at electron/runner.js:2354-2467). file_change, reasoning, web_search, mcp_tool_call and todo_list are parsed and discarded.

Impact

File edits, the primary thing a coding agent does, never appear in a codex thread's work log, and todo_list cannot feed the Planboard even though Solenta already mirrors claude's TodoWrite into plan steps (electron/runner.js:1051-1058, 1794-1798). Codex threads look idle compared to claude threads doing the same work.

Fix direction

Map the dropped item types onto the existing work-log step shapes; route todo_list into planStepsFrom (same integration point the non-claude planboard gap needs).

Activity

  1. added
    enhancement
    plan:todo
    on Aug 16, 2026
  2. currentbits commented on Aug 28, 2026

    @currentbits
    OwnerAuthor

    Live-activity follow-on is #752 (Codex + Kimi thinking card / running-tool strip, no duplicate cards). That ingest also maps the dropped item types onto transcript tool cards and routes todo_list through savePlanSteps.

  3. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Aug 28, 2026
  4. currentbits commented on Sep 1, 2026

    @currentbits
    OwnerAuthor

    The ingest #752 already landed for this issue. This thread added a runner contract so the remaining types cannot silently regress.

    Already on the branch (from #752)

    • extractLiveItem maps reasoning, file_change, mcp_tool_call, web_search, todo_list
    • startCodexRun upserts tool/thinking cards by item id and routes todo_list through savePlanSteps → planStepsFrom

    Verified here (electron/test/codex.test.js, 14/14)

    • Official exec --json emits file_change and web_search as item.completed only; both become transcript cards (Edit, WebSearch)
    • mcp_tool_call becomes github/get_issue with args/result
    • todo_list writes thread.planSteps before the turn settles
    • item.completed of the same ids does not duplicate cards

    Official TodoItem is { text, completed } only, so incomplete steps stay todo (no doing) until completed flips them.

    Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions