-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
[Bug]: Cross-agent orchestration can be blocked by default session visibility after upgrade #90443
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
After upgrading to
2026.6.1, direct Jarvis -> Billy orchestration attempts were blocked before reaching Billy with:This is confusing because the local config already allowed Jarvis to delegate to Billy through
agents.list[].subagents.allowAgents, and Billy was alive via heartbeat. The failure looked like "Billy is flaky/dead" from the operator side, but the clean direct health-check call was rejected by session visibility policy before it reached Billy.Environment
2026.6.1 (2e08f0f)2026.5.18 (50a2481)127.0.0.1:18789main/Jarvis,billy,farber,scout,maverick,lumberghObserved behavior
Jarvis attempted a direct health-check style call to Billy's main session (
agent:billy:main) and OpenClaw rejected it with:This happened while Billy heartbeat was still alive, so the issue was not that Billy was missing. It was a policy/runtime gate blocking direct cross-agent session access.
A second layer exists in 6.1: the schema says
tools.sessions.visibility=allcontrols cross-session visibility, but cross-agent access also requirestools.agentToAgent.Relevant schema/docs text in the built runtime:
Local recovery patch/config
To restore intentional Jarvis -> Billy/direct specialist access, I backed up config and added explicit scoped policy:
Then:
Validation after restart:
Expected behavior
One of these should happen for multi-agent orchestration configs:
agents.list[].subagents.allowAgentspermits a target agent, direct agent-to-agent/session-send orchestration should either work automatically or produce a clear migration hint that mentions both required knobs:tools.sessions.visibility=allandtools.agentToAgent.enabled=true/tools.agentToAgent.allow.openclaw doctor/config validateshould warn when an agent has cross-agent delegation configured but the session tools policy blocks direct cross-agent send/history/status operations.tools.sessions.visibility=allis required whentools.agentToAgentcan be the next blocker.Actual behavior
The first operator-visible failure only mentioned
tools.sessions.visibility=all. It did not mention that cross-agent sends also needtools.agentToAgent, nor did doctor/config validation flag the mismatch between allowed subagents and blocked session sends.Impact
Operators can misdiagnose this as target-agent failure or model/provider instability. In this case Billy also had separate provider timeout issues, but the direct Jarvis -> Billy health-check failure was OpenClaw-side policy gating, not CrofAI/model behavior.
Suggested fix
subagents.allowAgentsor multi-agent orchestration configs wheretools.sessions.visibilityandtools.agentToAgentwould block direct cross-agent access.tools.agentToAgent.allowlist safely instead of requiring broad manual discovery.