Skip to content

feat: a release builds the rehearsed commits (M2.4) #337

Closed

Description

@Jammy2211

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's main between 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 release gh api repos/PyAutoLabs/<lib>/compare/<rehearsed sha>...<tag> returns identical for 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.

  1. Add a commit-SHA input per library to PyAutoHands/.github/workflows/release.yml (the release legs use ref: main at :96-111 and :469-484 today).
  2. Have the driver pass the rehearsed SHAs. nightly.sh:408-423 already captures commit_shas.json.
  3. Check out by SHA. When main has moved, either release the rehearsed SHA or stop; the human rules which.
  4. 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

  1. Jammy2211 commented on Nov 13, 2026

    @Jammy2211
    CollaboratorAuthor

    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

  2. added a commit that references this issue on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions