Skip to content

fix(brain): route dead executors to live kasra + fix hermes path - #223

Merged
servathadi merged 1 commit into
mainfrom
brain-prime-routing-20260815
Aug 15, 2026
Merged

servathadi merged 1 commit into
mainfrom
brain-prime-routing-20260815

Conversation

@servathadi

Copy link
Copy Markdown
Collaborator

What

Routing reconciliation for sovereign/loop.py — stop routing brain tasks into ghosts.

  • TMUX_AGENTS = {"kasra"} only (verified 2026-08-15: no mumega/codex/spai tmux sessions)
  • NO_LIVE_EXECUTOR = {dandan, sol, mumega, codex, spai} → escalate to kasra (the live executor)
  • architecture/plan/design keyword: athena-tmux (dead) → kasra
  • Hermes default path: ~/.hermes/bin/hermes (missing) → ~/.hermes/hermes-agent/venv/bin/hermes
  • escalate_to_tmux tool description: drop athena (daemon-only, no tmux)
  • Remove dead OPENCLAW_AGENTS set

Why

The brain currently ranks/classifies then hands off to execution targets that don't exist, so work either fails ("tmux:X busy or not available") or stalls silently. Same class as the dandan/sol silent-stall fixed in #222.

Scope / not in this PR

This is Part 1 of the brain→prime absorption (River gate, Hadi directive 2026-08-15). The escalation-sink re-route (brain → river triage instead of kasra) is a separate step pending stream-contract sign-off with Loom.

Test

python3 -m py_compile sovereign/loop.py clean. No automated test covers this routing function (pre-existing gap, noted).

- TMUX_AGENTS = {kasra} only (mumega/codex/spai have no tmux sessions)
- NO_LIVE_EXECUTOR = {dandan, sol, mumega, codex, spai} -> kasra
- architecture/plan/design keyword: athena-tmux (dead) -> kasra
- hermes default path -> hermes-agent venv binary (was missing ~/.hermes/bin/hermes)
- escalate_to_tmux tool description: drop athena (daemon-only)
- remove dead OPENCLAW_AGENTS set

Part 1 of brain->prime absorption (River gate). Escalation-sink re-route
(brain -> river triage) is a separate step pending stream-contract sign-off.
@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.

@servathadi
servathadi merged commit 3f3677d into main Aug 15, 2026
1 check passed
@servathadi
servathadi deleted the brain-prime-routing-20260815 branch August 15, 2026 16:16
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