fix(brain): route dead executors to live kasra + fix hermes path - #223
Merged
Merged
Conversation
- 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.
|
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Routing reconciliation for
sovereign/loop.py— stop routing brain tasks into ghosts.TMUX_AGENTS = {"kasra"}only (verified 2026-08-15: nomumega/codex/spaitmux sessions)NO_LIVE_EXECUTOR = {dandan, sol, mumega, codex, spai}→ escalate to kasra (the live executor)athena-tmux (dead) → kasra~/.hermes/bin/hermes(missing) →~/.hermes/hermes-agent/venv/bin/hermesescalate_to_tmuxtool description: dropathena(daemon-only, no tmux)OPENCLAW_AGENTSsetWhy
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.pyclean. No automated test covers this routing function (pre-existing gap, noted).