feat(firstmate): add explicit fm-oc2 launcher alias and test all three aliases

fm and fm-oc2 both run oc2 from the firstmate home. fm-pi stays the
explicit Pi fallback. The launcher check now sources the generated
zshrc, runs each alias against spies, and asserts the working directory
and that fm and fm-oc2 launch identically.

The readme records that the aliases share one firstmate home and its
task records but keep separate chat histories, so the running primary
must be quit before starting the other.
This commit is contained in:
Lap Tran committed 2026-11-16 09:21:44 -05:00
1 parent 53206f0a7b
commit 208e6741f3
3 files changed
+104 -58

No files matched your search

+3 -1
View File
@@ -83,8 +83,10 @@ in
# firstmate primary session in OpenCode 2 on the OpenCode Go subscription,
# launched through the isolated-config oc2 wrapper; crewmates = OpenCode by
# default. Permanent since 2026-11-15: fm-pi stays only as the explicit Pi
# fallback, never as the default launcher.
# fallback, never as the default launcher. fm-oc2 is the explicit
# OpenCode 2 name and stays byte-identical to fm.
fm = "cd ${firstmateHome} && exec ${home}/.local/bin/oc2";
fm-oc2 = "cd ${firstmateHome} && exec ${home}/.local/bin/oc2";
fm-pi = "cd ${firstmateHome} && exec pi";
oc2 = "${home}/.local/bin/oc2";
# Sync ~/Music into the beets library on Unraid (requires NAS mounted).