reason
A Claude Code settings key, read out of the shipped bundle. It was in the build from v2.1.335 and was gone by v2.1.336.
More analytics fields get cleaned before sending, and some events carry extra context.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.221.
In the changelogs
19Releases whose published page names reason.
-
v2.1.335
New Interrupt hook runs your commands when a turn is interrupted
A new
Interrupthook event runs your configured commands once when an interrupt ends the main conversation's turnfound in this entry's text
-
v2.1.318
Self-hosted runner logs now say why a session was started
The self-hosted runner's spawn log lines now include a reason field, and it now reacts to a server idle limit
found in this entry's text
-
v2.1.281
Ultrareview errors report gate_blocker, entitlement_blocker and blocked reason
When a remote review is unavailable or blocked, the result now says what is blocking it
found in this entry's text
-
v2.1.280
MCP listing-prior-rejected telemetry gains a priorSource field
MCP telemetry for rejected cached listings now records where the cached data came from
found in this entry's text
-
v2.1.280
Working-directory registration failures now carry a machine-readable error code
Working-directory registration failures now include a machine-readable error code alongside the human-readable reason
found in this entry's text
-
v2.1.274
Cloud gateway settings failures now carry a structured reason and forbidden flag
Cloud gateway settings-load failures now report a specific reason and a 'forbidden' flag
found in this entry's text
-
v2.1.274
New managed-settings validation failure reasons
Org login and managed-settings failures now carry a machine-readable reason code alongside the existing policyUnreadable flag
found in this entry's text
-
v2.1.273
Task status can now report a worker-restart reason
Background tasks can now report they stopped because the worker process restarted
found in this entry's text
-
v2.1.273
401 responses now suggest /login
Login errors (HTTP 401) now suggest running /login to fix them
found in this entry's text
-
v2.1.271
Runner deregistration now reports reason and drain-hold telemetry
Runner deregistration requests now report a reason and drain-hold timing details
found in this entry's text
-
v2.1.269
OAuth token validation now classifies failure reasons instead of one generic error
OAuth token validation now reports a specific failure reason instead of one generic error
found in this entry's text
-
v2.1.269
Agent/task description and reason fields are now sanitized and length-capped
Agent and task description/reason fields are now cleaned up and capped at 1024 characters, and tool-use IDs must match a strict pattern
found in this entry's text
-
v2.1.268
GitHub connector access-check reworked with explicit not-connected reason
GitHub connection check now distinguishes 'not connected' from other setup problems, with its own message
found in this entry's text
-
v2.1.267
Stats dialog now requires an "allowed" permission check
The stats dialog now checks a permission flag before loading usage stats
found in this entry's text
-
v2.1.259
New "teleport relay" path for streaming completions
A teleport relay path can route streaming requests through a remote session's ingress endpoint, with fallbacks to the normal path.
found in this entry's text
-
v2.1.238
Malformed SDK input frames are repaired or dropped instead of erroring, on remote transports
Odd or damaged input frames on remote connections are now fixed up or quietly dropped instead of erroring out.
found in this entry's text
-
v2.1.234
SessionEnd hooks lose the
bypass_permissions_disabledreasonSessionEnd hooks no longer see a bypass_permissions_disabled reason, since nothing can end your session that way.
found in this entry's text
-
v2.1.202
/loopExplicit Stop viaScheduleWakeup({stop: true})found in this entry's text
-
v2.1.202
PDF Empty Page Tree Detection
found in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
2Build by build
2One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.