Name the session claude runs in AT_CLAUDE_SESSION (ATC-49) #38

Merged
nelson merged 1 commit from ATC-49-session-env into main 2026-11-11 16:34:36 -08:00
Owner

claude gets AT_CLAUDE_SESSION=<id> beside AT_CLAUDE=1: the resumed session's id (which --resume keeps) or the new one's. claude-pane uses it to tell this window's session from a claude -p a tool call starts, which inherits both (agent-tools, AGT-9). Nothing else changes.

Work package: https://openproject.romaine.life/wp/ATC-49

claude gets `AT_CLAUDE_SESSION=<id>` beside `AT_CLAUDE=1`: the resumed session's id (which `--resume` keeps) or the new one's. claude-pane uses it to tell this window's session from a `claude -p` a tool call starts, which inherits both (agent-tools, AGT-9). Nothing else changes. Work package: https://openproject.romaine.life/wp/ATC-49
Name the session claude runs in AT_CLAUDE_SESSION (ATC-49)
All checks were successful
CI / build (pull_request) Successful in 1m11s
CI / pcs (pull_request) Has been skipped
CI / home-sync (pull_request) Successful in 0s
454032afd2
claude-pane counts an unattended run as at-claude's when its hook's session id matches, so a claude -p from one of the session's tool calls, which inherits AT_CLAUDE=1, can't take the window.
nelson merged commit 79dad9353d into main 2026-11-11 16:34:35 -08:00
nelson deleted branch ATC-49-session-env 2026-11-11 16:34:36 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/at-claude!38
No description provided.