fix: run the weekly Recipe Report on DeepSeek V4.1 Flash

The report launcher (launch-report.py) defaulted to opencode-go/glm-5.3-flash,
i.e. the report was the remaining part of the weekly pipeline still on GLM
(subagents were already on deepseek-v4.1-flash). Point REPORT_MODEL and the
in-code default at opencode-go/deepseek-v4.1-flash ('DeepSeek V4.1 Flash 1017').
Upgrader + hourly supervisor stay on glm-5.3-flash.

Verified: 'launch-report.py status' resolves model=opencode-go/deepseek-v4.1-flash
both with and without upgrader.env sourced. The live override file
/srv/cc-ci/upgrader.env (untracked) was updated to match.
This commit is contained in:
2026-11-23 17:32:17 +00:00
parent f462ebe3d6
commit 9ffe1da59a
5 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: recipe-report
description: Generate the weekly public "Recipe Report" after the cc-ci /upgrade-all run. Reviews how the upgrade went and the state of every recipe + open PR, and publishes a self-contained HTML page to report.ci.commoninternet.net (one page per week + a home index). Page order: short lead → the full wire table (priority-sorted, CVE-count column, CVE recipes first) → Addendum of special issues → Security Bulletin → per-recipe "what changed". Read-only — reports, never merges or edits PRs. Runs as its own agent (model separately overridable via REPORT_BACKEND/REPORT_MODEL; defaults to the upgrader's backend+model, opencode-go/glm-5.2). Invoke as /recipe-report [YYYY-MM-DD].
description: Generate the weekly public "Recipe Report" after the cc-ci /upgrade-all run. Reviews how the upgrade went and the state of every recipe + open PR, and publishes a self-contained HTML page to report.ci.commoninternet.net (one page per week + a home index). Page order: short lead → the full wire table (priority-sorted, CVE-count column, CVE recipes first) → Addendum of special issues → Security Bulletin → per-recipe "what changed". Read-only — reports, never merges or edits PRs. Runs as its own agent (model separately overridable via REPORT_BACKEND/REPORT_MODEL; defaults to opencode-go/deepseek-v4.1-flash). Invoke as /recipe-report [YYYY-MM-DD].
---
# recipe-report
+1 -1
View File
@@ -275,7 +275,7 @@ End with the report path and a reminder that **nothing was merged**.
## 6. Launch the public Recipe Report
Once the summary is written, kick off the weekly public report (its own agent; model overridable via
REPORT_BACKEND/REPORT_MODEL, defaults to opencode-go/glm-5.2): **`python3 /srv/cc-ci/cc-ci-plan/launch-report.py fresh`** (use `fresh`, not `start` — the report
REPORT_BACKEND/REPORT_MODEL, defaults to opencode-go/deepseek-v4.1-flash): **`python3 /srv/cc-ci/cc-ci-plan/launch-report.py fresh`** (use `fresh`, not `start` — the report
is a one-shot and must always run a NEW session for THIS week, even if a previous report session is
still around). It runs `/recipe-report`, reviews this run + the live recipe/PR state, and publishes to
https://report.ci.commoninternet.net. Fire-and-forget — it runs independently; you can then go idle.
+4 -3
View File
@@ -4,7 +4,8 @@
The report agent's model is configured SEPARATELY from the upgrader (REPORT_BACKEND/REPORT_MODEL),
but defaults to the same OpenCode subscription as the upgrader (now OpenCode GO — the only tier
with a key on this host; ZEN models are dead here, see launch-upgrader.py). The model default tracks
the backend+tier (opencode+go→opencode-go/glm-5.3-flash, opencode+zen→opencode/glm-5.2, claude→opus).
the backend+tier (opencode+go→opencode-go/deepseek-v4.1-flash, opencode+zen→opencode/glm-5.2,
claude→opus). The report runs on DeepSeek while the upgrader/supervisor stay on GLM-5.3-Flash.
Usage:
launch-report.py start [DATE] use-or-create the session; runs /recipe-report [DATE]
@@ -26,7 +27,7 @@ WORKDIR = os.environ.get("REPORT_DIR", "/srv/cc-ci")
LOG_DIR = os.environ.get("LOG_DIR", "/srv/cc-ci/.cc-ci-logs")
BACKEND = os.environ.get("REPORT_BACKEND", "opencode")
TIER = os.environ.get("LOOP_TIER", os.environ.get("REPORT_TIER", "go"))
_TIER_MODEL = {"go": "opencode-go/glm-5.3-flash", "zen": "opencode/glm-5.2"}
_TIER_MODEL = {"go": "opencode-go/deepseek-v4.1-flash", "zen": "opencode/glm-5.2"}
_DEFAULT_MODEL = _TIER_MODEL.get(TIER, _TIER_MODEL["go"]) if BACKEND == "opencode" else "opus"
MODEL = os.environ.get("REPORT_MODEL", _DEFAULT_MODEL)
CLAUDE_BIN = os.environ.get("CLAUDE_BIN", "claude")
@@ -127,7 +128,7 @@ def start(mode, date):
if BACKEND == "opencode":
if OPENCODE_SHARE:
log(f" attached to {OPENCODE_SERVER} → https://oc.ci.commoninternet.net +public --share link")
# Watchdog for the report too: it runs on glm-5.3-flash sharing the same opencode-go budget the
# Watchdog for the report too: it runs on deepseek-v4.1-flash sharing the same opencode-go budget the
# upgrade run just drained, so a 429 stall is likely. Reuse launch-upgrader.py's watchdog,
# pointed at THIS (cc-ci-report) session with a report-specific marker + resume prompt. It
# runs under the tmux server (survives the systemd oneshot like the run sessions).
+5 -2
View File
@@ -11,7 +11,10 @@ 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 —
for all three launchers: upgrader, report, supervisor). Model default tracks the
upgrader + supervisor). **2026-11-23: the REPORT launcher (`launch-report.py`) was 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
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
@@ -45,7 +48,7 @@ claude-tuned, so it misreports an active opencode run as "idle/finishing" — ch
Gotcha fixed: opencode `-m/--model`/`--attach`/`--share`/`--title` are flags on the `run`
SUBCOMMAND — they must come AFTER `run` (a global `opencode --model X run` is silently ignored).
`launch-report.py` also defaults to opencode-go/glm-5.2 now (overridable via REPORT_BACKEND/REPORT_MODEL).
`launch-report.py` defaults to opencode-go/deepseek-v4.1-flash now (2026-11-23; overridable via REPORT_BACKEND/REPORT_MODEL).
In the weekly flow the upgrader writes the summary inline AND auto-launches the report (upgrade-all §6).
**Usage limit + auto-resume watchdog (added 2026-06-23):** opencode-go enforces a ROLLING usage window
+3 -2
View File
@@ -95,8 +95,9 @@
# UPGRADER_ARGS, …). The leading "-" makes it optional: absent file → the in-code defaults,
# which are opencode + LOOP_TIER=go (the only tier with a key on this host; ZEN models are
# dead here — the in-code default is 'go' for exactly that reason, see launch-upgrader.py).
# Current config: LOOP_TIER=go with LOOP_MODEL / REPORT_MODEL / SUPERVISOR_MODEL all
# opencode-go/glm-5.3-flash (upgrader, report, supervisor). Subagents bind deepseek via the
# Current config: LOOP_TIER=go with LOOP_MODEL / SUPERVISOR_MODEL
# opencode-go/glm-5.3-flash (upgrader, supervisor) and REPORT_MODEL
# opencode-go/deepseek-v4.1-flash (the public Recipe Report). Subagents bind deepseek via the
# cc-ci repo's opencode config. No rebuild needed to switch — the env file is read at each
# timer fire. Holds no secrets (the API key lives in the opencode config / auth.json).
EnvironmentFile = "-/srv/cc-ci/upgrader.env";