Repository navigation
Description
Overview
Programme M2 build (epic autonomous-orchestrators, phase 9). Human ruling, M1 gate 2026-11-12: A release publishes exactly the commits that passed rehearsal, even if main moved since (today release.yml checks out ref: main and has no commit input). The Colab bump moves off main. Release approval and versioning stay human.
Decision sheet with evidence: /mnt/c/Users/Jammy/Workspace/Science/scratch/ecosystem_review_2026-11/m2_decision_sheets/M2.4_release_rehearsed_shas.md.
Tier: glance — merge mode: auto-merge on green if the Witness passes, post-merge summary
Prompt
Prompt
Release: build the commits that were rehearsed, not main at release time
Type: feature
Target: PyAutoHands
Repos:
- PyAutoHands
- PyAutoBrain
Difficulty: medium
Autonomy: human-required
Priority: high
Status: draft
Filed: 2026-11-10
Epic: autonomous-orchestrators
Consequence: judge
Witness: a rehearsal followed by a release dry run in which a commit is pushed to one library'smainbetween the two: the release leg's log shows it checking out the rehearsed SHA (or stopping with "main moved since rehearsal"), and for a real releasegh api repos/PyAutoLabs/<lib>/compare/<rehearsed sha>...<tag>returnsidenticalfor every library
Review-minutes: 20
Unattended: never
Lane: any
Source: the ecosystem review of 2026-11-10, finding REL-4, confirmed by an independent verifier. Report: https://claude.ai/artifact/4A94P1cevvkESoM22QoMWm (private) and Science/scratch/ecosystem_review_2026-11/REPORT.md, section B8 and Appendix A. Verifier notes: verdicts/REL-4.json.
What happened on 2026-11-09. The nightly passed its GREEN gate on the main HEADs captured after the rehearsal. The rehearsal (09:18 to 09:37Z) and the live run's own TestPyPI leg both built PyAutoArray e2b05f004. PyAutoArray #681 and #683 merged at 10:43:57Z and 10:44:01Z. The release leg checked out main again at 10:58:29Z and tagged and published 6ae33d433, four commits and ten files ahead of what was rehearsed. One minute later PyAutoGalaxy and PyAutoLens main failed all three unit-test legs against the new PyAutoArray. The exposure runs from the rehearsal checkout to the release checkout, about 100 minutes that night.
With one human merging, this is rare. With many workers merging through the working morning, when the nightly actually runs, it becomes routine.
The change.
- Add a commit-SHA input per library to
PyAutoHands/.github/workflows/release.yml(the release legs useref: mainat:96-111and:469-484today). - Have the driver pass the rehearsed SHAs.
nightly.sh:408-423already capturescommit_shas.json. - Check out by SHA. When
mainhas moved, either release the rehearsed SHA or stop; the human rules which. - Put the Colab-bump commits on the tag or a release branch, not on
main.
Once this lands, the freeze flag is no longer needed to keep a release honest, and a merge during validation no longer makes the night STALE (2 blocked nights so far).
judge because it changes what a release publishes; the human approves the design and the first release made with it.
Activity
Jammy2211 commentedon Nov 13, 2026
Heart RED override (development only), recorded per AUTONOMY.md.
The live human authorized it at the programme M2 gate on 2026-11-13: "Override + merge all". That covers the development-only override for Brain#614, Heart#340 and Hands#337, and the merge command (order Mind, Hands, Brain, Heart), on condition that every required check is green within the turn.
Current RED reasons, verbatim (verdict ts 2026-11-12T22:43:14Z): "PyAutoNerves: 4 commit(s) behind origin"; "PyAutoFit: 2 commit(s) behind origin"; "PyAutoArray: 4 commit(s) behind origin"; "PyAutoGalaxy: on branch feature/galaxy-guide-rebalance (not main)"; "PyAutoGalaxy: 1 uncommitted source change(s)"; "PyAutoLens: 1 uncommitted source change(s)"; "PyAutoLens: 45 commit(s) behind origin"; "PyAutoCTI: 4 commit(s) behind origin"; "install verification FAILED (testpypi; checks F)"; "release validation FAILED (stage integrate)"
None of these is in Mind, Brain, Heart or Hands. Branch gates passed: tests, and an independent review CLEAN after fix rounds.
PRs: PyAutoLabs/PyAutoMind#564, #339, PyAutoLabs/PyAutoBrain#620, PyAutoLabs/PyAutoHeart#342
🤖 Generated with Claude Code
Merge pull request #339 from PyAutoLabs/feature/release-rehearsed-shas