Group of 2 Under the hood
Claude Code's headless/print mode now tracks whether it should hold dispatch for eval settling and whether a background-wait ceiling was hit
What
- A new
holdsEvalSettles()check was added to the drain/session-loop wait condition, as part of a rewrite that collapsed several separate booleans into one inline check. - In headless/print mode, the background-task dispatch loop now accepts a
holdsEvalSettlescallback; when it returns true, task dispatch (takeHead()) is held rather than proceeding. - A new
bgWaitCeilingExceededfield records whether theCLAUDE_CODE_PRINT_BG_WAIT_CEILING_MSwait ceiling was reached.
Why
This gives headless/print-mode runs finer control over when background task dispatch should pause to let evaluation settle, and visibility into whether the configured wait ceiling was hit.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
The finding does not say what holdsEvalSettles() is meant to represent or when it might return true.