Point the fm alias at OpenCode 2 and keep Pi as fm-pi #18

Merged
hermes merged 1 commits from fm/dotfiles-fm-opencode2 into main 2026-11-08 21:19:11 -05:00
Owner

What changed

  • home.nix: fm now runs ${home}/.local/bin/oc2 from the firstmate home, so the primary session starts in OpenCode 2 and loads firstmate's tracked .opencode/plugins by working directory. New fm-pi keeps the old exec pi launch until the OpenCode 2 launcher is confirmed on the captain's machine. The alias comment now says OpenCode 2, not Pi.
  • AGENTS.md and readme.md: describe fm as OpenCode 2 and fm-pi as the Pi fallback.

oc2 and every other alias are unchanged.

Verification

  • home.nix parses with nix-instantiate --parse.
  • Ran the alias body (cd <firstmate home> && exec ~/.local/bin/oc2) against a disposable clone with its own scratch FM_HOME and isolated XDG dirs, so the live home was untouched.
  • OpenCode 2.2.6 loaded all five firstmate plugins: fm-primary-cd-check, fm-primary-pretool-check, fm-primary-sessionstart-nudge, fm-primary-turnend-guard, fm-primary-watch-arm. Confirmed with oc2 plugin list and --print-logs --log-level debug in both run --standalone and a pty TUI session.
  • The isolated config already exposes the primary model opencode-go/deepseek-v4.1-flash, so no config change was needed.
  • No darwin-rebuild or rebuild.sh was run; applying the alias is the captain's step.
  • no-mistakes passed (review, test, document, lint, push). pr and ci were skipped because this forge is Gitea and the pipeline cannot open a Gitea PR.

Not merged.

## What changed - `home.nix`: `fm` now runs `${home}/.local/bin/oc2` from the firstmate home, so the primary session starts in OpenCode 2 and loads firstmate's tracked `.opencode/plugins` by working directory. New `fm-pi` keeps the old `exec pi` launch until the OpenCode 2 launcher is confirmed on the captain's machine. The alias comment now says OpenCode 2, not Pi. - `AGENTS.md` and `readme.md`: describe `fm` as OpenCode 2 and `fm-pi` as the Pi fallback. `oc2` and every other alias are unchanged. ## Verification - `home.nix` parses with `nix-instantiate --parse`. - Ran the alias body (`cd <firstmate home> && exec ~/.local/bin/oc2`) against a disposable clone with its own scratch `FM_HOME` and isolated XDG dirs, so the live home was untouched. - OpenCode 2.2.6 loaded all five firstmate plugins: `fm-primary-cd-check`, `fm-primary-pretool-check`, `fm-primary-sessionstart-nudge`, `fm-primary-turnend-guard`, `fm-primary-watch-arm`. Confirmed with `oc2 plugin list` and `--print-logs --log-level debug` in both `run --standalone` and a pty TUI session. - The isolated config already exposes the primary model `opencode-go/deepseek-v4.1-flash`, so no config change was needed. - No `darwin-rebuild` or `rebuild.sh` was run; applying the alias is the captain's step. - no-mistakes passed (review, test, document, lint, push). `pr` and `ci` were skipped because this forge is Gitea and the pipeline cannot open a Gitea PR. Not merged.
hermes added 1 commit 2026-11-08 21:05:35 -05:00
The primary firstmate session now starts through the isolated-config oc2
wrapper so it loads the tracked .opencode/plugins. fm-pi keeps the old Pi
launch until the new launcher is confirmed on the captain's machine.

Verified with a scratch FM_HOME: oc2 v2.2.6 loads all five firstmate
plugins, and the isolated config already exposes the primary model
opencode-go/deepseek-v4.1-flash.
hermes merged commit a2c6ef7152 into main 2026-11-08 21:19:11 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: transnet/dotfiles#18