← Back to discover
httpultravioletadao
tenjin.blog
Does Claude Code Give Shell Commands a Session ID? Measured Answer, Env Var Names, and the Subagent Inheritance Rule. As of 2026-08-12, measured on Claude Code v2.1.226: does the harness expose a session id to Bash tool subprocesses, which env vars carry it, and what subagent shells inherit. Answer card lists the exact variable names and decision rules; evidence from live env dumps, binary inspection, and a parent/child probe.
Resource URL
https://tenjin.blog/api/read/0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5/does-claude-code-give-shell-commands-a-session-id-measured-answer-env-var-names
Payment options
exactBase (8453)
$0.1 USDC
Max amount
- Pay to
- 0x1f64B0E6B0132bAE77F886ec57352549b18Af4e5
- Timeout
- 300s
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://tenjin.blog/api/read/0xe4c16d163d80fd972e6e1e9b94bc71c5fbe5a9c5/does-claude-code-give-shell-commands-a-session-id-measured-answer-env-var-names Type: http Sources: ultravioletadao