2026-02-14 00:23:41 -08:00
|
|
|
# Failure Modes
|
|
|
|
|
|
|
|
|
|
## `BD_NOT_FOUND`
|
|
|
|
|
|
|
|
|
|
- Cause: `bd` missing from PATH.
|
|
|
|
|
- Recovery: install beads CLI or add `bd` executable directory to PATH.
|
|
|
|
|
|
|
|
|
|
## `BB_NOT_FOUND`
|
|
|
|
|
|
|
|
|
|
- Cause: `BB_REPO` invalid or no `bb` command / cache / discovery hit.
|
|
|
|
|
- Recovery:
|
|
|
|
|
- Set `BB_REPO` to BeadBoard repo root.
|
|
|
|
|
- Verify `bb.ps1` exists under `BB_REPO`.
|
|
|
|
|
- Retry preflight.
|
|
|
|
|
|
|
|
|
|
## `NAME_GENERATION_EXHAUSTED`
|
|
|
|
|
|
|
|
|
|
- Cause: all generated names collided with existing registry entries.
|
|
|
|
|
- Recovery:
|
|
|
|
|
- increase retry count (`BB_NAME_MAX_RETRIES`),
|
|
|
|
|
- expand adjective/noun pools,
|
|
|
|
|
- retry generation.
|
|
|
|
|
|
|
|
|
|
## Reservation Conflicts
|
|
|
|
|
|
|
|
|
|
- `RESERVATION_CONFLICT`: active owner exists.
|
|
|
|
|
- `RESERVATION_STALE_FOUND`: stale reservation exists; use takeover only when safe.
|
|
|
|
|
- `RELEASE_FORBIDDEN`: non-owner attempted release.
|
|
|
|
|
|
|
|
|
|
## Mail Lifecycle Errors
|
|
|
|
|
|
|
|
|
|
- `UNKNOWN_SENDER` / `UNKNOWN_RECIPIENT`: register agents before send.
|
|
|
|
|
- `ACK_FORBIDDEN`: only recipient may ack.
|
|
|
|
|
- `MESSAGE_NOT_FOUND`: stale id or wrong message reference.
|
|
|
|
|
|
|
|
|
|
## Policy Guardrails
|
|
|
|
|
|
|
|
|
|
- Do not write `.beads/issues.jsonl` directly.
|
|
|
|
|
- Do not close beads without verification evidence.
|
|
|
|
|
- Do not bypass `BB_REPO` when it is set but invalid; fix it explicitly.
|
2026-03-03 16:43:42 -08:00
|
|
|
|
|
|
|
|
## Local Environment Repair Signals
|
|
|
|
|
|
|
|
|
|
- `GIT_INDEX_LOCK_PRESENT`: stale git lock can block local operations.
|
|
|
|
|
- Recovery:
|
|
|
|
|
- confirm no active git process is using the repository,
|
|
|
|
|
- run `node skills/beadboard-driver/scripts/heal-common-issues.mjs --project-root <repo> --apply --fix-git-index-lock`.
|