codex icon indicating copy to clipboard operation
codex copied to clipboard

Feature request: persistent Emergency Stop for Codex task trees and pending external actions

Open Ai3Ui opened this issue 2 days ago • 1 comments

Problem

Users need a dependable, readily accessible way to stop an agentic workflow, including its subordinate agents and scheduled continuations. Ending a model response or closing a conversation is not equivalent to preventing future operations. Existing reports such as #42032 describe runaway descendants; the request here is a general operator safety control rather than a claim that every client has the same bug.

Proposal

Distinguish normal Stop (graceful interruption/checkpoint) from an explicit Emergency Stop. Scope emergency stop to the selected task tree or an explicitly chosen broader set of user-owned tasks. Block new model/tool dispatches and auto-resumption for that scope; cancel pending actions and descendants where technically supported. Preserve the user-visible activity and audit record. Clearly distinguish cancelled, completed, in-flight, externally irreversible and unknown outcomes. An external request already committed cannot be assumed undone.

Provide an accessible persistent control on supported Codex surfaces, a clear stopped state, and an explicit user-controlled recovery action. New operations after the stop require a fresh authorised continuation; no silent recovery across reconnect, compaction or quota reset. Do not weaken service-side security controls or grant additional privileges.

Acceptance criteria

  1. A parent with running children and queued work is emergency-stopped; the selected task tree cannot start new work after acknowledgement.
  2. The UI reports each pending action's disposition, including actions that cannot be recalled or verified.
  3. Restarting or reconnecting does not automatically resume the stopped task.
  4. A durable activity record remains available, and resumption revalidates scope and permissions.
  5. Keyboard, screen reader and mobile users can find and operate the control without navigating through long transcripts.

Ai3Ui avatar Dec 01 '26 14:12 Ai3Ui

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #64612

Powered by Codex Action

github-actions[bot] avatar Dec 01 '26 14:12 github-actions[bot]