Feature request: persistent Emergency Stop for Codex task trees and pending external actions
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
- A parent with running children and queued work is emergency-stopped; the selected task tree cannot start new work after acknowledgement.
- The UI reports each pending action's disposition, including actions that cannot be recalled or verified.
- Restarting or reconnecting does not automatically resume the stopped task.
- A durable activity record remains available, and resumption revalidates scope and permissions.
- Keyboard, screen reader and mobile users can find and operate the control without navigating through long transcripts.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #64612
Powered by Codex Action