Merge pull request 'Move active CI tooling out of cc-ci-plan and archive plans' (#51) from chore/relocate-cc-ci-plan into main

Merge CI directory relocation
This commit was merged in pull request #51.
This commit is contained in:
2026-11-23 20:12:03 +00:00
127 changed files with 70 additions and 158 deletions
+1 -2
View File
@@ -3,8 +3,7 @@
This repository declares the combined cc-ci NixOS host and runs its operator steering
session, weekly recipe upgrader, report, and host updater. The Builder/Adversary
phase build is finished. Its plans, prompts, and launch implementation are under
`archive/original-build/`; compatibility links remain at old paths because the
unchanged Nix `cc-ci-loops` service still calls `cc-ci-plan/launch.sh` on boot.
`archive/original-build/`; the legacy Nix `cc-ci-loops` service only records reboots.
Do not restart the completed Builder/Adversary loops.
Start with `README.md` for current operations and `archive/README.md` for history.
+8 -9
View File
@@ -8,15 +8,14 @@ the [cc-ci repository](https://git.autonomic.zone/recipe-maintainers/cc-ci).
| Current component | Location |
|---|---|
| Combined host and timers | `flake.nix`, `nix/hosts/cc-ci/`, `nix/modules/` |
| Operator session, weekly upgrade and report launchers | `cc-ci-plan/agents.py`, `cc-ci-plan/launch-{upgrader,report,supervisor}.py` |
| Recipe inventory, upstream notes, reporting tools | `cc-ci-plan/used-recipes.md`, `cc-ci-plan/upstream/`, `cc-ci-plan/recipe-report.py` |
| Operator session, weekly upgrade and report launchers | `scripts/cc-ci/agents.py`, `scripts/cc-ci/launch-{upgrader,report,supervisor}.py` |
| Recipe inventory, upstream notes, reporting tools | `data/cc-ci/used-recipes.md`, `data/cc-ci/upstream/`, `scripts/cc-ci/recipe-report.py` |
| Host provisioning and migration | [`docs/host-provisioning-and-migration.md`](docs/host-provisioning-and-migration.md) |
| Original Builder/Adversary build | [`archive/original-build/`](archive/original-build/README.md) |
Secrets and runtime state are gitignored. The completed two-loop build is
archived; no Builder or Adversary session should be running. The Nix
`cc-ci-loops` unit still invokes a compatibility launcher on boot and exits
when it sees the completed phase state. Its Nix behavior is unchanged.
Secrets and runtime state are gitignored. The completed two-loop build and historical plans are archived. Active executables live under `scripts/cc-ci/`; Nix units now call the new script paths directly.
No Builder or Adversary session should be running. The Nix
`cc-ci-loops` unit only records the boot ID; it does not launch retired loops.
## Host updates and recovery
@@ -44,9 +43,9 @@ when it sees the completed phase state. Its Nix behavior is unchanged.
# Operating the orchestrator
The cc-ci orchestrator on this host is an **opencode agent** (`cc-ci-plan/agents.toml`:
backend `opencode`, model configured in `cc-ci-plan/agents.toml`), launched on boot by `cc-ci-orchestrator.service`
via `cc-ci-plan/agents.py up orchestrator` into tmux session `cc-ci-orchestrator`, attached to
The cc-ci orchestrator on this host is an **opencode agent** (`scripts/cc-ci/agents.toml`:
backend `opencode`, model configured in `scripts/cc-ci/agents.toml`), launched on boot by `cc-ci-orchestrator.service`
via `scripts/cc-ci/agents.py up orchestrator` into tmux session `cc-ci-orchestrator`, attached to
the shared opencode web server. Steer it from the web UI, **https://oc.ci.commoninternet.net**
(basic auth, user `oc`), where the weekly upgrader's and report's sessions show up too.
There is no Claude Code on this host: Claude sessions run on the notplants-orchestrator box and
+4 -2
View File
@@ -1,9 +1,9 @@
# archive/ — how cc-ci and its orchestrator were built and moved, before the combined host
Historical record. Original-build compatibility launch files are linked from `cc-ci-plan/`; the Nix unit reads those paths but the completed loops do not run. It was moved out of the live
Historical record. Original-build launch files live under `original-build/cc-ci-plan/`; the completed loops do not run. It was moved out of the live
tree on 2026-09-07 when the CI server and the orchestrator were consolidated onto one Hetzner
host (`nixosConfigurations.cc-ci` in `../flake.nix`; deploy guide in `../README.md`; the plan
that did it is `../cc-ci-plan/plan-cc-ci-combined-host.md`).
that did it is `original-build/cc-ci-plan/plan-cc-ci-combined-host.md`).
| path | what it was |
|---|---|
@@ -21,3 +21,5 @@ that did it is `../cc-ci-plan/plan-cc-ci-combined-host.md`).
The cc-ci server's own history (machine-docs, decisions, the clean-room rebuild that proved
"two repos + one age key + one `nixos-rebuild switch`") is in the cc-ci repo under
`machine-docs/` and `docs/`.
Current CI plans formerly under `cc-ci-plan/` are in `plans/cc-ci-plan/`.
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/README.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/adversary-verify-pr6.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/brief.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/concurrency-restructure-full-plan.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/concurrency-restructure-plan.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/kickoff.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/launch-assistant.sh
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/launch-opencode.sh
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/launch-orchestrator.py
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/launch-orchestrator.sh
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/launch-upgrader.sh
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/launch.py
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/launch.sh
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/msg-loop.sh
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/orchestration.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/orchestrator-opencode-restart.txt
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/overnight-run.sh
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/phase6-phase7-summary-2026-06-01.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-cc-ci-combined-host.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-mirror-enroll-all-recipes.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-overnight-run.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-bsky-fix.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-canon-canonical-sweep.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-cf48-opus-cfold-review.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-cf55-gpt55-cfold-review.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-cfold-custom-folder.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-dash-recipe-history.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-drone-enroll.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-dstamp-discourse-drift.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-ghost-reeval.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-gtea-gitea-fulltests.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-kuma-monitor.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-lvl5-lint-rung.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-mailu-backup.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-nixenv-shared-runtime-env.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-prevb-previous-dynamic-base.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-pvcheck-post-proxy-verification.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-pvfix-swarm-proxy.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-pxgate-proxy-healthgate.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-redfix-canon-sweep-failures.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-regall-recipe-regression.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-samever-older-base-fallback.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-settings-ci-server-config.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase-shot-screenshots.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase1b-review-lint.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase1c-full-reproducibility.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase1d-generic-test-suite.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase1e-harness-corrections.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase2-recipe-tests.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase2b-test-performance.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase2pc-image-cache.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase2w-warm-canonical-quick.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase3-results-ux.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase4-final-review-polish-cleanup.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase5-verify-upgrade-flow.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase6-reconcile-all-mirrors.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-phase7-upgrade-three-recipes.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-prepull-images.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-proxy-vip-exhaustion-fix.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-recipe-report-skill.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-report-pr-status-column.md
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan-server-regression-canaries.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/plan.md
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/prompts
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/recipe-custom-restructure-full-plan.md
-1
View File
@@ -1 +0,0 @@
../../archive/original-build/cc-ci-plan/systemd/cc-ci-loops.service
-1
View File
@@ -1 +0,0 @@
../archive/original-build/cc-ci-plan/test-e2e-testme-acceptance.md
@@ -2,15 +2,15 @@
Per-recipe maps of **where each image's release notes / changelog live**. This is the cc-ci analog of
recipe-maintainer's `recipe-info/<recipe>/upstream.md`: the `/recipe-upgrade` skill reads
`cc-ci-plan/upstream/<recipe>.md` so it doesn't have to rediscover the upstream source for every image
`data/cc-ci/upstream/<recipe>.md` so it doesn't have to rediscover the upstream source for every image
on every weekly run — discover once, persist, reuse.
## How `/recipe-upgrade` uses it (step 1)
1. Read `cc-ci-plan/upstream/<recipe>.md`.
1. Read `data/cc-ci/upstream/<recipe>.md`.
2. If it's **missing**, or an image in the recipe's `compose.yml` **isn't covered** (new/renamed
service), discover the upstream project + releases page for each uncovered image (WebSearch the
image → its GitHub/source repo → its releases/changelog page), then **write/update** this file and
commit it (`git -C /srv/cc-ci-orch add cc-ci-plan/upstream/<recipe>.md && commit && push`).
commit it (`git -C /srv/cc-ci-orch add data/cc-ci/upstream/<recipe>.md && commit && push`).
3. Fetch the release notes **from these URLs** between the current → target version of each service.
## Format (one file per recipe)

Some files were not shown because too many files have changed in this diff Show More