Commit Graph
32 Commits
Author SHA1 Message Date
Lap Tran 1dc582d689 chore(pi): record Pi 1.5.0 runtime settings state 2026-11-07 17:27:33 -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 b4dfbd7540 chore: remove yt-transcribe-watcher 2026-10-25 15:49:56 -04: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 9264bd0adf Revert "opencode2: hide OpenCode Console models after its key expired"
The Console key never expired: it still authenticates and the OpenCode
provider is reconnected, so the free models work again. Restore the
opencode provider and its free models in the OpenCode 2 config.

This reverts commit 14d6b0ecc145539e11656c5176a1b331ab4836a8.
2026-10-25 13:06:47 -04:00
Lap Tran 9cb78880ce opencode2: hide OpenCode Console models after its key expired
Deny provider.use for opencode and disable its free models, so the model
picker no longer offers models that need the removed Console credential.
2026-10-25 13:06:47 -04:00
Lap Tran 78424d2778 no-mistakes(test): Verify timeout enforces limit before sandbox exec 2026-10-25 12:43:36 -04:00
Lap Tran 59bdaa6e2a no-mistakes(review): Remove silent stale run-dir deletion from start 2026-10-25 12:33:40 -04:00
Lap Tran c45d61387f no-mistakes(review): Fix stop guard order, accumulate EXCLUDE lines, drop run-parent override 2026-10-25 12:29:39 -04:00
Lap Tran 76ff344ff5 feat(home): add security-audit-sandbox wrapper 2026-10-25 12:22:48 -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 738c1de3f9 Switch crew dispatch to free DeepSeek V4.1 Flash 2026-10-20 21:27:50 -04: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
hermes 26790706c8 Merge pull request 'fix(opencode): set 256k context limit for Muse Spark models' (#5) from fm/fm-crew-context-256k into main 2026-10-06 17:20:30 -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 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 258dc2afa1 chore: select Pi gate agent and DeepSeek default 2026-09-30 21:05:39 -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 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 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