fix: DeepSeek for the whole weekly run; move timer to Saturday

Follow-up to #43. The upgrader parent (LOOP_MODEL) and hourly supervisor
(SUPERVISOR_MODEL) should also use DeepSeek V4.1 Flash, not just the report.
So all three launchers and upgrader.env now default to
opencode-go/deepseek-v4.1-flash (subagents already did).

Also move cc-ci-upgrade-all.timer from Thu 22:00 to Sat 22:00
America/New_York, so the weekly run + the report it launches happen on the
weekend and avoid DeepSeek's weekday peak-pricing windows
(01:00-04:00 & 06:00-10:00 UTC).

Verified: importing each launcher resolves deepseek-v4.1-flash; Python parses
clean; 'systemd-analyze calendar' gives next elapse Sun 03:00 UTC (Sat 22:00 ET),
which is a weekend. NixOS host rebuilt test->switch to apply the timer.
This commit is contained in:
2026-11-23 17:37:49 +00:00
parent e1769a561e
commit c7ef5994b1
5 changed files with 32 additions and 28 deletions
+8 -6
View File
@@ -1,6 +1,6 @@
---
name: weekly-upgrader-opencode-go-glm
description: weekly upgrade run now defaults to opencode-go/glm-5.3-flash (PR #20, 2026-09-14); zen tier dead on this host; how backend/model + monitoring are wired
description: weekly upgrade run now defaults to opencode-go/deepseek-v4.1-flash for upgrader + report + supervisor (2026-11-23), timer moved to Sat 22:00 America/New_York; zen tier dead on this host; how backend/model + monitoring are wired
metadata:
node_type: memory
type: project
@@ -10,11 +10,13 @@ metadata:
The weekly recipe-upgrade run (`cc-ci-plan/launch-upgrader.py`, fired by the
`cc-ci-upgrade-all` systemd timer Thu 22:00 Boston) now **defaults to backend=opencode,
model=opencode-go/glm-5.3-flash** when no env is set (operator choice 2026-09-08 via
`/srv/cc-ci/upgrader.env`; PR #20 hardcoded the same defaults into the launchers 2026-09-14 —
upgrader + supervisor). **2026-11-23: the REPORT launcher (`launch-report.py`) was moved to
`/srv/cc-ci/upgrader.env`; PR #20 hardcoded the same defaults into the launchers 2026-09-14).
**2026-11-23: ALL main agents (upgrader parent, report, hourly supervisor) were moved to
`opencode-go/deepseek-v4.1-flash`** (display name "DeepSeek V4.1 Flash 1017") at the operator's
request; `upgrader.env` `REPORT_MODEL` and the in-code default now both say deepseek, while
LOOP_MODEL / SUPERVISOR_MODEL stay glm-5.3-flash. Model default tracks the
request — `upgrader.env` `LOOP_MODEL`/`REPORT_MODEL`/`SUPERVISOR_MODEL` and the in-code defaults
in all three launchers now say deepseek. The timer was also moved from Thu 22:00 to **Sat 22:00
America/New_York** so the whole run + report lands on the weekend, avoiding DeepSeek's weekday
peak-pricing windows (01:00–04:00 & 06:00–10:00 UTC). Model default tracks the
backend — an explicit `LOOP_BACKEND=claude` (no model) falls back to `sonnet`.
**2026-09-14 — ZEN IS DEAD ON THIS HOST.** The ZEN provider models (`opencode/glm-5.2`) are
@@ -69,7 +71,7 @@ renamed from `babysit` 2026-06-23.)
reuses it for the REPORT job (`cc-ci-report` session, marker `RECIPE REPORT COMPLETE`) — the report runs on
glm-5.2 sharing the same opencode-go budget the upgrade run drains, so it can 429-stall too. `_run_pids()`
is scoped to the managed session (title or `-s <sid>`) so the two watchdogs never kill each other's process.
Weekly timer: Thu 22:00 America/New_York; no `LOOP_BACKEND`/`upgrader.env` override ⇒ glm-5.2 defaults.
Weekly timer: **Sat 22:00 America/New_York** (moved from Thu on 2026-11-23 to land on the weekend/off-peak DeepSeek pricing); no `LOOP_BACKEND`/`upgrader.env` override ⇒ deepseek-v4.1-flash defaults for upgrader/report/supervisor.
See [[orchestrator-backend-switch-gotcha]].
**2026-07-04 hardening (after the 2026-07-03 run stalled on a HOST DISK-FULL and never resumed —