Summary
The existing screenshot helper can capture the wrong iTerm/Codex session when multiple iTerm windows or sessions are present.
Reproduction
- Start an active Codex session in iTerm.
- Open a second iTerm window intended only for PR proof capture.
- Run a proof command from
/Users/iraoliverfernando/Desktop/Dioscuri/GengarToolkit, for example:
codex exec "Summarize the configured agents in one sentence."
- 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.
Summary
The existing screenshot helper can capture the wrong iTerm/Codex session when multiple iTerm windows or sessions are present.
Reproduction
/Users/iraoliverfernando/Desktop/Dioscuri/GengarToolkit, for example:codex exec "Summarize the configured agents in one sentence."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:
Notes
This issue should stay narrow. Do not add new screenshot abstractions or multi-app workflows. Fix iTerm session discrimination only.