Skip to content

pre_build: open the Heart freeze window before dispatching the release - #275

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/mind-post-cortex-p5-heart-freeze
Sep 3, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/mind-post-cortex-p5-heart-freeze

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Sep 3, 2026 •

Copy link
Copy Markdown
Collaborator

Closes part of PyAutoLabs/PyAutoHeart#196 — phase 5 (last) of the mind-post-cortex epic (assessment gap 6). The call site that opens the window. Companions: PyAutoLabs/PyAutoHeart#197 (the flag and its verb — merge that first) and PyAutoLabs/PyAutoBrain#347 (the read surfaces).

Why here

The prompt named review_release, pre_build and the nightly release run as the drivers that should set and clear the flag, and asked for the exact call sites to be identified and added. Reading them:

  • pre_build dispatches release.yml. That dispatch is the moment the validation window opens — everything after it is the run whose evidence a library merge would invalidate. This is the setter.
  • review_release (PyAutoHeart) triages the finished run; it clears a freeze the ingest did not. Done in the Heart PR.
  • pyauto-heart validate --ingest is the natural clear — the evidence landing is the end of the window. Done in the Heart PR, in code.
  • The scheduled nightly release run is CI: nightly.sh → Hands release.yml, unattended, on a runner where this dev-box state file does not exist. Wiring it would need the flag to live somewhere both the box and CI can see, which is a bigger change than this one. Documented, not edited blind (PyAutoHeart REFERENCE.md → "The release freeze window").

What changed

One markdown file: a step 1b in skills/pre_build/pre_build.md, between the version question and the autohands pre_build invocation:

pyauto-heart freeze --set "release validation" --until 3h --set-by pre-build

with why the window exists (a merge landing inside it restales the rehearsal, ~75 minutes, measured 2026-08-29), why --until is a backstop rather than a promise (over-long is cleared by the ingest anyway; too short silently thaws mid-validation), the three ways it clears, and what it does while set — /prm refuses a library PR, vitals and batch collect carry the line, and workspace/organ repos are not gated, so this skill's own workspace pushes are unaffected.

No change to bin/autohands pre_build: Build stays a pure executor, and this is a signal, not a precondition — where pyauto-heart is not on PATH the step is skipped and said so.

Tests

Documentation only; no code touched. Nothing in tests/ exercises this skill's prose.

Heart

pyauto-heart readiness is RED at PR-open: PyAutoLens: CI failure, release validation FAILED (stage integrate), PyAutoArray: open PR 11d old. None touches this diff (one skill markdown file). The RED is not acknowledged for this task, so merge needs the human's own call.

🤖 Generated with Claude Code

https://claude.ai/code/session_013HsZA1ufn3msgPiDFxEXa6

Dispatching `release.yml` opens a validation window: from there until the
run's evidence is ingested, the library `main` branches must not move, because
a merge landing inside it invalidates the evidence and restales the rehearsal
(~75 minutes, measured 2026-08-29). This is the call site that says so —
`pyauto-heart freeze --set "release validation" --until 3h --set-by pre-build`,
one step before the dispatch.

PyAutoHeart owns the flag (PyAutoHeart#196); Build only opens the window it is
itself opening. It clears three ways — `pyauto-heart validate --ingest` (the
evidence landing is the end of the window), `/review_release` when it triages
the run, or expiry — so nothing here has to remember to take it off. Skill
prose only: no change to `bin/autohands pre_build`, and where `pyauto-heart` is
not on PATH the step is skipped and said so. It is a signal, not a
precondition.

The scheduled nightly release run is deliberately NOT wired: it runs unattended
in CI, where this dev-box state file does not exist. Documented as such in
PyAutoHeart's REFERENCE.md rather than edited blind.

Refs PyAutoLabs/PyAutoHeart#196.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013HsZA1ufn3msgPiDFxEXa6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant