Skip to content

Pin openRepoShape at 32450eb (its main, 2026-09-11): --doctor/--preflight, the generated docs/cli.md, the doctor's placement row and the platform-aware quoter; none of the eight mounted files moved - #16

Merged
brettheap merged 1 commit into
mainfrom
chore/bump-openreposhape-pin-32450eb
Sep 11, 2026

Conversation

@brettheap

@brettheap brettheap commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

openRepoShape's main moved four commits past the old pin (0fa73b7): --doctor/--preflight (3d46ab5), the generated docs/cli.md from scripts/render-cli-reference.py (90e30ff, openRepoShape#97), the doctor's placement row (d249fc0, openRepoShape#99), and shape-doctor.py's platform-aware quoter (32450eb, openRepoShape#101/#102). git -C upstream/openRepoShape diff --name-status 0fa73b7d 32450eb5 touches only AGENTS.md, README.md, adopt-project.py, docs/, openRepoShape, scripts/render-cli-reference.py, setup-project.py, shape-doctor.py and tests/ — none of the eight files the suite mounts (the assembly-root and family-root Makefiles, their two .gitignores, the two bootstrap.pys, siblings.py, scripts/repo_shape.py), so those eight are byte-identical between the two commits.

The three rules of AGENTS.md's pin section, as run: nothing under upstream/openRepoShape was edited (1); gh api repos/opensoft/openRepoShape/compare/main...32450eb5 reports identical, so the commit is on that repository's main (2); the digest was recomputed with the pinned checkout's own scripts/repo_shape.py (sorted-ls-tree-r-v1) and is 9be1ba5a6181602abb5e5962a3f69d7b02b09002541be19c74d1cd11338201f7, never adjusted (3). The pin file and the gitlink move in this one commit. Suite with the new checkout: 251 passed, 0 skipped. workBenches already vendors openRepoShape at this same commit (opensoft/openBenches#50).

🤖 Generated with Claude Code

Summary by Sourcery

Pin openRepoShape to the validated 32450eb commit and update its integrity digest without changing the mounted files.

Enhancements:

  • Update the openRepoShape dependency to commit 32450eb, incorporating its latest upstream tooling and documentation changes while preserving the mounted file surface.

Tests:

  • Verify the updated upstream pin and tree digest with the full suite, which passes 251 tests with no skips.

…eflight`, the generated `docs/cli.md`, the doctor's `placement` row and the platform-aware quoter; none of the eight mounted files moved

openRepoShape's main moved four commits past the old pin: `--doctor`/`--preflight`
(3d46ab5, one command for whether a repository is compliant, machine-checked by
`--preflight`), the generated `docs/cli.md` from `scripts/render-cli-reference.py`
(90e30ff, #97), the doctor's `placement` row for a file living where the policy
puts it (d249fc0, #99), and `shape-doctor.py`'s platform-aware quoter so a root
or name with a space in it is a line that runs (32450eb, #101/#102). `git -C
upstream/openRepoShape diff --name-status 0fa73b7d 32450eb5` touches only
AGENTS.md, README.md, adopt-project.py, docs/cli.md, docs/handbook.html,
openRepoShape, scripts/render-cli-reference.py, setup-project.py,
shape-doctor.py and tests/ — none of the eight files
`tests/test_park_resume_commands.py` mounts (the assembly-root and family-root
Makefiles, their two `.gitignore`s, the two `bootstrap.py`s, `siblings.py` and
`scripts/repo_shape.py`), so those eight are byte-identical between the two
commits. `gh api repos/opensoft/openRepoShape/compare/main...32450eb5` reports
`identical`, so the commit is on that repository's `main`. The digest
recomputed with the pinned checkout's own `scripts/repo_shape.py`
(`sorted-ls-tree-r-v1`) is
9be1ba5a6181602abb5e5962a3f69d7b02b09002541be19c74d1cd11338201f7.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 11, 2026 13:19

@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.

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 1 day and 13 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Sep 11, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the openRepoShape submodule pin from 0fa73b7 to 32450eb and refreshes its verified tree digest, importing upstream doctor/CLI improvements while preserving all mounted suite files; validation reports 251 passing tests with no skips.

Flow diagram for verifying the openRepoShape pin update

flowchart LR
    Pin[contracts/openreposhape-pin.yaml\ncommit 32450eb\ntree digest 9be1ba5a]
    Gitlink[upstream/openRepoShape\ngitlink 32450eb]
    Compare[gh api compare\nmain...32450eb5\nidentical]
    Digest[scripts/repo_shape.py\nsorted-ls-tree-r-v1]
    Tests[tests/test_upstream_pin.py\n251 passed, 0 skipped]

    Pin --> Gitlink
    Gitlink --> Compare
    Gitlink --> Digest
    Pin --> Digest
    Digest --> Tests
    Compare --> Tests
Loading

File-Level Changes

Change Details Files
Pins the vendored openRepoShape source and updates its integrity digest.
  • Moves the submodule gitlink from 0fa73b7 to 32450eb.
  • Recomputes the sorted-ls-tree-v1 SHA-256 digest without modifying mounted suite files.
  • Keeps the pin metadata aligned with the repository main commit and verification rules.
contracts/openreposhape-pin.yaml
upstream/openRepoShape
Brings in upstream CLI and doctor-related functionality through the new pin.
  • Adds --doctor and --preflight support.
  • Includes generated CLI documentation and the doctor's placement row.
  • Uses platform-aware quoting in shape-doctor.py.
upstream/openRepoShape
Verifies that the pin update preserves the mounted suite and passes validation.
  • Confirms none of the eight mounted files changed between the old and new upstream commits.
  • Runs the suite with 251 tests passing and no skips.
  • Confirms the pinned commit matches upstream main and the digest was computed by the pinned checkout's tooling.
tests/test_upstream_pin.py
upstream/openRepoShape

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

@sonarqubecloud

Copy link
Copy Markdown

Copilot AI 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.

🟢 Approval recommended

The pin and digest are validated, with all 251 tests passing.

Pull request overview

Updates the openRepoShape pin to validated commit 32450eb5 and its integrity digest.

Changes:

  • Advances the upstream commit and submodule gitlink.
  • Records the recomputed tree digest.
  • Full suite passes: 251 tests, 0 skipped.
File summaries
File Summary
contracts/openreposhape-pin.yaml Updates the upstream commit and tree digest.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@brettheap
brettheap merged commit 0a6bb34 into main Sep 11, 2026
7 checks passed
@brettheap
brettheap deleted the chore/bump-openreposhape-pin-32450eb branch September 11, 2026 13:48
brettheap added a commit that referenced this pull request Nov 10, 2026
…ode ecd1bce reads the manual Amendment 23's act 2 moved with that code (part of #186)

The `exact-pins` job of composed run 42869994409 failed, 2 failed and 4,275
passed, because this pull request moved the code leg to ecd1bce and left the
spec leg at 64a1a98. Both tests that failed read docs/README-lanes.md, the
lane manual, from the spec leg at the root's pin, and that manual predates
Amendment 23 act 2's manual changes (opensoft/openRepoTools-spec#15 and #16),
which shipped with the code that ecd1bce carries:

- test_the_exit_3_documentation_agrees_with_the_die_message_it_describes
- test_no_text_promises_the_carry

both in tests/test_repo_hygiene.py. Moving only the code leg was the defect.

The spec leg moves to spec main 0ba7469 (after opensoft/openRepoTools-spec#21,
v1.2.0's final notes). 64a1a98 is an ancestor of it. The digest under
sorted-ls-tree-r-v1 goes from
0aa2803cf44fc7494369144ff85aa93d79ac713314ea0c9fdcbfdb3ced1fb055 to
9eb1f0d7a9430186dfd8d5649d93fd811c0fe6ae97b1b5b9b770b43816ea93d3, and a
separate script recomputes both. No workflow reference names the spec leg by
sha, so the gitlink and contracts/spec-pin.yaml are the whole change.

Written by bump-leg.py (openRepoShape 5017830), then amended for this message
only; the tree is the tool's.

Lane: openRepoTools-3
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
brettheap added a commit that referenced this pull request Nov 10, 2026
… and the spec leg from 64a1a98 to 0ba7469, moving each gitlink and its pin together with bump-leg.py (part of #186)

openRepoShape's bump-leg.py made both changes, one leg per commit,
run from the copy of the standard mounted in the code leg, openRepoShape
5017830 (v1.1.1), as README.md's "The lockstep invariant" says a leg
moves:

    bump-leg.py --root ROOT --leg code \
        --to ecd1bce
    bump-leg.py --root ROOT --leg spec \
        --to 0ba746943d9f17eb6977d926ada477101d9abb98

What moved:
- The gitlink at code/ moves from
  e393958 to
  ecd1bce, the commit tag v1.2.0
  names and the one PyPI's openrepotools 1.2.0 was built from.
  contracts/code-pin.yaml's tree_sha256 goes from
  72a75178cdec3ef57ced77520846a67b0673e2e0cef6b88a28b6e937743b0c6d to
  f44ef8716263a7d0f8ea3e2f200eca398b178ee6c362e00ef41ed156c1d4280f.
- The gitlink at spec/ moves from
  64a1a989fe7b04daf3bc2a236739a01f0aa7291a to
  0ba746943d9f17eb6977d926ada477101d9abb98, spec main after v1.2.0's
  final notes (opensoft/openRepoTools-spec#21).
  contracts/spec-pin.yaml's tree_sha256 goes from
  0aa2803cf44fc7494369144ff85aa93d79ac713314ea0c9fdcbfdb3ced1fb055 to
  9eb1f0d7a9430186dfd8d5649d93fd811c0fe6ae97b1b5b9b770b43816ea93d3.
- The tool recomputed each digest from the leg's own objects under
  sorted-ls-tree-r-v1, and two independent reviews recomputed both.
- No workflow reference names either leg, so none moves.

Why both legs move: the composed suite reads the manual,
docs/README-lanes.md, from the spec pin. With code alone at ecd1bce,
exact-pins run 42869994409 failed 2 of 4,277 tests, test_repo_hygiene's
exit-3 documentation test and its carry test, because the manual at
64a1a989 predates Amendment 23 act 2's halves
(opensoft/openRepoTools-spec#15 and #16), whose code ecd1bce carries.
At spec 0ba7469 both pass, and exact-pins run 42900872074 passed on this
head.

Lane openRepoTools-3's independent reviews read READY at d54c99a and
at c14f10f. It lands on Brett Heap's word in lane openRepoTools-3's
session on 2026-11-10, "Land when green (Recommended)", under lane
openRepoTools-1's #186 claim, and it settles lane 1's question 1 to
him as 1B. After it, the one-line install and a checkout carry
openRepoTools 1.2.0 (#228).

Part of #186 and #228.

Lane: openRepoTools-3
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

Development

Successfully merging this pull request may close these issues.

2 participants