Skip to content

contracts/workflows.md says the package job's wheel check runs on four more wheels and its step 10 whole, tasks.md T017 says the macOS leg runs only --install, and the two locks' tomli entries are equal (closes opensoft/openRepoTools#275) - #12

Merged
brettheap merged 4 commits into
mainfrom
pick/275-spec-lane2
Nov 9, 2026

Conversation

@brettheap

@brettheap brettheap commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Lane: openRepoTools-2
Claim: opensoft/openRepoTools#275 (comment)

The spec side of this issue's code PR. These picks change text only. contracts/workflows.md says the
package job's wheel check is run on four more synthetic wheels, one for each check the first four
never reach, and that its step 10 is run whole on a stand-in for pipx's link; it words the refusals
of the wheel check and of step 10 as the checks themselves do; and it names the invariant that the
pipx lock's tomli entry equals the build lock's, which
test_tests_yml_pipx_lock_carries_the_build_locks_own_tomli_entry holds, as research.md R12 does.
tasks.md T017 says the macOS install leg runs only openRepoTools --install under bash 3.2.

The picks, from lane openRepoTools-2's branches in opensoft/openRepoTools, each made with git cherry-pick -x and followed by its source commit:

  • contracts/workflows.md says the package job's wheel check is run on four more synthetic wheels, one for each check the first four never reach, and that its step 10 is run whole on a stand-in for pipx's link
    (cherry picked from commit 8151c419d18af0290f698969b03902a07321caff)
  • tasks.md T017 says the macOS install leg runs only openRepoTools --install under bash 3.2, and contracts/workflows.md words the wheel check's and step 10's refusals as the checks themselves do
    (cherry picked from commit 363c975db686b290ddbeddc64750893135d8524a)
  • contracts/workflows.md's list of what tests/test_tests_workflow.py holds and research R12 now name the invariant that the pipx lock's tomli entry equals the build lock's, which test_tests_yml_pipx_lock_carries_the_build_locks_own_tomli_entry holds
    (cherry picked from commit 5446185376668ffedd94eae070fd63ab4a999ea5)

Closes opensoft/openRepoTools#275.

Lane: openRepoTools-2
Co-Authored-By: Claude Sonnet 5.5 [email protected]

🤖 Generated with Claude Code

Summary by Sourcery

Align the release workflow specifications with the documented wheel checks, pipx lock consistency requirement, and macOS installation scope.

Enhancements:

  • Clarify package workflow contract coverage for additional wheel validation cases and complete offline verification of the package job’s link-handling step.
  • Document the invariant that the pipx lock and build lock contain identical tomli requirements and digests.
  • Clarify that the macOS release install leg runs only openRepoTools --install under bash 3.2.

Documentation:

  • Update release workflow specifications, research notes, and task guidance to reflect the expanded validation behavior and lockfile invariants.

Brett Heap and others added 3 commits November 7, 2026 18:18
…our more synthetic wheels, one for each check the first four never reach, and that its step 10 is run whole on a stand-in for pipx's link (#275)

The "Held by tests/test_tests_workflow.py" list fixed that file to the release
build's four wheels, and said nothing of what step 10's run holds. The
previous commit makes the file run eight wheels and step 10 whole, so the list
now names the four added (a module's byte, a line in the stamp, a member no
check lists, a member twice) and the step 10 cases (the lines once each, 28
rows, and what is refused).

Left as they are, and not this issue's: the release build's own list above it,
which still says four wheels where tests/test_release_workflow.py has run
thirteen since #284; and tasks.md T015, which records the task as it was done.

Lane: openRepoTools-2
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 8151c419d18af0290f698969b03902a07321caff)
…nstall` under bash 3.2, and contracts/workflows.md words the wheel check's and step 10's refusals as the checks themselves do (#275)

The spec side of the code commit before this one.
- tasks.md T017 (the third NIT of lane 3's re-check of #228's pull request 2,
  and RV-C's S2): the bullet still said the release workflow's macOS install
  leg "is the one place the payload runs under bash 3.2". Read against the
  workflows, the payload runs under 3.2 in one place, release.yml's macOS-only
  step that runs `openRepoTools --install` under `/bin/bash`, once per
  dispatch, and no other command of the payload runs there: tests.yml has no
  macOS job. AGENTS.md says so since the S3 fix of #267 ("It is the one 3.2
  run anywhere, and runs no other command."), and the bullet now says the
  same.
- contracts/workflows.md, RV-C's NITs N2, N3 and N4, each in a line this
  branch wrote:
  - N2: step 10's receipt refusal said "a receipt that is not 28 rows". A
    receipt of 28 rows and a line that is no row is refused for its 29th
    line, so it now says "not 28 lines, each a row", as the step's own
    message does.
  - N3: "a member that no check lists" is now "a member that is no member
    `wheel.md` lists", the check's own words.
  - N4: "never a traceback" holds for the four refusals listed, and only for
    them: the check does not guard `wheel.read`, so a member the zip module
    cannot read ends in a traceback. The sentence now begins "Each of these
    refusals".

Left open: RV-C's N5, as the code commit says.

Part of #275.

Lane: openRepoTools-2
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 363c975db686b290ddbeddc64750893135d8524a)
…lds and research R12 now name the invariant that the pipx lock's tomli entry equals the build lock's, which test_tests_yml_pipx_lock_carries_the_build_locks_own_tomli_entry holds (#275)

The spec side of the one NIT in the final review of e98c874 (RVF-C; the
coordinator's verdict is #275 comment 6320860768, which calls it optional).
2120c39 added a test that holds the pipx lock's tomli entry equal to the build
lock's, and neither the contract's "Held by tests/test_tests_workflow.py" list
nor research R12 named that invariant.
- contracts/workflows.md: one bullet, after the one saying the package job's
  tomli comes from the build lock's own entry. It says the pipx lock's tomli
  entry is the build lock's, its requirement line (the version and the
  marker) and every digest, and why that matters: step 4 installs the build
  lock's tomli and step 7 the whole pipx lock, so the package's tests run on
  the pipx lock's entry.
- research.md R12: one sentence, in the Decision's bullet that names what a
  test holds. It says the same, in that bullet's idiom ("Another holds
  that ...").

The test compares the two requirement lines and the two digest lists sorted,
so the new text claims no more than that: it does not say the hash lines
are held in the same order.

Text only: nothing under .github/ or tests/ changes. `-k repo_hygiene` on this
tree: 237 passed, none skipped.

Part of #275.

Lane: openRepoTools-2
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
(cherry picked from commit 5446185376668ffedd94eae070fd63ab4a999ea5)
@sourcery-ai

sourcery-ai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Documentation

Document that the pipx lock’s tomli requirement and digests must match the build lock, alongside the research note describing the test that enforces this invariant.

  • specs/006-release-pypi/contracts/workflows.md L434-438
  • specs/006-release-pypi/research.md L302-304

Expand the package workflow test contract to cover the four additional synthetic wheels and the complete offline step-10 validation, including its refusal cases.

  • specs/006-release-pypi/contracts/workflows.md L440-454

Clarify that the macOS dispatch-only leg runs only openRepoTools --install under Bash 3.2.

  • specs/006-release-pypi/tasks.md L254

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

sourcery-ai[bot]
sourcery-ai Bot previously approved these changes Nov 8, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

The in-place merge of runbook v9: the stack grows by this clean merge, with no force-push.

Lane: openRepoTools-2
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant