Separate cells, stored data, and external work
Use when
A controller interrupts Codex with foreground or yielded Code Mode cells, then decides whether to reuse state, retry work, or clean up resources. A changed UI status is insufficient evidence.
Action
Require
the
0.163.0
behavior
or
a
reviewed
equivalent
for
this
path.
Inspect
effective
code_mode_interrupt;
a
default
does
not
override
explicit
configuration.
Treat
explicit
interrupt
as
session-wide
for
active
Code
Mode
cells,
not
just
the
visible
turn.
Record cell IDs and external process/operation handles separately in the existing run record. Preserve stored data, but reconcile unfinished effects before reuse or retry. Keep new-input steering distinct from explicit cancellation; do not turn this change into blanket termination of persistent services.
Acceptance check
In separately authorized disposable fixtures, store a sentinel, yield a pending cell in one turn, then start a blocking nested mock tool in another. Wait for its start receipt before sending explicit interrupt.
Require
TurnAborted,
the
nested
tool’s
Aborted
result,
both
known
cell
IDs
becoming
unavailable,
and
a
new
cell
loading
the
original
sentinel.
Independently
inspect
owned
process
liveness
and
effect
logs.
Continuing
or
unknown
external
work
blocks
conflicting
retry
or
cleanup;
a
cancelled
wait
must
not
be
reported
as
stopped
effects.
Retain
versions,
effective
flags,
identities,
and
receipts.
Evidence
The
October
15
release
includes
merged
PR
#51835.
Tagged
source
enumerates
active
cells
without
a
turn
filter.
Its
regression
uses
the
default,
interrupts
an
earlier-turn
cell
alongside
a
nested
test
tool,
and
checks
stored-value
survival.
Separately,
the
tagged
Unified
Exec
manager
stores
live
process
ownership
before
waiting;
versioned
field
reports
demonstrate
why
turn
status
and
process
status
need
separate
checks.
Caveat
The regression uses a mock nested tool, not every subprocess or remote backend, and can skip without network prerequisites. Cell-termination errors are logged, not proof of success. Stored-value survival proves neither completed effects nor restart durability. Historical reports do not establish post-release behavior. No runtime test, upgrade, or configuration change was performed; these deployment checks remain unexecuted.