Skip to content

fix(brain): sol has no live bus listener — route to kasra like dandan - #222

Merged
servathadi merged 1 commit into
mainfrom
fix/sol-openclaw-safe-reroute
Aug 15, 2026
Merged

servathadi merged 1 commit into
mainfrom
fix/sol-openclaw-safe-reroute

Conversation

@servathadi

Copy link
Copy Markdown
Collaborator

Summary

  • sol is registered on the SOS bus but has no live session (same dead-agent class as dandan, fixed 2026-04-28 in 59768ff)
  • Unlike dandan, sol was still in OPENCLAW_AGENTS → an explicit sol-assigned task hits route_to_remote_agent(), a fire-and-forget Redis publish with no dead-peer detection. Task stalls silently instead of failing loud.
  • Mirrors the existing dandan safe-reroute: both now escalate to kasra via tmux instead of dispatching to a bus peer nobody's listening on.

Context

Surfaced while running down a brain skip-loop (repeated duplicate "synthesize dnu-scope pause findings" task) — that loop turned out to be an unrelated decide-time dedup issue, not this. This is a real but separate gap found along the way. Currently low blast radius since sol's only project (trop) is itself in PAUSED_PROJECTS, but same silent-stall shape as the bug this class was already fixed for once.

Test plan

  • python3 -m py_compile sovereign/loop.py
  • No existing test coverage for loop.py routing logic to extend — flagging as a gap, not adding new scaffolding out of scope for this fix
  • Gate review before merge (parity fix but touches brain dispatch routing)

🤖 Generated with Claude Code

sol is registered on the SOS bus (peers list) but has no live session —
same dead-agent class as dandan (fixed 2026-04-28, 59768ff). Unlike
dandan, sol was still in OPENCLAW_AGENTS, so an explicit sol-assigned
task would hit route_to_remote_agent(), a fire-and-forget Redis publish
with no dead-peer detection — the task would stall silently instead of
failing loud.

Mirrors the existing dandan reroute: NO_LIVE_EXECUTOR agents escalate to
kasra via tmux instead of dispatching to a bus peer nobody's listening
on. Currently low blast radius (sol's only project, trop, is itself in
PAUSED_PROJECTS) but same silent-stall shape as the bug this class was
already fixed for once.

Found while running down why brain kept skip-looping a dnu-scope-pause
synthesis task — turned out to be a decide-time dedup issue, unrelated
to this. This is a real but separate gap surfaced along the way.
@cursor

cursor Bot commented Aug 15, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant