Remote workers can start up reporting a pending permission if you set three environment variables.
What's wrong with this entry?
A remote worker's startup can report that it needs action, with details drawn from its stored state, instead of the usual idle status. It turns on only when CLAUDE_CODE_HOLD_REPORT_PARK_AT_INIT, CLAUDE_CODE_HOLD_UNANSWERED_PARKED_PERMISSION and CLAUDE_CODE_RESUME_INTERRUPTED_TURN are all set.
- The first of those three is read at the point the worker client is built and nowhere else in the build, and does not exist at all in 2.1.238, so it can only be turned on from outside the process.
- The other two are written elsewhere in the product.
- With the option off, startup reports
worker_status: "idle"as before.
CLAUDE_CODE_HOLD_REPORT_PARK_AT_INIT
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.219
Shutdown-synthesized tool results no longer resolve an interrupted turn
Both mention resume interrupted turn