fix(b3): eliminate command -v herdr bash function false positive in preflight checks (100% PASS)
This commit is contained in:
@@ -28,11 +28,15 @@ This is the "what's running right now?" answer — faster than dispatching `mult
|
||||
## Pre-flight
|
||||
|
||||
```bash
|
||||
command -v herdr
|
||||
has_real_herdr || { echo "ERROR: herdr not installed"; exit 1; } # lib.sh helper (B-3)
|
||||
command -v python3
|
||||
test -f .mam/agent-sessions.yaml
|
||||
```
|
||||
|
||||
> `command -v herdr` and `type -P herdr` both report success even when herdr is
|
||||
> not installed — they match lib.sh's `herdr()` function and the `.mam/shim`
|
||||
> wrapper respectively. Always use `has_real_herdr`.
|
||||
|
||||
If `agent-sessions.yaml` doesn't exist or is malformed → print clear error, exit 1. **Do not create it.** (Use `multi-agent-mux-create` first.)
|
||||
|
||||
## Workflow
|
||||
|
||||
Reference in New Issue
Block a user