fix bullpen-triage/selfimprove ExecStart (--system deploy needs /usr/local/bin, not ~/.local/bin); @skeptic/@architect now answer direct asks, not just chat turns
triage.service has crash-looped since it was enabled (27k+ restarts, never ran once) because its ExecStart pointed at the user-layout bin path while the unit was deployed via install.sh --system (symlinks live in /usr/local/bin). selfimprove.service had the same latent bug, dormant until its weekly timer next fired. bullpen_participant.py's _read_chats() only ever collected type=="chat" messages, so a direct type=="ask" ping (or any one-shot question) to @skeptic or @architect was invisible to the turn loop. @architect appeared to work anyway because it has a second, redundant responder (architect_lurker, opencode-backed) that @skeptic never got — so @skeptic was silently unreachable outside an active debate turn. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EWpfhDgYNA21tETDP9ueBE
This commit is contained in:
@@ -52,7 +52,7 @@ def _read_chats():
|
||||
continue
|
||||
try:
|
||||
m = json.loads(line)
|
||||
if m.get("type") == "chat":
|
||||
if m.get("type") in ("chat", "ask"):
|
||||
out.append(m)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
@@ -4,4 +4,4 @@ After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=%h/.local/bin/bullpen-selfimprove
|
||||
ExecStart=/usr/local/bin/bullpen-selfimprove
|
||||
|
||||
@@ -5,7 +5,7 @@ After=network-online.target
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=PATH=/home/mfritsche/.local/bin:/usr/local/bin:/usr/bin:/bin
|
||||
ExecStart=/home/mfritsche/.local/bin/bullpen-triage
|
||||
ExecStart=/usr/local/bin/bullpen-triage
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
|
||||
Reference in New Issue
Block a user