Merge branch 'agent/nixos-eval-fix' into dev
nixos flake checks / invariant-checks (push) Successful in 1m41s
test-runner / smoke (push) Successful in 1s

This commit is contained in:
oqyude committed 2026-11-01 18:15:11 +03:00
commit 41b1fe1922
3 files changed
+25 -11

No files matched your search

+8 -3
View File
@@ -67,9 +67,14 @@
# headless-сервер для engipy (sapphira проксирует /api/* на него).
# Если пользователь берёт ноутбук в руки — пусть остаётся правило
# по умолчанию (suspend); но для unattended-режима нужно ignore.
services.logind = {
lidSwitch = "ignore";
lidSwitchDocked = "ignore";
#
# 2026-11-01: `services.logind.lidSwitch` / `lidSwitchDocked` переименованы
# в nixpkgs (`services.logind.settings.Login.HandleLidSwitch{,Docked}`) —
# старое имя работает, но печатает предупреждение при каждой оценке.
# Значения те же, что и у systemd в logind.conf.
services.logind.settings.Login = {
HandleLidSwitch = "ignore";
HandleLidSwitchDocked = "ignore";
};
system.stateVersion = "26.05";
+13 -7
View File
@@ -74,12 +74,18 @@ let
pluginSpec = "oh-my-opencode-slim@3.0.5";
# Model ids are validated against the provider registry, not against taste.
# `opencode models` on this host lists the opencode-go registry, which is the
# account the director already spends from: state/quota.json
# `provider_selection.model` = opencode-go/deepseek-v4.1-flash, and every
# worker session the director mints is created with exactly that pair. Using
# the same provider for the agents makes the director's quota gate guard the
# model the agents actually run, instead of a second, invisible budget.
# `opencode models` on this host lists the console providers of the
# OpenCode console accounts (console-oqyude, console-gobin) next to the
# opencode-go and minimax-coding-plan registries. An id that is NOT in that
# list is a ProviderModelNotFoundError at spawn time — the kimi-for-coding
# class of bug (see R1.x).
#
# 2026-11-01: default model moved
# opencode-go/deepseek-v4.1-flash -> console-oqyude/MiniMax-M3.1-Flash
# Reason: the owner moved the agent models to minimax through the opencode
# console: oqyude is the primary console account, gobin the fallback one
# (both are MiniMax token plans behind the console). Both ids are in the
# registry — verified with `oc models` on sapphira, 2026-11-01.
#
# 2026-10-26: default model moved
# minimax-coding-plan/MiniMax-M3.1-Flash -> opencode-go/deepseek-v4.1-flash
@@ -93,7 +99,7 @@ let
# (MiniMax-M3.1-Flash-Preview, MiniMax-M2.7-highspeed, ... — the retired v1
# plugin config referenced the -Preview id everywhere; same class of bug as
# the kimi-for-coding incident described in R1.x).
modelFast = "opencode-go/deepseek-v4.1-flash";
modelFast = "console-oqyude/MiniMax-M3.1-Flash";
# nixpkgs ast-grep only ships binary `ast-grep`; omo's ast-grep skill probes
# for `sg` (or ast-grep). Provide both via a symlink wrapper.
+4 -1
View File
@@ -66,7 +66,10 @@
theme = "bgrt";
};
consoleLogLevel = 3; # Enable "Silent boot"
initrd.verbose = false;
# `boot.initrd.verbose` was REMOVED upstream (nixpkgs 26.05+): the
# scripted stage 1 is gone, and the systemd stage 1 has no such option.
# Its verbosity is governed by `rd.systemd.show_status` (kernelParams
# below) instead — set that to 0 there for a fully silent initrd.
kernelParams = [
"quiet"
"splash"