Skip to content

review_release: clear the pending-release chain on a successful live run - #195

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/mind-post-cortex-p3-pr-ledger
Sep 3, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/mind-post-cortex-p3-pr-ledger

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Closes part of PyAutoLabs/PyAutoMind#392 — phase 3 of the mind-post-cortex epic (gap 2). The clearing step. Companions: PyAutoLabs/PyAutoMind#393 (the pending-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 canonical pending-release label exists on each release-window repo and dispatches release.yml — then returns. It never sees the publish.
  • /build and /release (Brain) coordinate and validate; neither removes a label.
  • Nothing anywhere in PyAutoHands, PyAutoBrain or PyAutoHeart removes the pending-release label today. That is the gap.

/review_release step 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_workspaces jobs succeeded — never a rehearsal, an unknown mode, or a failed live run:

  1. GitHub — the source of truth. Drop the pending-release label from the library's merged PRs (gh pr list --state merged --label pending-release, then gh pr edit --remove-label).
  2. Mind — the link. Delete the matching - pending-release: <lib>@<pr-url> lines from active.md rows and complete/ 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.
  3. Confirm. lifecycle.py check reports no pending-release warning for that library, and the regenerated dashboard.md no 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 -q in PyAutoHeart is unaffected by this diff.

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

…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
@Jammy2211
Jammy2211 merged commit b91c026 into main Sep 3, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/mind-post-cortex-p3-pr-ledger branch September 3, 2026 21:55
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