Skip to content

Screenshot helper can target the wrong iTerm Codex session #13

Description

@iocfinc

Summary

The existing screenshot helper can capture the wrong iTerm/Codex session when multiple iTerm windows or sessions are present.

Reproduction

  1. Start an active Codex session in iTerm.
  2. Open a second iTerm window intended only for PR proof capture.
  3. Run a proof command from /Users/iraoliverfernando/Desktop/Dioscuri/GengarToolkit, for example:
    • codex exec "Summarize the configured agents in one sentence."
  4. Use the current screenshot helper flow to list iTerm windows and capture the intended session.

Observed

The helper repeatedly captured the currently active Codex thread instead of the dedicated proof session, even after narrowing to a newly created iTerm window and its reported bounds.

Expected

A minimal iTerm-based proof flow should be able to:

  • open one dedicated iTerm proof session
  • identify that exact session reliably
  • capture only that proof session with the existing Python screenshot helper

Notes

This issue should stay narrow. Do not add new screenshot abstractions or multi-app workflows. Fix iTerm session discrimination only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CODEXAssisted by or generated with Codex agents

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions