home.nix: adds fm-oc2, byte-identical to fm (cd /Users/laptran/Documents/firstmate && exec /Users/laptran/.local/bin/oc2). fm and fm-pi are unchanged. Nix owns all three aliases.
tests/fm-launcher.sh: the launcher check now sources the home-manager-generated zshrc and runs fm, fm-oc2, and fm-pi in an interactive zsh against spies. It asserts the launched tool and the working directory, and that fm and fm-oc2 record an identical launch. Nothing starts a real primary.
readme.md: documents the three aliases, that they share one firstmate home and its task records but keep separate chat histories, and that the running primary must be quit before starting the other.
AGENTS.md (pipeline document step): the alias list now names fm / fm-oc2.
Evidence
The new check failed before the source change:
FAIL: home-manager zshrc generated from ... does not define a fm-oc2 alias
It passes after:
PASS: fm from ... launched oc2 in /Users/laptran/Documents/firstmate (oc2|/Users/laptran/Documents/firstmate)
PASS: fm-oc2 from ... launched oc2 in /Users/laptran/Documents/firstmate (oc2|/Users/laptran/Documents/firstmate)
PASS: fm-pi from ... launched pi in /Users/laptran/Documents/firstmate (pi|/Users/laptran/Documents/firstmate)
PASS: fm and fm-oc2 are identical launchers
./tests/run.sh also passes the crew dispatch check.
no-mistakes run 01M7JBS42WA7J899DN5K00P7ZC: intent, rebase, review, test, document, lint, and push completed. pr and ci skipped because this repository is Gitea. Outcome passed.
Installation
The live ~/.zshrc already carries the three aliases, so current shells keep working. Persisting the aliases across a rebuild needs a home-manager activation, because shellAliases generate ~/.zshrc.
Merge this pull request into the default branch.
~/.dotfiles points to /Users/laptran/Documents/firstmate/projects/dotfiles. That clone is behind the default branch and holds uncommitted edits. Do not run rebuild.sh from it until those edits are reconciled.
From a checkout of the merged default branch, run ./rebuild.sh, then ./tests/fm-launcher.sh --live.
In a fresh shell, alias fm fm-oc2 fm-pi must show fm and fm-oc2 as cd /Users/laptran/Documents/firstmate && exec /Users/laptran/.local/bin/oc2, and fm-pi as cd /Users/laptran/Documents/firstmate && exec pi.
No activation or rebuild ran while producing this change.
Note
Review raised one info-level suggestion: bind the shared oc2 launcher string once instead of repeating it. The values stay byte-identical in the source on purpose, and the test enforces behavioral identity, so the change leaves the layout as is.
## What changed
- `home.nix`: adds `fm-oc2`, byte-identical to `fm` (`cd /Users/laptran/Documents/firstmate && exec /Users/laptran/.local/bin/oc2`). `fm` and `fm-pi` are unchanged. Nix owns all three aliases.
- `tests/fm-launcher.sh`: the launcher check now sources the home-manager-generated zshrc and runs `fm`, `fm-oc2`, and `fm-pi` in an interactive zsh against spies. It asserts the launched tool and the working directory, and that `fm` and `fm-oc2` record an identical launch. Nothing starts a real primary.
- `readme.md`: documents the three aliases, that they share one firstmate home and its task records but keep separate chat histories, and that the running primary must be quit before starting the other.
- `AGENTS.md` (pipeline document step): the alias list now names `fm` / `fm-oc2`.
## Evidence
The new check failed before the source change:
```
FAIL: home-manager zshrc generated from ... does not define a fm-oc2 alias
```
It passes after:
```
PASS: fm from ... launched oc2 in /Users/laptran/Documents/firstmate (oc2|/Users/laptran/Documents/firstmate)
PASS: fm-oc2 from ... launched oc2 in /Users/laptran/Documents/firstmate (oc2|/Users/laptran/Documents/firstmate)
PASS: fm-pi from ... launched pi in /Users/laptran/Documents/firstmate (pi|/Users/laptran/Documents/firstmate)
PASS: fm and fm-oc2 are identical launchers
```
`./tests/run.sh` also passes the crew dispatch check.
no-mistakes run `01M7JBS42WA7J899DN5K00P7ZC`: intent, rebase, review, test, document, lint, and push completed. `pr` and `ci` skipped because this repository is Gitea. Outcome passed.
## Installation
The live `~/.zshrc` already carries the three aliases, so current shells keep working. Persisting the aliases across a rebuild needs a home-manager activation, because `shellAliases` generate `~/.zshrc`.
1. Merge this pull request into the default branch.
2. `~/.dotfiles` points to `/Users/laptran/Documents/firstmate/projects/dotfiles`. That clone is behind the default branch and holds uncommitted edits. Do not run `rebuild.sh` from it until those edits are reconciled.
3. From a checkout of the merged default branch, run `./rebuild.sh`, then `./tests/fm-launcher.sh --live`.
4. In a fresh shell, `alias fm fm-oc2 fm-pi` must show `fm` and `fm-oc2` as `cd /Users/laptran/Documents/firstmate && exec /Users/laptran/.local/bin/oc2`, and `fm-pi` as `cd /Users/laptran/Documents/firstmate && exec pi`.
No activation or rebuild ran while producing this change.
## Note
Review raised one info-level suggestion: bind the shared `oc2` launcher string once instead of repeating it. The values stay byte-identical in the source on purpose, and the test enforces behavioral identity, so the change leaves the layout as is.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What changed
home.nix: addsfm-oc2, byte-identical tofm(cd /Users/laptran/Documents/firstmate && exec /Users/laptran/.local/bin/oc2).fmandfm-piare unchanged. Nix owns all three aliases.tests/fm-launcher.sh: the launcher check now sources the home-manager-generated zshrc and runsfm,fm-oc2, andfm-piin an interactive zsh against spies. It asserts the launched tool and the working directory, and thatfmandfm-oc2record an identical launch. Nothing starts a real primary.readme.md: documents the three aliases, that they share one firstmate home and its task records but keep separate chat histories, and that the running primary must be quit before starting the other.AGENTS.md(pipeline document step): the alias list now namesfm/fm-oc2.Evidence
The new check failed before the source change:
It passes after:
./tests/run.shalso passes the crew dispatch check.no-mistakes run
01M7JBS42WA7J899DN5K00P7ZC: intent, rebase, review, test, document, lint, and push completed.prandciskipped because this repository is Gitea. Outcome passed.Installation
The live
~/.zshrcalready carries the three aliases, so current shells keep working. Persisting the aliases across a rebuild needs a home-manager activation, becauseshellAliasesgenerate~/.zshrc.~/.dotfilespoints to/Users/laptran/Documents/firstmate/projects/dotfiles. That clone is behind the default branch and holds uncommitted edits. Do not runrebuild.shfrom it until those edits are reconciled../rebuild.sh, then./tests/fm-launcher.sh --live.alias fm fm-oc2 fm-pimust showfmandfm-oc2ascd /Users/laptran/Documents/firstmate && exec /Users/laptran/.local/bin/oc2, andfm-piascd /Users/laptran/Documents/firstmate && exec pi.No activation or rebuild ran while producing this change.
Note
Review raised one info-level suggestion: bind the shared
oc2launcher string once instead of repeating it. The values stay byte-identical in the source on purpose, and the test enforces behavioral identity, so the change leaves the layout as is.