RCA-2026-04-03-001: Prevention
Preventive Measures
Short-term (This week)
| Action | Owner | Status |
|---|---|---|
Investigate |
Evan |
[ ] Pending |
Add defensive PATH construction to shell init |
Evan |
[ ] Pending |
Verify |
Evan |
[ ] Pending |
Long-term
| Action | Owner | Status |
|---|---|---|
Add Claude Code shell environment validation to dotfiles |
Evan |
[ ] Pending |
Document absolute paths for frequently used binaries in codex |
Evan |
[ ] Pending |
Lessons Learned
What went well
-
Quickly identified the binary existed via
ls /usr/bin/bluetooth* -
Absolute path workaround resolved issue in seconds
-
Connected before the call started
What could be improved
-
Should have a pre-validated shell environment for Claude Code
-
PATH issues are silent until they bite — need a health check
Key Takeaways
|
Connection to RCA-2026-03-27-001
RCA-2026-03-27-001 addressed the knowledge gap (not knowing bluetoothctl commands). This RCA addresses the environment gap (knowing the command but the shell can’t find it). Together they cover both failure modes for Bluetooth CLI operations.