chore(pi): select Pi as no-mistakes gate agent and DeepSeek V4.1 Flash default #2

Merged
hermes merged 3 commits from fm/dotfiles-pi-defaults into main 2026-09-30 21:59:45 -04:00
2 changed files with 10 additions and 8 deletions
Showing only changes of commit 258dc2afa1 - Show all commits

No files matched your search

+7 -5
View File
@@ -293,8 +293,10 @@ in
''; '';
# kunchenguid/no-mistakes gate (git push no-mistakes) - declarative install + daemon + global config # kunchenguid/no-mistakes gate (git push no-mistakes) - declarative install + daemon + global config
# Uses OpenCode only for pipeline steps (the opencode-go subscription), by the # Uses Pi for pipeline steps (the opencode-go subscription), by the captain's
# captain's decision. Binary lives in ~/.no-mistakes/bin # decision: Pi is a neutralization-capable gate agent, which opencode is not, so
# it is required to run the gate in firstmate's own checkout. Binary lives in
# ~/.no-mistakes/bin
# with symlink ~/.local/bin/no-mistakes (installer default). Do NOT npm install -g no-mistakes # with symlink ~/.local/bin/no-mistakes (installer default). Do NOT npm install -g no-mistakes
# - that npm name is jonathanong's static-analysis tool (shadowing bug fixed 2026-09-21). # - that npm name is jonathanong's static-analysis tool (shadowing bug fixed 2026-09-21).
home.activation.noMistakes = lib.hm.dag.entryAfter [ "writeBoundary" ] '' home.activation.noMistakes = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
@@ -308,14 +310,14 @@ in
fi fi
curl -fsSL https://raw.githubusercontent.com/kunchenguid/no-mistakes/main/docs/install.sh | sh curl -fsSL https://raw.githubusercontent.com/kunchenguid/no-mistakes/main/docs/install.sh | sh
fi fi
# Ensure global config selects OpenCode (idempotent - only writes if missing or still `agent: auto`) # Ensure global config uses Pi (idempotent - only writes if missing or still `agent: auto`)
cfg="$HOME/.no-mistakes/config.yaml" cfg="$HOME/.no-mistakes/config.yaml"
if [ -f "$cfg" ] && grep -qE '^\s*agent:\s*auto\s*$' "$cfg"; then if [ -f "$cfg" ] && grep -qE '^\s*agent:\s*auto\s*$' "$cfg"; then
tmp="$(mktemp)" tmp="$(mktemp)"
awk ' awk '
/^\s*agent:\s*auto\s*$/ { /^\s*agent:\s*auto\s*$/ {
print "# Managed by dotfiles/home.nix home.activation.noMistakes"; print "# Managed by dotfiles/home.nix home.activation.noMistakes";
print "agent: [opencode]"; print "agent: [pi]";
next next
} }
{ print } { print }
@@ -323,7 +325,7 @@ in
fi fi
if [ ! -f "$cfg" ]; then if [ ! -f "$cfg" ]; then
mkdir -p "$(dirname "$cfg")" mkdir -p "$(dirname "$cfg")"
printf 'agent: [opencode]\n' > "$cfg" printf 'agent: [pi]\n' > "$cfg"
fi fi
# Ensure daemon running (launchd on macOS) # Ensure daemon running (launchd on macOS)
"$bin" daemon restart >/dev/null 2>&1 || "$bin" daemon start >/dev/null 2>&1 || true "$bin" daemon restart >/dev/null 2>&1 || "$bin" daemon start >/dev/null 2>&1 || true
+3 -3
View File
@@ -1,8 +1,8 @@
{ {
"lastChangelogVersion": "0.84.1", "lastChangelogVersion": "0.87.1",
"theme": "rose-pine-moon", "theme": "rose-pine-moon",
"defaultProvider": "omlx", "defaultProvider": "opencode-go",
"defaultModel": "qwen3.6-35b", "defaultModel": "deepseek-v4.1-flash",
"models": [ "models": [
{ {
"name": "Qwen 3.6 35B (o4-mtp)", "name": "Qwen 3.6 35B (o4-mtp)",