Skip to content

Codex DM mid-session turns should not rediscover campaign state via shell scans #477

Description

@100yenadmin

Summary

The 2026-06-01 current-head built-app Codex-DM short playtest on e79144d stayed playable, but both post-opening turns spent avoidable time discovering live campaign state through shell/file scans before using engine MCP tools.

Evidence

  • Evidence folder: /Volumes/LEXAR/Codex/worldos-built-app-playtest/codex-app-nullfix-20260601T032041/
  • Built app run: codex-app-nullfix-20260601T032041
  • Minted run: play-20260531202048
  • Provider trace summary: 07-provider-trace-summary.json
  • Trace showed command_execution_count: 32, including rg, find, and direct chat.jsonl/player_moves.jsonl reads during mid-session turns.

User Impact

The app accepts the player move immediately, but the DM response latency is inflated by avoidable state discovery. This makes a fresh-player turn feel stalled even though the engine is working.

Acceptance Criteria

  • The wrapper passes the live campaign id into mid-session prompts whenever it can discover one from the run snapshot.
  • Mid-session prompts instruct Codex to use scene_context / engine MCP tools, not shell/rg/find/filesystem scans, for live campaign state.
  • A repeat built-app move proof shows the turn can resolve through engine tools without broad repo/state discovery.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions