Skip to content

Select bundled Loop versions and honor HG_BWRAP in Python launchers - #51

Merged
Xubqpanda merged 2 commits into
mainfrom
feat/loop-version-selection
Nov 10, 2026
Merged

Xubqpanda merged 2 commits into
mainfrom
feat/loop-version-selection

Conversation

@Xubqpanda

Copy link
Copy Markdown
Collaborator

Loop currently ships as 0.3.0, but historical experiments used 0.2.0. Add both to the existing harnessgrad harness list/install interface. harnessgrad harness install loop --version 0.2.0 exports the pinned pre-migration three-file Git tree; the printed directory works with harnessgrad run --harness-path. Omitting the version selects the bundled 0.3.0 template.

The source archive ships in the wheel, so export requires no Git history, Node or downloads. Archive integrity, installation inventories and modes are checked; edited installations are preserved and refused on reuse. Provenance stays outside the candidate to preserve the historical source tree. Dependencies are prepared separately using the selected version's contract. A matching version label alone never bypasses source/runtime/H0 reuse checks.

The independent first commit also makes managed Python preparation and bound Python service launchers honor HG_BWRAP. Explicit invalid paths fail without falling back; absent overrides retain their controlled system search path.

Validation:

  • Custom Bubblewrap/Python runtime/service regression: 119 passed, 8 environment-dependent skips.
  • Loop versions, existing installers, source-path runs, H0 identity and architecture checks: 77 passed.
  • CI guards, wheel resources and clean-install contracts: 193 passed, including offline 0.2.0 export from an installed wheel after the source checkout was removed.
  • No real model, benchmark or shared service changes.

Loop 0.2.0 is pinned to tree 7a811b3ab930a3f902eb50e18c504288f5eea0dc at platform revision b87be21. Runs with another 0.2.0 source should use their retained checkpoint.

@Xubqpanda
Xubqpanda merged commit d933b84 into main Nov 10, 2026
2 checks passed
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