Skip to content

fix Codex status for assistant questions#276

Merged
umputun merged 2 commits into
masterfrom
fix/codex-question-status
Jul 22, 2026
Merged

fix Codex status for assistant questions#276
umputun merged 2 commits into
masterfrom
fix/codex-question-status

Conversation

@umputun

@umputun umputun commented Jul 22, 2026

Copy link
Copy Markdown
Owner

detect ordinary Codex questions from the Stop hook's last_assistant_message and keep the session blocked when the trimmed message ends in ?.

the existing screen watcher still handles approval and structured-question dialogs. Other Stop messages remain completed --auto-reset.

updated the README, control API guidance, and site docs to match.

tested with:

  • swift test from agtermCore (1,730 tests)
  • make lint
  • make build
  • bash -n agterm/Resources/agent-status/agterm-codex-status.sh
  • git diff --check

umputun added 2 commits July 22, 2026 14:49
read the final assistant message from Stop hook payloads so ordinary questions wait for user input. Keep the existing screen watcher for approval and structured-question dialogs.
- [minor] [README.md:461] synchronize Stop question detection across documentation surfaces
Copilot AI review requested due to automatic review settings July 22, 2026 20:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@umputun
umputun merged commit 7321792 into master Jul 22, 2026
7 checks passed
@umputun
umputun deleted the fix/codex-question-status branch July 22, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants