chore: preserve local configuration edits before activation
This commit is contained in:
1 parent
fd96dc6dc0
commit
a71022f937
12 files changed
+217
-57
No files matched your search
@@ -13,15 +13,15 @@ The firstmate crew dispatch + Gitea PR helper are wired by `darwin-rebuild`, but
|
||||
cd ~/Documents/investor-flow
|
||||
git remote set-url origin http://unraid.local:3003/transnet/investor-flow
|
||||
|
||||
Verify: `fm` and `fm-oc2` launch OpenCode 2 as the first mate and `fm-pi` is the explicit Pi fallback; `oc2 --version` prints the Homebrew opencode version; `pi --list-models mimo` shows `opencode-go/mimo-v2.5-pro`; `tea pulls list --repo transnet/investor-flow` works.
|
||||
Verify: `fm` and `fm-oc2` launch OpenCode 2 as the first mate, `fm-pi` is the explicit Pi fallback, and `fm-omp` is the explicit omp-harness fallback; `oc2 --version` prints the Homebrew opencode version; `pi --list-models mimo` shows `opencode-go/mimo-v2.5-pro`; `tea pulls list --repo transnet/investor-flow` works.
|
||||
|
||||
## firstmate launcher and crew model routing
|
||||
|
||||
`fm` is the permanent firstmate launcher. `fm-oc2` is the same launcher under its explicit OpenCode 2 name, so both aliases expand to the same command. They change to `~/Documents/firstmate` and execute `~/.local/bin/oc2`, which runs the Homebrew OpenCode build with the isolated `~/.config/opencode2/opencode.json` config. `fm-pi` starts Pi instead and remains only an explicit fallback. Never make Pi the default launcher.
|
||||
`fm` is the permanent firstmate launcher. `fm-oc2` is the same launcher under its explicit OpenCode 2 name, so both aliases expand to the same command. They change to `~/Documents/firstmate` and execute `~/.local/bin/oc2`, which runs the Homebrew OpenCode build with the isolated `~/.config/opencode2/opencode.json` config. `fm-pi` and `fm-omp` start Pi and omp instead and remain only as explicit fallbacks. Never make Pi or omp the default launcher.
|
||||
|
||||
The three aliases share one firstmate home. They read the same task records, inbox, and state. Each tool keeps its own chat history, so a conversation in OpenCode 2 does not appear in Pi, and the reverse. Quit the running primary before you start the other one. A single firstmate home serves one primary at a time.
|
||||
The four aliases (`fm`, `fm-oc2`, `fm-pi`, `fm-omp`) share one firstmate home. They read the same task records, inbox, and state. Each tool keeps its own chat history, so a conversation in OpenCode 2 does not appear in Pi or omp, and the reverse. Quit the running primary before you start the other one. A single firstmate home serves one primary at a time.
|
||||
|
||||
`home.nix` owns all three aliases, so a rebuild regenerates them. The installed `~/.zshrc` changes only at the next activation.
|
||||
`home.nix` owns all four aliases, so a rebuild regenerates them. The installed `~/.zshrc` changes only at the next activation.
|
||||
|
||||
Worker routing lives in `home/.config/firstmate/crew-dispatch.json`, which is symlinked to `~/Documents/firstmate/config/crew-dispatch.json`:
|
||||
|
||||
@@ -58,7 +58,7 @@ The captain confirmed the split on 2026-11-15. Leave it unchanged:
|
||||
./tests/run.sh # all checks
|
||||
```
|
||||
|
||||
The launcher check sources the real generated zshrc in an interactive zsh. A `pi` spy on PATH and an `OPENCODE2_BIN` spy capture the launch of `fm`, `fm-oc2`, and `fm-pi`, record the working directory, and exit at once, so no firstmate session starts.
|
||||
The launcher check sources the real generated zshrc in an interactive zsh. A `pi` spy, an `omp` spy, and an `OPENCODE2_BIN` spy capture the launch of `fm`, `fm-oc2`, `fm-pi`, and `fm-omp`, record the working directory, and exit at once, so no firstmate session starts.
|
||||
|
||||
### Install after merge
|
||||
|
||||
@@ -68,7 +68,7 @@ The Nix sources in this repository are the durable record. The live files are ge
|
||||
2. Confirm `readlink ~/.dotfiles` names the checkout that holds the merged commit.
|
||||
3. Run `./rebuild.sh` from that checkout.
|
||||
4. Run `./tests/fm-launcher.sh --live` and `./tests/crew-dispatch.sh`.
|
||||
5. Open a fresh shell and run `alias fm fm-oc2 fm-pi`. `fm` and `fm-oc2` must show `exec /Users/laptran/.local/bin/oc2`, and `fm-pi` must show `exec pi`.
|
||||
5. Open a fresh shell and run `alias fm fm-oc2 fm-pi fm-omp`. `fm` and `fm-oc2` must show `exec /Users/laptran/.local/bin/oc2`; `fm-pi` must show `exec pi`; `fm-omp` must show `exec omp`.
|
||||
|
||||
### Checkout topology and safe installation
|
||||
|
||||
@@ -174,6 +174,14 @@ Each run removes and recopies only those eleven directories, so a renamed upstre
|
||||
|
||||
Why these eleven skills exist is recorded in firstmate's `docs/adopted-skills.md`, outside this repo.
|
||||
|
||||
## explain-simply skill (plain-English explanations)
|
||||
|
||||
`home/.agents/skills/explain-simply/SKILL.md` is a house-authored skill checked into this repo: it triggers on "explain simply", "ELI5", "plain english", "bottoms up"-type requests, and produces a one-read bottoms-up explanation that closes with a strong "wow — I really get it" feel.
|
||||
|
||||
`home.activation.explainSimplySkill` copies the checked-in source into `~/.agents/skills/explain-simply` on every rebuild (removing any stale copy first) and restores the `~/.claude/skills/explain-simply` link for Claude Code. OpenCode, Codex, and Pi read `~/.agents/skills` directly and need nothing else. This follows the pstackSkills pattern: activation, not the `home.file` force-symlink, owns this directory.
|
||||
|
||||
The checked-in source is the single source of truth. After editing it, run `./rebuild.sh` to refresh the live `~/.agents/skills` copy. User-replaced files in `~/.claude/skills/explain-simply` are left untouched.
|
||||
|
||||
## OpenSuperWhisper (local voice input)
|
||||
|
||||
Hold a shortcut, speak, release, and the transcript pastes into the focused app. Everything runs on the Mac: no audio or transcript leaves the machine.
|
||||
|
||||
Reference in new issue
Block a user