fix(issue-50): the monitor labels a row with the server that answered
A `default` scan runs without -L, so the shim answers it from the inherited HERDR_SESSION_NAME; a create's reconcile --once labelled that server's panes `default`, and since create adopts only a row of its own server (1e25cf2f F2), parallel creates in one folder were refused (test_tier4_e2e scenario 4). The skill-blocks data follows create_session.sh's SystemExit line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VCgu9Fa9iT7TbJUSzdq4Ff
This commit is contained in:
1 parent
efd27def47
commit
21f0c12b9e
2 files changed
+9
-1
No files matched your search
@@ -656,6 +656,14 @@ if herdr_confirmed:
|
||||
continue
|
||||
_adapter = get_adapter(agent)
|
||||
cmd_full = _adapter.spawn_spec(agent) if _adapter else agent
|
||||
# The row names the server that answered. A `default` scan runs without
|
||||
# -L, so the shim answers it from the inherited HERDR_SESSION_NAME (a
|
||||
# create's reconcile --once inherits the create's server): that server,
|
||||
# not `default`, is this pane's - create matches its own pane's row by
|
||||
# it (Issue #50, review 1e25cf2f F2).
|
||||
_ambient = os.environ.get('HERDR_SESSION_NAME', '')
|
||||
if srv == 'default' and _ambient and _ambient != 'default':
|
||||
srv = _ambient
|
||||
server_opt = f"-L {srv} " if srv != 'default' else ""
|
||||
# The shim resolves this from the pane's root process. Fall back to now
|
||||
# only if that failed: 'now' can merely over-estimate creation time,
|
||||
|
||||
@@ -617,7 +617,7 @@
|
||||
"other"
|
||||
],
|
||||
"passthrough": {
|
||||
"4": "multi-agent-mux-create/scripts/create_session.sh:546"
|
||||
"4": "multi-agent-mux-create/scripts/create_session.sh:550"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user