Skip to content

feat: make Herdr the default runtime backend - #1

Merged
Hozzy02 merged 5 commits into
mainfrom
fm/herdr-default
Aug 14, 2026
Merged

Hozzy02 merged 5 commits into
mainfrom
fm/herdr-default

Conversation

@Hozzy02

@Hozzy02 Hozzy02 commented Aug 14, 2026 •

Copy link
Copy Markdown
Owner

Intent

Make Herdr the repo-wide default and verified reference runtime backend for new Firstmate spawns, while preserving tmux as a fully supported, spawn-capable, explicitly selected legacy backend.

Keep new-spawn selection and recorded-endpoint compatibility distinct: an unconfigured new spawn defaults to Herdr and records backend=herdr, while an existing metadata record without backend= continues to resolve as tmux.

What Changed

  • Changed new-spawn resolution to explicit --backend, then FM_BACKEND, then config/backend, then runtime auto-detection, then Herdr.
  • Made auto-detected tmux print the opt-out notice while default or auto-detected Herdr remains silent.
  • Preserved the legacy absent-backend metadata interpretation as tmux and made new default Herdr metadata explicit.
  • Made Herdr, jq, and treehouse the default resolved-backend toolchain, with tmux required only when tmux is selected.
  • Reframed Herdr as the default verified reference backend and tmux as the fully supported legacy opt-in alternative.
  • Kept Herdr active limits and all tmux-specific safety, liveness, submit, composer, test, and verification coverage intact.
  • Updated the no-mistakes requirement workflow to validate the current PR body rather than the immutable opened-event snapshot, while preserving the exact marker requirement.

Changed Surfaces

  • AGENTS.md: runtime-backend selection, default, auto-detection, and reference-status guidance.
  • CONTRIBUTING.md and README.md: Herdr-first setup and pinned installer guidance, with tmux retained as the opt-in alternative.
  • bin/fm-backend.sh and bin/fm-spawn.sh: selection order, notices, metadata compatibility contracts, help, and required tools.
  • bin/backends/herdr.sh: reference-backend framing while preserving adapter limits and behavior.
  • bin/backends/tmux.sh: legacy verified-backend framing without reducing support.
  • docs: configuration, architecture, backend guides, script references, verification evidence, examples, and documentation-audience ownership.
  • CI: .github/workflows/ci.yml installs pinned Herdr for default-path end-to-end coverage and retains tmux for tmux-specific tests; .github/workflows/no-mistakes-required.yml now reads the live PR body with read-only pull-request permission.
  • tests: default and selection assertions now expect Herdr, default spawn metadata requires backend=herdr, and tmux behavior remains covered through explicit selection.

Judgment Notes

  • Herdr reference status means it is the default and fully supported backend. It does not mean limit-free: the documented OpenCode busy-queue gap, lack of mid-session liveness, ghost or placeholder dependence, and colliding-label limits remain explicit.
  • The supervisor and away-mode backend axis did not change. FM_SUPERVISOR_BACKEND detection still prefers TMUX_PANE, then the Herdr pane markers, then the warned legacy firstmate:0 tmux fallback; away mode still supports only tmux and Herdr supervisor panes.
  • CI now installs Herdr through the pinned bin/fm-install-herdr.sh path for default-path end-to-end coverage. tmux stays installed so explicit-tmux and tmux-specific regression coverage remains intact.
  • The pipeline-added signature repair keeps the same marker policy and removes only the stale opened-event race; it does not weaken PR provenance enforcement.

Validation

  • bin/fm-lint.sh passed with the repository-owned ShellCheck version.
  • bin/fm-doc-audience-check.sh passed.
  • Backend, bootstrap, session-start, spawn, and tmux-specific suites passed.
  • The guarded real-Herdr family passed through bin/fm-herdr-lab.sh with the default fleet session unchanged.
  • no-mistakes review, tests, documentation review, lint, canonical push, and PR reconciliation passed.
  • GitHub CI is green on Hozzy02/firstmate.
  • No merge action was taken.

Pipeline

Updates from git push no-mistakes

  • Intent, rebase, review, test, document, lint, push, and PR phases passed.
  • CI repaired the stale opened-event body race without weakening the required marker.
  • All GitHub checks passed.

@Hozzy02
Hozzy02 merged commit 4e21728 into main Aug 14, 2026
15 checks passed
@Hozzy02
Hozzy02 deleted the fm/herdr-default branch September 26, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant