Set an env var so resumed print-mode sessions drop unanswered permission requests instead of cancelling and re-asking.
What's wrong with this entry?
Set CLAUDE_CODE_RETIRE_UNANSWERED_PARKED_PERMISSION and a resumed print-mode session that finds no saved answer to a permission request it was waiting on will drop the request and move on, instead of cancelling and asking again.
- Applies only in print mode, and only when the resumed transcript has a permission request parked with no recorded response.
- Without the variable, behaviour is unchanged: the request is cancelled and the interrupted turn is re-run so the prompt appears again.
- With it set, the interrupted turn is skipped entirely and telemetry records the outcome as "retired_unanswered".
CLAUDE_CODE_RETIRE_UNANSWERED_PARKED_PERMISSION=1 claude -p --resume <session-id> "continue"CLAUDE_CODE_RETIRE_UNANSWERED_PARKED_PERMISSION
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.235
Unanswered permission prompts can be held open across a resume
Both mention retire unanswered parked
-
v2.1.238
Resumed sessions can adopt a permission prompt left waiting
Both mention retire unanswered parked
-
v2.1.239
New environment variable for what happens to an unanswered parked permission
Both mention retire parked