Repository navigation
fix(bin): stop labeling Herdr as experimental - #4972
Merged
Merged
Conversation
Ye1806431561
pushed a commit
to Ye1806431561/firstmate
that referenced
this pull request
Sep 20, 2026
* Stop steering operators away from Herdr * no-mistakes(review): Neutralize remaining Herdr opt-out documentation wording
Ivory2024
pushed a commit
to Ivory2024/firstmate
that referenced
this pull request
Sep 20, 2026
* Stop steering operators away from Herdr * no-mistakes(review): Neutralize remaining Herdr opt-out documentation wording
Ivory2024
added a commit
to Ivory2024/firstmate
that referenced
this pull request
Sep 20, 2026
Intent
Herdr is NOT an experimental backend anymore. Fix Firstmate's shared tracked material so nothing steers mates to opt out of Herdr.
Concrete incident: mini-default spawned a task with an explicit --backend tmux after the auto-detect notice said "NOTICE: auto-detected herdr runtime (HERDR_ENV=1) - spawning into the EXPERIMENTAL herdr backend. Set config/backend or pass --backend tmux to opt out." SSHHIP left auto-detect alone and correctly landed in Herdr. That notice is harmful because it pushes operators off Herdr.
This is a labeling, messaging, and test-truth correction, not a behavior redesign. Concrete scope:
Out of scope: forcing live crews off tmux, the mini FTUE respawn, and the zellij/orca/cmux status.
What Changed
Risk Assessment
✅ Low: The change is narrowly limited to Herdr labeling, messaging, documentation, and corresponding observable-output assertions while preserving backend selection behavior and experimental status for the other backends.
Testing
Drove a real isolated Herdr spawn, command execution, metadata verification, and teardown. Backend precedence, session startup, remote-secondmate boundaries, and documentation were checked only through targeted test suites or manual review, so those scenarios remain untested under the live-validation contract.
Evidence: Real Herdr auto-detection spawn and teardown
Source: Real Herdr auto-detection spawn and teardown
Evidence: Backend selection and precedence validation
Source: Backend selection and precedence validation
Evidence: Herdr session-start validation
Source: Herdr session-start validation
Evidence: Remote-secondmate Herdr requirement validation
Source: Remote-secondmate Herdr requirement validation
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 1 issue found → auto-fixed ✅
docs/tmux-backend.md:13- Intent requires that shared tracked material contain nothing steering mates to opt out of Herdr, but this unchanged setup text still advertises explicit tmux selection as “the opt-out from Herdr.” The change updates the notice and other documentation but omits this contradictory path. Replace it with neutral override wording, such as stating that explicit tmux selection overrides runtime auto-detection.🔧 Fix applied.
✅ Re-checked - no issues remain.
mkdir -p state && bin/fm-test-run.sh tests/fm-backend-autodetect-smoke.test.sh; rmdir statemkdir -p state && bin/fm-test-run.sh tests/fm-backend.test.sh; rmdir statemkdir -p state && bin/fm-test-run.sh tests/fm-session-start.test.sh; rmdir statebin/fm-test-run.sh tests/fm-remote-secondmate-lifecycle-e2e.test.shReviewed the tracked user-facing documentation for obsolete experimental-Herdr or backend opt-out guidance and confirmed Zellij, Orca, and cmux remain labeled experimental.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.