Repository navigation
review_release: clear the pending-release chain on a successful live run - #195
Merged
Merged
Conversation
…run (#392) This is the one step in the organism that establishes a release actually published — pre_build dispatches and /build coordinates, neither knows the outcome — so it is where the merged-but-unreleased chain is cleared: drop the `pending-release` label from the library's merged PRs, then delete the matching `pending-release:` / `release-gate:` lines from PyAutoMind's rows and records. Only for a live run whose release jobs succeeded. A release that was dispatched is not a release that published, and nothing else may clear these keys. Schema and division of labour: PyAutoMind/REFERENCE.md "The pending-release chain". Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013HsZA1ufn3msgPiDFxEXa6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes part of PyAutoLabs/PyAutoMind#392 — phase 3 of the
mind-post-cortexepic (gap 2). The clearing step. Companions: PyAutoLabs/PyAutoMind#393 (thepending-release:/release-gate:schema and its drift check) and PyAutoLabs/PyAutoBrain#344 (the dashboard's Pending release section).Why this skill
The prompt asked for the release step that clears
pending-release:to be identified exactly and edited. I read the candidates first:pre_build(PyAutoHands) asserts the canonicalpending-releaselabel exists on each release-window repo and dispatchesrelease.yml— then returns. It never sees the publish./buildand/release(Brain) coordinate and validate; neither removes a label.pending-releaselabel today. That is the gap./review_releasestep 5, the "Live run" branch, is the one step in the organism that establishes a release actually published — it reads the completed run's job graph and classifies the mode. So that is where the merged-but-unreleased chain is cleared, and a new step 6 spells it out.What changed
One markdown file. Step 5's "Live run" bullet now points at a new step 6, which runs only for a live run whose
release/release_workspacesjobs succeeded — never a rehearsal, an unknown mode, or a failed live run:pending-releaselabel from the library's merged PRs (gh pr list --state merged --label pending-release, thengh pr edit --remove-label).- pending-release: <lib>@<pr-url>lines fromactive.mdrows andcomplete/records, plus any- release-gate: <lib>on a workspace task the release unblocks — and tell the user which tasks those are, since they are now free to merge.lifecycle.py checkreports nopending-releasewarning for that library, and the regenerateddashboard.mdno longer lists it under Pending release.The closing line is the invariant: a release that was dispatched is not a release that published; nothing else may clear these keys.
Heart's boundary is unchanged — this adds bookkeeping to the human-facing triage door, not a new readiness signal, and nothing here re-derives or overrides a verdict.
Tests
Documentation only; no code touched.
python3 -m pytest -qin PyAutoHeart is unaffected by this diff.Heart
pyauto-heart readinessis 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