Commit Graph
35 Commits
Author SHA1 Message Date
Lap Tran f7411c2ade rebuild.sh: update flake inputs on every rebuild 2026-11-06 18:04:05 -05:00
Lap Tran b4120aaf88 rebuild.sh: update no-mistakes on every rebuild 2026-11-06 17:59:55 -05:00
Lap Tran ee43a5cd8f Route firstmate crews to paid Go DeepSeek V4.1 Flash
The free DeepSeek tier is metered, and exhausting it stalls a crew mid-task:
one build sat waiting for free quota to reset hours later. Crews now run
opencode-go/deepseek-v4.1-flash on the OpenCode Go subscription, which
OpenCode documents as zero-retention and not used for training.

The AGENTS.md line documenting crew routing is updated to match.
2026-10-16 16:50:14 -04:00
Lap Tran b2081fa14f Update lazy.nvim and record Pi changelog marker
lazy.nvim moved to 85c7ff3 after a plugin-manager update on this machine.
Both files are tracked so a fresh setup installs the same versions instead
of drifting to whatever is newest.

Also restore the trailing newline on settings.json, which a tool rewrote
without one.
2026-10-16 16:39:31 -04:00
Lap Tran efe174ba64 Route firstmate crews to the free DeepSeek model
Crews were routed to the paid OpenCode Go account. They now use the free
DeepSeek V4.1 Flash model, which OpenCode documents as zero-retention and
not used for training, so no repository code or prompt leaves retention.

The AGENTS.md line documenting crew routing is updated to match, and now
records which free models to avoid: the muse-spark contributor models train
on prompts, the exo-free, mimo and nemotron free models may use data to
improve the model, and cat-jam-free retains for 30 days.
2026-10-16 16:39:29 -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 9eaba6aae6 fix(opencode): set 256k context limit for Muse Spark models 2026-10-06 17:14:13 -04:00
Lap Tran 2e7bee5f61 feat: route firstmate crews to opencode harness
crew-dispatch.json: UI/image rule and default select opencode;
models (muse-spark-1.3-contributor, deepseek-v4.1-flash), providers,
and reasons unchanged. AGENTS.md records opencode crews and the
spawn-owned opencode-store login instead of Pi ambient auth.
2026-10-06 11:18:16 -04:00
Lap Tran e8447c3c28 fix: ignore herdr agent socket and session snapshots
*.sock never matched herdr.sock.agent and nothing covered
session-snapshots/, so both dirtied the working tree. The
home.activation.herdrConfigDir cleanup list already names them;
this brings .gitignore in line so a tree containing those runtime
paths reads clean.
2026-10-06 11:15:17 -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 b0d7087a46 fix(rebuild): rotate herdr config.toml backup as a file target
~/.config/herdr moved from a whole-directory home.file target to a file
target, so rebuild.sh must follow. Treat ~/.config/herdr/config.toml as a
managed file backup target and stop listing ~/.config/herdr as a directory
target, otherwise a real config.toml backed up to config.toml.backup would
fail the next switch with "would be clobbered".
2026-10-05 22:58:29 -04:00
Lap Tran 1eb147f3d3 no-mistakes(document): Record herdr config-dir invariant; flag stale rebuild.sh rotation 2026-10-05 22:49:57 -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 d61193561f no-mistakes(document): fix stale firstmate crew-harness value in AGENTS.md 2026-09-30 21:05:39 -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 a180dddff1 feat(nix): add client-only psql client (libpq) to Darwin config 2026-09-30 19:36:01 -04:00
Lap Tran 8169978311 chore(opencode): cap Luna and DeepSeek V4.1 Flash context under Luna's 272K pricing cliff 2026-09-28 15:49:15 -04:00
Lap Tran f02cbefa74 chore: ignore runtime state and build artifacts 2026-09-28 15:26:59 -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 b7a956ebc0 sync-music: scan ~/Music recursively so nested folders sync too 2026-08-09 16:17:58 -04:00
Lap Tran 9522a36040 fix sync-music: import as singletons to stop deleting album tracks
The script piped 'R' (remove old) into beets' duplicate-album prompt while
never actually clearing the library DB (it cleared a 0-byte dummy at the
wrong path, not beets/beets_library.db). Any two tracks sharing artist+album
caused the second import to delete the first's files from the NAS.

Import with --singletons so beets never matches against existing albums,
and answer 'S' (skip) if a prompt does appear. Drop the useless DB clear.
2026-08-09 14:28:14 -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