You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Child-completed notification steers an active Codex /compact turn → "Command turn.submit failed: cannot steer a compact turn" #6333
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportprovider-codexBuilt-in plugin: provider-codexthreadsTurns, timeline, messaging, forks
A parent thread (Codex) starts a structured compact (bb thread compact or /compact).
While the compact turn is still running, a child thread finishes. bb automatically dispatches the system "child completed" notification to the parent with target: auto and the current expectedTurnId — i.e. as a steer into the active turn.
Codex rejects it: command_failed: cannot steer a compact turn.
bb shows a thread error: thread_command_failed — Command turn.submit failed (cannot steer a compact turn).
The compact itself then completes successfully (context shrinks as expected).
Seen repeatedly on two different Codex parent threads (same sequence each time). It looks like an error to the user although the thread is fine; it is unclear whether the child-completed notification is delivered afterwards or lost. Once, a scheduled automation targeting such a thread was disabled right after this error.
Expected
While a compact turn is active, queue incoming notifications (child completed, messages) and deliver them as an ordinary new turn after the compact finishes — exactly once, preserving sender and order. No error shown for this case.
Workaround we use: run bb thread compact only when the thread is idle and no children are about to finish; send the next message after the first normal turn following the compact.
Root cause: Parent system notices bypass the existing active-compaction guard and submit to the active turn instead of waiting in the durable queue. Automation disablement remains unverified.
Regression:apps/server/test/public/public-thread-compaction.test.ts fails before the fix and passes after it; all 54 relevant tests and typechecking pass. The fix preserves notice metadata and delivers once after compaction.
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportprovider-codexBuilt-in plugin: provider-codexthreadsTurns, timeline, messaging, forks
Activity
bb-slop-cop commentedon Oct 26, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotthreads,provider-codex,confirmed-repro.dbb594540; evidence covers the real server/SQLite dispatch boundary, not a live Codex process.apps/server/test/public/public-thread-compaction.test.tsfails before the fix and passes after it; all 54 relevant tests and typechecking pass. The fix preserves notice metadata and delivers once after compaction.Queue system notices during manual compaction (#6334)