Compare commits
4
Commits
5566b982c2
...
bea6877cc4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bea6877cc4 | ||
|
|
1da868813a | ||
|
|
c76d541ec8 | ||
|
|
86ac5e4328 |
No files matched your search
@@ -8,9 +8,9 @@ Deliberate decisions in this repo - do NOT silently revert them:
|
|||||||
- Pi is managed the same way: `home/.pi/agent/{settings,models}.json`, `themes/`, and custom extensions (`terminal-status-title`, `calm`). Do not symlink the whole `~/.pi/agent` tree - sessions, auth, npm cache, and herdr's `extensions/herdr-agent-state.ts` stay live.
|
- Pi is managed the same way: `home/.pi/agent/{settings,models}.json`, `themes/`, and custom extensions (`terminal-status-title`, `calm`). Do not symlink the whole `~/.pi/agent` tree - sessions, auth, npm cache, and herdr's `extensions/herdr-agent-state.ts` stay live.
|
||||||
- herdr stores runtime state beside its config, so `~/.config/herdr` stays a real directory and only `config.toml` is symlinked; `home.activation.herdrConfigDir` migrates the old whole-directory symlink and clears leaked artifacts. Do not symlink the whole directory - rationale and artifact list are in `home.nix`.
|
- herdr stores runtime state beside its config, so `~/.config/herdr` stays a real directory and only `config.toml` is symlinked; `home.activation.herdrConfigDir` migrates the old whole-directory symlink and clears leaked artifacts. Do not symlink the whole directory - rationale and artifact list are in `home.nix`.
|
||||||
- Codex runs on the OpenCode Go subscription. The ChatGPT app owns and rewrites the live `~/.codex/config.toml`, so it is NOT symlinked; `home.activation.codexOpenCodeGo` merges the repo fragment `home/.codex/config.toml` into it on every rebuild, and the app's own sections (`[desktop]`, `[plugins]`, `[mcp_servers]`, ...) survive. Auth is command-backed via `~/.local/bin/opencode-go-token` (prints the key from the opencode store), so `~/.codex/auth.json` stays in ChatGPT mode and ChatGPT sign-in coexists with Go. Only Go models that speak the Responses API work (`deepseek-v4.1-flash`, `gpt-6-luna`, `gpt-5.6-luna`, `grok-4.7/4.6`); GLM/Kimi/MiMo/LongCat are chat-completions-only and need a proxy. Desktop Codex is now the `chatgpt` cask - do not use the deprecated `codex-app` cask.
|
- Codex runs on the OpenCode Go subscription. The ChatGPT app owns and rewrites the live `~/.codex/config.toml`, so it is NOT symlinked; `home.activation.codexOpenCodeGo` merges the repo fragment `home/.codex/config.toml` into it on every rebuild, and the app's own sections (`[desktop]`, `[plugins]`, `[mcp_servers]`, ...) survive. Auth is command-backed via `~/.local/bin/opencode-go-token` (prints the key from the opencode store), so `~/.codex/auth.json` stays in ChatGPT mode and ChatGPT sign-in coexists with Go. Only Go models that speak the Responses API work (`deepseek-v4.1-flash`, `gpt-6-luna`, `gpt-5.6-luna`, `grok-4.7/4.6`); GLM/Kimi/MiMo/LongCat are chat-completions-only and need a proxy. Desktop Codex is now the `chatgpt` cask - do not use the deprecated `codex-app` cask.
|
||||||
- firstmate lives at `~/Documents/firstmate` as a mutable git clone (not in the Nix store). `home.activation.firstmate` clones it if missing and seeds `config/backend=herdr` + `config/crew-harness=opencode` only when those files are absent. Crew routing is `home/.config/firstmate/crew-dispatch.json` (symlinked in): per the captain's order 2026-10-21, coding crewmates and scouts use `opencode` + `opencode-go/deepseek-v4.1-flash` through the OpenCode CLI. Design, architecture, and design-review tasks are the exception: the file's first rule sends them to Pi with `openai-codex/gpt-6.1-sol` at `xhigh`, and implementation tasks re-resolve their profile instead of keeping that model. The free `deepseek-v4.1-flash-free` order of 2026-10-20 resumes when that lane resets. The validation pipeline stays on Pi with `opencode-go/deepseek-v4.1-flash` steps and the `opencode-go/glm-5.3-flash` reviewer. Avoid the `muse-spark-*-contributor` models, which train on prompts, and the `exo-free`, `mimo-*-free`, and `nemotron-*-free` models, whose data may be used to improve the model. `cat-jam-free` retains for 30 days. Crews inherit the primary's OpenCode login through the spawn-owned symlink (the isolated worker data root links the primary `<XDG_DATA_HOME>/opencode/auth.json`; no `~/.pi/agent/auth.json` reliance). Launch with shell alias `fm` (`cd` + the `oc2` wrapper, so the primary runs OpenCode 2 on the OpenCode Go subscription and loads firstmate's `.opencode/plugins` by working directory), while crews run on the opencode harness unless a dispatch rule selects another harness. `oc2` remains the isolated-config OpenCode launcher, and `fm-pi` keeps the old Pi launch as a fallback until the OpenCode 2 launcher is confirmed on the captain's machine. Self-update via `/updatefirstmate`, not rebuild.
|
- firstmate lives at `~/Documents/firstmate` as a mutable git clone (not in the Nix store). `home.activation.firstmate` clones it if missing and seeds `config/backend=herdr` + `config/crew-harness=pi` only when those files are absent. Crew routing is `home/.config/firstmate/crew-dispatch.json` (symlinked in): implementation crews use Pi with `openai-codex/gpt-6-luna`; design, architecture, and design-review tasks use Pi with `openai-codex/gpt-6.1-sol` at `xhigh`, and implementation tasks re-resolve their profile instead of keeping that model. The validation pipeline stays on Pi with its configured models. Launch Firstmate with shell alias `fm` using GPT-6.1 Sol; `fm-pi` remains the plain Pi fallback. Self-update via `/updatefirstmate`, not rebuild.
|
||||||
- OpenCode is one install: the stable Homebrew `opencode` formula, linked so `/opt/homebrew/bin/opencode` is that build. It is both the firstmate crew harness and the `oc2` binary. `oc2` only isolates the config: `OPENCODE_CONFIG` stays at `home/.config/opencode2/opencode.json` and cannot rewrite `~/.config/opencode`, and `OPENCODE2_BIN` overrides the binary. firstmate harness detection matches `*opencode*`, so it still classifies as OpenCode.
|
- OpenCode is one install: the stable Homebrew `opencode` formula, linked so `/opt/homebrew/bin/opencode` is that build. It is both the firstmate crew harness and the `oc2` binary. `oc2` only isolates the config: `OPENCODE_CONFIG` stays at `home/.config/opencode2/opencode.json` and cannot rewrite `~/.config/opencode`, and `OPENCODE2_BIN` overrides the binary. firstmate harness detection matches `*opencode*`, so it still classifies as OpenCode.
|
||||||
- Shell aliases: `cc` (Claude skip-permissions), `co` (Codex full-auto), `gb` (Grok --yolo), `fm` (firstmate via OpenCode 2), `fm-pi` (firstmate via Pi fallback), `oc2` (OpenCode with isolated config). They are intentional high-agency shortcuts.
|
- Shell aliases: `cc` (Claude skip-permissions), `co` (Codex full-auto), `gb` (Grok --yolo), `fm` (Firstmate in Pi with GPT-6.1 Sol), `fm-pi` (plain Pi fallback), `oc2` (OpenCode with isolated config). They are intentional high-agency shortcuts.
|
||||||
- OpenSuperWhisper is installed by the `opensuperwhisper` cask, and `home.activation.openSuperWhisper` downloads its Whisper model (`ggml-large-v3-turbo.bin` under the app's Application Support directory, never the Nix store) and seeds the model selection only when it is missing or dangling. All other app settings (trigger, language, paste behavior) belong to the app and must not be rewritten by a rebuild, so `modifierOnlyHotkey = rightOption` on this machine stays the effective trigger. Microphone/Accessibility/Input Monitoring grants stay manual because macOS TCC cannot be declarative; do not kill a running app to apply defaults. The model is local-only.
|
- OpenSuperWhisper is installed by the `opensuperwhisper` cask, and `home.activation.openSuperWhisper` downloads its Whisper model (`ggml-large-v3-turbo.bin` under the app's Application Support directory, never the Nix store) and seeds the model selection only when it is missing or dangling. All other app settings (trigger, language, paste behavior) belong to the app and must not be rewritten by a rebuild, so `modifierOnlyHotkey = rightOption` on this machine stays the effective trigger. Microphone/Accessibility/Input Monitoring grants stay manual because macOS TCC cannot be declarative; do not kill a running app to apply defaults. The model is local-only.
|
||||||
|
|
||||||
## Maintaining this file
|
## Maintaining this file
|
||||||
|
|||||||
+1
-1
@@ -62,7 +62,7 @@
|
|||||||
"tea" # Gitea CLI - PRs for firstmate crewmates on unraid.local:3003
|
"tea" # Gitea CLI - PRs for firstmate crewmates on unraid.local:3003
|
||||||
"tmux"
|
"tmux"
|
||||||
"treehouse"
|
"treehouse"
|
||||||
"whisper-cpp" # whisper-cli for yt-transcribe (reuses OpenSuperWhisper's model)
|
"whisper.cpp" # whisper-cli for yt-transcribe (reuses OpenSuperWhisper's model)
|
||||||
"wimlib" # wimlib-imagex: split install.wim to fit FAT32 for Windows USB media
|
"wimlib" # wimlib-imagex: split install.wim to fit FAT32 for Windows USB media
|
||||||
"yt-dlp" # yt-transcribe engine; same engine reclip runs in its container
|
"yt-dlp" # yt-transcribe engine; same engine reclip runs in its container
|
||||||
];
|
];
|
||||||
|
|||||||
Generated
+6
-6
@@ -24,11 +24,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1792818383,
|
"lastModified": 1794251182,
|
||||||
"narHash": "sha256-199i7ubVSXTMl+0AAlL7cVCXSjcI+jWByMcimYjeMX0=",
|
"narHash": "sha256-R2sZBXiOJo3HAnvTiVkbbHDJy//JMlAwUKEiPbfqPXk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "24f2190587513b9c2f73db112a17844ae912d965",
|
"rev": "6eb2d33d1d0c95a37ef6443c88e6c1686012ee8b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -79,11 +79,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793976852,
|
"lastModified": 1794217284,
|
||||||
"narHash": "sha256-bWDN3JZcE9ovYoaD0/6WYbMtXYpUu0vd5onpK0pc/SE=",
|
"narHash": "sha256-Ya0ojDh1BF5zgyZRlehygC0ZvvEg2WaGZWn1xiNozmM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "57f1c8965649ce5bcac5118a0d2e41f1fbdc56e5",
|
"rev": "f4244ef33645badc8157562b5e80748929b396c2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -80,11 +80,8 @@ in
|
|||||||
cc = "claude --dangerously-skip-permissions";
|
cc = "claude --dangerously-skip-permissions";
|
||||||
co = "codex --full-auto";
|
co = "codex --full-auto";
|
||||||
gb = "grok --yolo";
|
gb = "grok --yolo";
|
||||||
# firstmate primary session in OpenCode 2 on the OpenCode Go subscription,
|
# Firstmate primary and crewmates use Pi by default.
|
||||||
# launched through the isolated-config oc2 wrapper; crewmates = OpenCode by
|
fm = "cd ${firstmateHome} && exec pi --model openai-codex/gpt-6.1-sol";
|
||||||
# default. fm-pi keeps the old Pi launch until the OpenCode 2 launcher is
|
|
||||||
# confirmed on the captain's machine.
|
|
||||||
fm = "cd ${firstmateHome} && exec ${home}/.local/bin/oc2";
|
|
||||||
fm-pi = "cd ${firstmateHome} && exec pi";
|
fm-pi = "cd ${firstmateHome} && exec pi";
|
||||||
oc2 = "${home}/.local/bin/oc2";
|
oc2 = "${home}/.local/bin/oc2";
|
||||||
# Sync ~/Music into the beets library on Unraid (requires NAS mounted).
|
# Sync ~/Music into the beets library on Unraid (requires NAS mounted).
|
||||||
@@ -302,7 +299,7 @@ in
|
|||||||
|
|
||||||
# Local gitignored operating choices (do not overwrite captain edits)
|
# Local gitignored operating choices (do not overwrite captain edits)
|
||||||
[ -f "$fm/config/backend" ] || printf 'herdr\n' > "$fm/config/backend"
|
[ -f "$fm/config/backend" ] || printf 'herdr\n' > "$fm/config/backend"
|
||||||
[ -f "$fm/config/crew-harness" ] || printf 'opencode\n' > "$fm/config/crew-harness"
|
[ -f "$fm/config/crew-harness" ] || printf 'pi\n' > "$fm/config/crew-harness"
|
||||||
|
|
||||||
# Crew dispatch profile - source of truth in dotfiles (reproducible across
|
# Crew dispatch profile - source of truth in dotfiles (reproducible across
|
||||||
# machines). Symlinked into firstmate config so a rebuild restores routing.
|
# machines). Symlinked into firstmate config so a rebuild restores routing.
|
||||||
|
|||||||
@@ -24,9 +24,9 @@
|
|||||||
],
|
],
|
||||||
"default": [
|
"default": [
|
||||||
{
|
{
|
||||||
"harness": "opencode",
|
"harness": "pi",
|
||||||
"model": "opencode-go/deepseek-v4.1-flash",
|
"model": "openai-codex/gpt-6-luna",
|
||||||
"provider": "opencode-go"
|
"provider": "codex"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -13,7 +13,7 @@ The firstmate crew dispatch + Gitea PR helper are wired by `darwin-rebuild`, but
|
|||||||
cd ~/Documents/investor-flow
|
cd ~/Documents/investor-flow
|
||||||
git remote set-url origin http://unraid.local:3003/transnet/investor-flow
|
git remote set-url origin http://unraid.local:3003/transnet/investor-flow
|
||||||
|
|
||||||
Verify: `fm` launches OpenCode 2 as the first mate and `fm-pi` is the Pi fallback until that launcher is confirmed; `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` launches Firstmate in Pi with GPT-6.1 Sol; `fm-pi` remains a plain Pi fallback; implementation crews use GPT-6 Luna, while design and architecture crews use GPT-6.1 Sol. `tea pulls list --repo transnet/investor-flow` works.
|
||||||
|
|
||||||
## security-audit skill (agent security reviews)
|
## security-audit skill (agent security reviews)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user