From 18cf116d70a3cc46dcf4b26363d29442d9437bb4 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 4 Nov 2026 22:04:18 +0000 Subject: [PATCH] release: add PyAutoCTI to rehearse/validate LIBRARIES and clean_slate (PyAutoHands#332) Co-Authored-By: Claude Opus 5.5 --- agents/conductors/release/rehearse.sh | 8 ++++---- agents/conductors/release/validate.sh | 8 ++++---- bin/clean_slate.sh | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/agents/conductors/release/rehearse.sh b/agents/conductors/release/rehearse.sh index 13ae81e5..c0b3f336 100755 --- a/agents/conductors/release/rehearse.sh +++ b/agents/conductors/release/rehearse.sh @@ -46,15 +46,15 @@ source "$HERE/../../_common.sh" BUILD_REPO="PyAutoLabs/PyAutoHands" RELEASE_WORKFLOW="release.yml" REHEARSAL_ARTIFACT="testpypi-rehearsal-version" -# The 5 libraries whose main HEADs the rehearsal is built from; readiness +# The 6 libraries (PyAutoCTI joined 2026-11-04, cti-upkeep phase 1) whose main HEADs the rehearsal is built from; readiness # confirms the ingested report's commit_shas against these. Bare names here # are intentional: `commit_shas.json` keys (and heart/readiness.py's # _GATE_SHA_LIBS) are bare repo names, e.g. "PyAutoNerves", not "owner/repo". # LIBRARIES_OWNER qualifies them ONLY for the get_commit MCP calls below -# (same convention as BUILD_REPO) — all five libraries live under this one +# (same convention as BUILD_REPO) — all six libraries live under this one # GitHub org in this ecosystem, but qualifying explicitly removes any # ambiguity for the agent executing the emitted plan. -LIBRARIES=(PyAutoNerves PyAutoFit PyAutoArray PyAutoGalaxy PyAutoLens) +LIBRARIES=(PyAutoNerves PyAutoFit PyAutoArray PyAutoGalaxy PyAutoLens PyAutoCTI) LIBRARIES_OWNER="PyAutoLabs" ref="main" @@ -149,7 +149,7 @@ Bash cannot call GitHub; execute these steps with Brain's MCP GitHub tools inputs: $inputs 2. POLL the run to completion (mcp__github__actions_get / actions_list). - The '$REHEARSAL_ARTIFACT' artifact is produced IFF all five wheels built, + The '$REHEARSAL_ARTIFACT' artifact is produced IFF all six wheels built, uploaded, and installed from TestPyPI — its presence IS the success signal. 3. DOWNLOAD the '$REHEARSAL_ARTIFACT' artifact into an artifacts directory diff --git a/agents/conductors/release/validate.sh b/agents/conductors/release/validate.sh index a8dd24df..b6e857ae 100755 --- a/agents/conductors/release/validate.sh +++ b/agents/conductors/release/validate.sh @@ -6,7 +6,7 @@ # the whole pipeline the release_validation.md spec lays out: # # Stage 0 (preflight) local read of Heart's cached repo_state / version_skew -# signals for the 5 libraries — all clean, on main, not +# signals for the 6 libraries — all clean, on main, not # behind; workspace pins not AHEAD/MISMATCH/BAD. Pure # local read; NO dispatch. Abort RED if any signal is bad # ("no point building a dirty tree"). @@ -84,9 +84,9 @@ source "$HERE/../../_common.sh" HEART_REPO="PyAutoLabs/PyAutoHeart" INTEGRATE_WORKFLOW="release-integrate.yml" INTEGRATE_ARTIFACT="release-stage-report" -# The 5 libraries whose Stage-0 cleanliness/CI signals gate the whole run. Bare +# The 6 libraries (PyAutoCTI joined 2026-11-04) whose Stage-0 cleanliness/CI signals gate the whole run. Bare # names match heart state's repos. keys and readiness' commit_shas keys. -LIBRARIES=(PyAutoNerves PyAutoFit PyAutoArray PyAutoGalaxy PyAutoLens) +LIBRARIES=(PyAutoNerves PyAutoFit PyAutoArray PyAutoGalaxy PyAutoLens PyAutoCTI) ref="main" minor="" @@ -450,7 +450,7 @@ print(json.dumps({ fi echo "== release agent: Stage 0/1 PREFLIGHT — reading Heart's cached signals ==" -echo "preflight: PASS (all 5 libraries clean/on main/not behind; no version-skew blockers)" +echo "preflight: PASS (all 6 libraries clean/on main/not behind; no version-skew blockers)" printf '%s' "$preflight_json" | python3 -c ' import json, sys for u in json.load(sys.stdin).get("unknowns", []): diff --git a/bin/clean_slate.sh b/bin/clean_slate.sh index 822adae2..e9a6a902 100755 --- a/bin/clean_slate.sh +++ b/bin/clean_slate.sh @@ -67,7 +67,7 @@ cd "$ROOT" || { echo "workspace root not found: $ROOT" >&2; exit 1; } DRY_RUN="${DRY_RUN:-0}" tag=""; [ "$DRY_RUN" = 1 ] && tag="[dry-run] " SCOPE="all" -PACKAGING_REPOS=(PyAutoNerves PyAutoFit PyAutoArray PyAutoGalaxy PyAutoLens) +PACKAGING_REPOS=(PyAutoNerves PyAutoFit PyAutoArray PyAutoGalaxy PyAutoLens PyAutoCTI) # Repos whose dataset/ dirs are auto-simulated by their own simulator scripts. # Deliberately excludes autolens_profiling, whose dataset/ dir holds real # instrument data (alma/sma/hst inputs), and autolens_inference, a project repo