Point Nix at relocated CI scripts and remove legacy plan paths

This commit is contained in:
notplants
2026-11-23 20:11:51 +00:00
parent 8b883fb59f
commit 7d1de88657
143 changed files with 64 additions and 185 deletions
+3 -3
View File
@@ -80,12 +80,12 @@ DO THIS, in order — stop as soon as the run is healthy again:
`GET /session/{sid}/message`) and the open recipe PRs to see which enrolled recipes already have
a PR this week and which remain. Do NOT redo any recipe that already has a PR.
3. DRIVE TO COMPLETION. Prefer to RESUME the existing run (context preserved) once the environment
is healthy: `python3 {WORKDIR}/cc-ci-plan/launch-upgrader.py resume`. Then CONFIRM it actually
is healthy: `python3 {WORKDIR}/scripts/cc-ci/launch-upgrader.py resume`. Then CONFIRM it actually
restarted and is progressing (a fresh `opencode run … -s {sid} --continue` proc + the session
advancing). If the session is truly gone/unresumable, drive the remaining recipes yourself the
/upgrade-all way (per-recipe /recipe-upgrade DEFAULT-mode subagents, !testme verify), then make
sure the weekly summary is written to {WORKDIR}/.cc-ci-logs/upgrades/ and launch the public
report: `python3 {WORKDIR}/cc-ci-plan/launch-report.py fresh`.
report: `python3 {WORKDIR}/scripts/cc-ci/launch-report.py fresh`.
4. If on inspection the run is actually FINE (progressing) or already COMPLETE, do NOTHING.
5. Print `SUPERVISOR DONE` and go idle. Do NOT loop.
@@ -107,7 +107,7 @@ def spawn_supervisor(sid, reason):
kf = Path(LOG_DIR) / f".kickoff-{SUP_SESSION}.txt"
kf.write_text(build_kickoff(sid, reason))
share = "--share" if OPENCODE_SHARE else ""
cmd = (f"set -a; . /srv/cc-ci/cc-ci-plan/load-env.sh; set +a; {OPENCODE_BIN} run --model '{MODEL}' {share} "
cmd = (f"set -a; . /srv/cc-ci/scripts/cc-ci/load-env.sh; set +a; {OPENCODE_BIN} run --model '{MODEL}' {share} "
f"--attach '{OPENCODE_SERVER}' --title '{SUP_SESSION}' --dir {WORKDIR} \"$(cat '{kf}')\"")
_sh(["tmux", "new-session", "-d", "-s", SUP_SESSION, "-c", WORKDIR, cmd])
_sh(["tmux", "pipe-pane", "-o", "-t", SUP_SESSION, f"cat >> '{LOG_DIR}/{SUP_SESSION}.log'"])