Description
Using sessions_spawn tool fails with error:
gateway closed (1008): pairing required
Steps to Reproduce
- Call sessions_spawn tool from main agent
- Sub-agent attempts to connect back to gateway
- Fails with "pairing required" error
Expected Behavior
Sub-agent should spawn without requiring manual pairing
Logs
scopesFrom: operator.admin,operator.approvals,operator.pairing,operator.read
scopesTo: operator.write
reason: scope-upgrade
gateway connect failed: Error: pairing required
Environment
- OpenClaw version: 2026.2.21-2
- Platform: macOS
- Channel: Telegram
- Config: agents.defaults.subagents.maxSpawnDepth: 2
Description
Using
sessions_spawntool fails with error:Steps to Reproduce
Expected Behavior
Sub-agent should spawn without requiring manual pairing
Logs
Environment