Commit Graph
69 Commits
Author SHA1 Message Date
Lap Tran 5a7388066e Add Splash Inkling model to Pi picker 2026-11-26 15:14:22 -05:00
Lap Tran ad55229df8 no-mistakes(document): Clarify rebuild updates and check guidance 2026-11-23 17:57:16 -05:00
Lap Tran 022967e277 no-mistakes(review): Manage lint tools and preserve Pi packages 2026-11-23 17:31:01 -05:00
Lap Tran 4a31495181 no-mistakes(review): Fix updater ownership and behavioral coverage 2026-11-23 13:10:09 -05:00
Lap Tran 4e1b65b5d2 feat(rebuild): update every installed component from one rebuild 2026-11-23 12:49:53 -05:00
Lap Tran 2e2578ead8 no-mistakes(document): Note fm-oc2 alias in AGENTS.md and test header 2026-11-16 09:28:25 -05:00
Lap Tran 208e6741f3 feat(firstmate): add explicit fm-oc2 launcher alias and test all three aliases
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.
2026-11-16 09:21:44 -05:00
Lap Tran 055c2eed91 no-mistakes(document): update crew-dispatch check description in readme 2026-11-15 23:05:29 -05:00
Lap Tran 0aa25b27f0 fix(firstmate): route documentation to Beam Free and guard the OpenCode 2 launcher
Add a documentation dispatch rule that uses opencode-go/beam-free while the
default workers stay on opencode-go/deepseek-v4.1-flash. Preserve the existing
UI rule and the Pi/GPT design exception.

Add live checks for the two operator-facing contracts:
- tests/fm-launcher.sh sources the zshrc that home-manager generates, runs fm
  with harmless pi and oc2 spies, and requires OpenCode 2 through oc2.
- tests/crew-dispatch.sh reads the dispatch config through firstmate's own
  bootstrap validator and asserts the default, documentation, UI, and design
  profiles.

Document the permanent fm decision, the no-mistakes model split, and the
minimal install procedure after merge.
2026-11-15 22:46:25 -05:00
Lap Tran f905570156 Add wimlib for splitting Windows install images to USB media 2026-11-12 19:55:00 -05:00
Lap Tran 5bf1e05091 no-mistakes(document): correct stale backpass skip reference in comment 2026-11-11 13:08:13 -05:00
Lap Tran 9598499dcf no-mistakes(review): match real backpass and acpx launch paths 2026-11-11 12:49:41 -05:00
Lap Tran 9addc502fa no-mistakes(review): always install latest backpass and acpx on rebuild 2026-11-11 12:39:56 -05:00
Lap Tran d4e8c24b2f fix(home): converge backpass and acpx to the latest npm release on rebuild
Both npm globals were installed only when the binary was missing, so a
rebuild never moved them and the installed copies drifted behind the
registry. Read the installed version and the registry's latest instead,
and install only when they differ.

The running-process guard skips a package while one of its own processes
is alive, the registry lookup and the install warn and continue on
failure so the switch never aborts, and one shared function serves both
packages.
2026-11-11 12:29:27 -05:00
Lap Tran f21d20e1f7 fix(opencode): drop the dead automaton-guard plugin reference
The global OpenCode config pointed at ~/.automaton/plugins/automaton-guard, which no longer exists, so every OpenCode session logged Plugin failed to load. The automaton guard now ships only for Pi as automaton-guard-pi.
2026-11-08 22:29:47 -05:00
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 78f2928132 no-mistakes(document): Correct rebuild.sh npm guard comment 2026-11-08 18:39:19 -05:00
Lap Tran 877ee5d163 Leave OpenCode unpinned so the linked brew build tracks latest
State the upgrade-on-rebuild behavior at the formula and drop version labels from the rebuild comments.
2026-11-08 18:30:32 -05:00
Lap Tran ac7888c9a5 no-mistakes(document): Drop pinned OpenCode version from docs 2026-11-08 18:29:13 -05:00
Lap Tran 2787bcc9ac no-mistakes(review): Remove stale OpenCode npm shims and fix oc2 hint 2026-11-08 18:13:24 -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 2a147c911a no-mistakes(review): Remove retired OpenCode 2 npm beta during rebuild 2026-11-08 12:23:20 -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 c84f536c76 no-mistakes(review): Declare codex provider for the Pi design dispatch rule 2026-11-08 10:46:13 -05:00
Lap Tran 2005db22e6 feat(home): route design tasks to Pi GPT-6.1 Sol and set herdr dracula theme 2026-11-08 10:31:34 -05:00
Lap Tran 550c94d58a no-mistakes(document): Correct pinned pstack commit record claim 2026-11-07 18:11: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 1214e00300 Merge remote-tracking branch 'origin/main' 2026-11-07 17:27:33 -05:00
Lap Tran 1dc582d689 chore(pi): record Pi 1.5.0 runtime settings state 2026-11-07 17:27:33 -05:00
Lap Tran 4d0662b09e rebuild.sh: update pi extensions on every rebuild 2026-11-07 09:50:12 -05:00
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