docs: archive completed cc-ci build loops

This commit is contained in:
notplants
2026-11-23 19:53:30 +00:00
parent e490e4d884
commit 301843e5dc
146 changed files with 9016 additions and 8808 deletions
+11 -7
View File
@@ -1,5 +1,6 @@
# cc-ci.nix — the cc-ci ORCHESTRATOR: the Builder/Adversary loops supervisor, the operator's
# steering session, and the weekly-upgrade + hourly-supervisor timers. Nothing else.
# cc-ci.nix — the cc-ci operator session and weekly-upgrade/hourly-supervisor timers.
# The Builder/Adversary loop unit below is a compatibility path for the completed
# original build. Its plans and launcher live under archive/original-build/.
#
# Exported from this repo's flake as `nixosModules.cc-ci-orchestrator` (and, for the host that
# used to import it under the old name, `nixosModules.cc-ci`). Split out of the shared agent
@@ -13,7 +14,9 @@
# those are host concerns, provided by nix/modules/orchestrator-host.nix, not by this module.
{ config, pkgs, lib, ... }:
{
# cc-ci-loops supervisor — workspace staged 2026-05-31, so ENABLED for reboot-resilience.
# Legacy Builder/Adversary boot unit. The phase build is complete; launch.sh
# checks its DONE state and exits without starting those sessions. Keep this
# declaration and path unchanged while the compatibility unit remains enabled.
systemd.services.cc-ci-loops = {
description = "cc-ci Builder/Adversary loops + watchdog (launch.sh start)";
wantedBy = [ "multi-user.target" ]; # enabled after workspace staged (Hetzner cutover)
@@ -33,8 +36,8 @@
ExecStartPre = "${pkgs.bash}/bin/bash /srv/cc-ci/cc-ci-plan/reboot-log.sh";
};
# The loops backend is persisted in .cc-ci-logs/.loop-backend (opencode on the cc-ci host —
# no Claude there since 2026-09-07). The build phases are all DONE; on boot launch.sh just
# re-confirms that and exits.
# no Claude there since 2026-09-07). The archived build phases are DONE;
# on boot the compatibility launcher only confirms completion and exits.
environment = { RESUME_PHASE = "1"; HOME = "/home/loops"; };
path = [ pkgs.bash pkgs.tmux pkgs.git pkgs.python3 pkgs.openssh pkgs.nettools ];
script = ''
@@ -49,8 +52,9 @@
# cc-ci-orchestrator supervisor — the operator's steering session. Same shape as
# lichen-orchestrator / project-orchestrator above: this unit only LAUNCHES the orchestrator's
# tmux session via the agent-orchestrator harness (cc-ci-plan/agents.py); it does not own the
# session or the tmux server. The orchestrator agent is declared in cc-ci-plan/agents.toml
# (backend/model chosen there: an opencode agent, opencode/glm-5.2, attached to the shared
# session or the tmux server. This is the current operator steering agent,
# separate from the retired Builder/Adversary loops. Its backend/model are
# declared in cc-ci-plan/agents.toml; it attaches to the shared
# opencode web server — opencode-web.service in orchestrator-host.nix — and steered from its
# web UI; no Claude on this host, operator 2026-09-07). The harness watchdog (started by
# `agents.py up`) keeps it alive: heal-only (no stall reboots — a persistent supervisor must not