Commit Graph
40 Commits
Author SHA1 Message Date
Lap Tran cdceb1eb09 Point the fm alias at OpenCode 2 and keep Pi as fm-pi
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.
2026-11-08 20:52:31 -05:00
Lap Tran 3c7d2662a4 Retire OpenCode 1.x so Homebrew OpenCode 2 is the only install
Link the Homebrew opencode formula at /opt/homebrew/bin/opencode, drop the npm 1.x install from rebuild.sh, and remove leftover npm packages. Update the agent notes and home.nix comments to match.
2026-11-08 18:06:38 -05:00
Lap Tran d9d0a2e849 no-mistakes(document): Align OpenCode 2 docs with stable brew formula 2026-11-08 12:37:34 -05:00
Lap Tran 1fda5c09b7 Run OpenCode 2 from the stable Homebrew formula
Declare the opencode formula with link = false so it never replaces the
npm-installed OpenCode 1.x CLI at /opt/homebrew/bin/opencode. Drop the npm
beta install from home.activation.opencode2, point home/bin/oc2 at the keg
binary, and correct the related notes.
2026-11-08 12:15:22 -05:00
Lap Tran f49ba2a84b no-mistakes(document): Document design dispatch rule in agent notes 2026-11-08 10:55:37 -05:00
Lap Tran a58546900f docs(pstack): use neutral third-person wording
Describe the existing tdd skill and the skill tree without
second-person address or a firstmate role name.
2026-11-07 18:03:15 -05:00
Lap Tran 1fb1a23eea no-mistakes(document): Document pinned pstack skill install 2026-11-07 18:00:40 -05:00
Lap Tran d4fd08cabe feat(home): install pinned pstack skills on activation
Add home.activation.pstackSkills plus a pinned cursor/plugins fetch.
It replaces the eleven adopted skill directories in ~/.agents/skills on
every rebuild and leaves all other skills untouched. pstack's tdd copy
stays skipped because the captain's own tdd skill owns that name.
2026-11-07 17:42:21 -05:00
Lap Tran e71f7089d3 feat(home): launch firstmate in Pi 2026-11-06 21:21:18 -05:00
Lap Tran 633bbf35a0 feat(home): sync the OpenCode Go key after account switches 2026-11-06 21:10:54 -05:00
Lap Tran 62923e8344 refactor: drop yt-transcribe-watcher; transcripts belong at reclip download time
Per the captain: no watcher as primary. reclip gets the transcript patch
(bind-mounted app.py/index.html override on Unraid, see
data/documents/reclip/DEPLOY.md); yt-transcribe stays as the manual
fallback and for captionless media. Launchd agent removed.
2026-10-25 15:15:23 -04:00
Lap Tran 9821fde02b feat(home): yt-transcribe tool + watcher (captions-first, X via gallery-dl)
- yt-transcribe: YouTube/X/local-file transcription. Captions first
  (yt-dlp; X serves auto-captions via its twitter extractor), Whisper
  fallback (whisper-cli reusing OpenSuperWhisper's ggml model), reclip
  download reuse, INDEX.md + --list/--index for id->title mapping.
- watcher: launchd every 5 min over media/video on the Unraid share,
  sidecar .txt per download, marker-guarded, stale-marker purge.
- Code executes from the nix store via stable ~/.local/bin symlinks:
  launchd EPERMs on SMB exec; share stays data-only.
- brews: declare yt-dlp, whisper.cpp, gallery-dl (cleanup=zap removes
  undeclared formulas).
2026-10-25 13:08:25 -04:00
Lap Tran 8a35b39aa3 no-mistakes(document): Update stale security-audit sandbox note in home.nix 2026-10-25 12:49:13 -04:00
Lap Tran 76ff344ff5 feat(home): add security-audit-sandbox wrapper 2026-10-25 12:22:48 -04:00
Lap Tran 75088e1f15 fix(home): put /usr/bin on the security-audit activation PATH
The Skills CLI spawns git to clone the skill. The activation block only
prepended /opt/homebrew/bin, so git at /usr/bin/git was not resolvable and
the rebuild failed with "spawn git ENOENT". Prepend /usr/bin too.
2026-10-24 20:55:01 -04:00
Lap Tran 788a97a61d no-mistakes(document): Prune incident narrative and duplicate skill commands 2026-10-24 20:34:29 -04:00
Lap Tran aaeadb50d5 no-mistakes(test): Name only runtime-later activation blocks in opencode2 comment 2026-10-24 20:23:10 -04:00
Lap Tran b1869a1afd no-mistakes(review): Correct Grok scope and opencode path claims in skill docs 2026-10-24 20:12:10 -04:00
Lap Tran 1a3c38406a Add security-audit skill install and restore paid Go crew dispatch
Install cloudflare/security-audit through the Skills CLI with Homebrew npx
so the multi-file skill stays upstream-identical. The universal target
~/.agents/skills is read by OpenCode, Codex, Pi, and Grok; the CLI also
links it into ~/.claude/skills for Claude Code. Skip when installed, warn
instead of failing when GitHub is unreachable, and never target the
read-only ~/.config/opencode/skills store link.

Return crew dispatch to opencode-go/deepseek-v4.1-flash in both the UI
rule and the default, per the captain's 2026-10-21 order, and correct the
AGENTS.md routing note.

Stop opencode2's activation from calling exit 0: activation blocks are
inlined into one flat script, so it silently skipped every later block
(securityAuditSkill, setupLaunchAgents, syncMusic).
2026-10-24 19:54:36 -04:00
Lap Tran 16677278ba no-mistakes(review): Seed OpenSuperWhisper model path only, stop overwriting app settings 2026-10-24 15:46:06 -04:00
Lap Tran 4a4ce6c585 Add OpenSuperWhisper local voice input
Install the opensuperwhisper cask and add home.activation.openSuperWhisper
to download the Whisper V3 Large turbo model once, verify its SHA256, and
set the app defaults. Model and defaults stay outside the Nix store; macOS
TCC grants remain manual. Document first-run steps, permissions, and the
default shortcut in readme.md and AGENTS.md.
2026-10-24 15:30:10 -04:00
Lap Tran b31fadd85a config: OpenCode Go deepseek routing, no-mistakes review split, settings
Route firstmate crews and both OpenCode sessions to opencode-go/deepseek-v4.1-flash. Split the no-mistakes pipeline so the implementer and fixer run deepseek-v4.1-flash and the reviewer runs opencode-go/glm-5.3-flash. Add Pi context-window overrides for the deepseek models, Pi package updates, a lavish-axi Claude SessionStart hook, and the AGENTS.md response-style rules.
2026-10-08 18:27:59 -04:00
Lap Tran 2bcaf5fd32 no-mistakes(document): Point herdr state-file rationale at the cleanup list 2026-10-05 23:19:25 -04:00
Lap Tran b6095c8a20 no-mistakes(review): home: add herdr-client.log and sessions to herdr cleanup 2026-10-05 22:32:40 -04:00
Lap Tran d5fc8758a5 no-mistakes(review): home: move herdr migration after writeBoundary before linkGeneration 2026-10-05 22:24:32 -04:00
Lap Tran bafec48ceb no-mistakes(review): home: narrow herdr cleanup and respect DRY_RUN via run 2026-10-05 22:14:44 -04:00
Lap Tran d5eb744fb4 no-mistakes(review): Purge leaked herdr runtime files from dotfiles repo on activation 2026-10-05 22:00:15 -04:00
Lap Tran 6e1ee6ef67 fix(home): stop herdr writing runtime state into the repo
herdr resolves its config directory as ~/.config/herdr and writes all of its
runtime state beside config.toml: herdr.sock, herdr-client.sock,
herdr-server.log, .plugins.lock, session.json and session-snapshots/. It offers
no option to relocate that directory, so linking the whole directory into this
repo made ~/.config/herdr resolve into the tracked tree and left every clone
permanently dirty with herdr's live sockets and snapshots.

Link only config.toml and let ~/.config/herdr be a real directory, so herdr's
state lands in $HOME instead of the working tree.

home-manager links a file by resolving the existing directory symlink, which
would move this repo's own tracked config.toml to config.toml.backup and leave
a symlink inside the tree. Add a one-time activation step that drops the stale
symlink before home-manager checks link targets; it is a no-op once
~/.config/herdr is a real directory.
2026-10-05 21:25:29 -04:00
Lap Tran 6e0bc81e85 chore(codex): route Codex to OpenCode Go without clobbering ChatGPT auth
The ChatGPT desktop app owns and rewrites ~/.codex/config.toml, so symlinking
that file into the repo leaked the app's own config (model, [desktop],
[plugins], [mcp_servers]) into git and got clobbered on launch.

- Stop symlinking ~/.codex/config.toml; keep it app-owned and merge the repo
  fragment home/.codex/config.toml into it on every activation
  (home.activation.codexOpenCodeGo + home/bin/codex-opencode-go-sync).
- Replace requires_openai_auth with a command-backed token
  (~/.local/bin/opencode-go-token reads the key from the opencode store), so
  ~/.codex/auth.json stays in ChatGPT mode and ChatGPT sign-in coexists with Go.
- Add the Codex 0.160+ profile file home/.codex/luna.config.toml (gpt-6-luna).
- Declare the chatgpt + codex casks; document the decision in AGENTS.md.

Verified: default deepseek-v4.1-flash and --profile luna both return over the Go
Responses API while auth.json remains in chatgpt mode.
2026-10-04 15:07:33 -04:00
Lap Tran 65adb4cceb no-mistakes(test): Fix no-mistakes agent:auto to [pi] migration using sed 2026-09-30 21:05:39 -04:00
Lap Tran 258dc2afa1 chore: select Pi gate agent and DeepSeek default 2026-09-30 21:05:39 -04:00
Lap Tran e6fdd6884d chore: move agent routing to OpenCode Go; add firstmate tooling
- crew-dispatch.json: route crew tasks to OpenCode Go models
- opencode/opencode2: pin opencode-go/gpt-6-luna
- grok: default to grok-4.5 with high reasoning, permission auto
- home.nix: axiTools activation for the *-axi CLIs; crewmate harness
  opencode; no-mistakes agent list opencode-only
2026-09-27 21:30:11 -04:00
Lap Tran a35c0bb744 Manage opencode 1.x config via home-manager and isolate opencode2
- Symlink ~/.config/opencode/opencode.json and skills/ from dotfiles
  so opencode 1.x config survives rebuild with zap cleanup
- Track cloud-deploy, cloudflared, github-cli, no-mistakes,
  playwright-cli, and read-tweet skills in repo
- Update opencode2 model to opencode/muse-spark-1.2-contributor-free
- Rotate opencode.json/skills in rebuild.sh alongside existing
  managed paths
2026-09-21 21:55:00 -04:00
Lap Tran ab3b67af92 gate: add kunchenguid/no-mistakes for all Nix harnesses
- home.nix: add home.activation.noMistakes (declarative install to
  ~/.no-mistakes/bin + daemon via launchd, global config fallback
  agent: [pi, opencode, grok, claude, codex] covering every harness
  declared in Nix; fix shadowing of jonathanong npm no-mistakes)
- ~/.no-mistakes/config.yaml: switched from auto to ordered fallback,
  pi first (firstmate crewmates), then opencode/grok
- home/.pi/agent/*, home/.grok/config.toml, home/.config/opencode2:
  align to oMLX/qwen3.6-35b local model (was mixed Talos/genesis)
- rebuild.sh: ensure grok-build upgrade and OpenCode 1.x install on
  rebuild (stable CLI for free-tier, opencode2 beta is 426 there)
- dotfiles repo: no-mistakes init (gate at
  ~/.no-mistakes/repos/916cb6ded81b.git, remote no-mistakes)
2026-09-21 17:38:35 -04:00
Lap Tran 8bcc11c108 Silence Determinate Nix options.json warning on rebuild
Disable Home Manager's home-configuration.nix manpage so rebuilds no longer generate options.json with a nixpkgs store path that lacks string context. Package man pages are unchanged.
2026-09-18 15:14:43 -04:00
Lap Tran 4c6e85c97c Switch firstmate to OpenCode 2 and refresh nix-darwin pins
Point fm at the isolated oc2 wrapper, upgrade Homebrew packages on rebuild, and declare ffmpeg, docker-desktop, puremac, utm, node, and tea. Update nixpkgs, home-manager, and nix-homebrew locks. Track Pi agent config, crew-dispatch, and the Gitea PR helper that home.nix already expected.
2026-09-18 13:58:49 -04:00
Lap Tran 4a0bff0331 dotfiles: add beets, sync-music script, firstmate, ngrok, openssh, gh/tmux/treehouse/opencode/pi brews 2026-08-08 21:20:27 -04:00
Lap Tran 6eee2509a4 Add Grok Build agent config adapted from Claude Code setup
Wire shared AGENTS.md and Claude settings through home-manager, plus a
native Grok config (always-approve, rose-pine) and a `gb` yolo alias.
2026-07-18 23:03:12 -04:00
Lap Tran bcabdec9c7 Fix ls aliases and add herdr config 2026-07-18 22:54:23 -04:00
Lap Tran ee7ed15ce7 feat: fix dotfiles configuration and add home-manager 2026-07-18 09:21:51 -04:00