INT-C1: retain the installed interpreter in CLI runs#150
Merged
Conversation
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.
Summary
hermes-workflows rundirectly through the environment that installed the console scriptuvsubprocess trampoline_run-engine,--direct, andHERMES_WORKFLOWS_UV_CHILDbypass contractBase and consumed contracts
fc423c13e46049a3ac3928da2008523abc0fe4d9cedd3be81c59a33fc319af055ac7fb16e47cc6c102f201c538a614b5df585f0d6f4559bd9f9e4bf41979089e8f6b23241939b1bd63e14fe1007f62bce1e7a09e0c52702b4ab93e9a70520fd5ede4f9e3ba3b1fc1015a76f02acced6e7aee7b89b4a40d14d99da904455a33a0406062289cad5ce5cea17fe2afcefc08e3354d97b8edad8f948bf8cd4d690ec7fc9eb5ae0797c5cbdfcf51d6b9be551e6ba85331is not an ancestorTDD receipt
Red:
Green:
Focused CLI + installed-environment + typed quickstart/public-doc regressions:
Clean wheel / installed CLI / fake-uv receipt
A clean wheel was built, installed with
--no-depsinto a fresh temporary venv, and invoked through<temp-venv>/bin/hermes-workflowswith a marker-writing fakeuvfirst onPATH.{"wheel_sha256":"d334aaacf24c7597007de14681d6e56939003544df82f258817db79a33b70c3e","installed_cli_shebang":"#!<temp-venv>/bin/python","python_executable":"<temp-venv>/bin/python","interpreter_under_venv":true,"package_origin_under_venv":true,"fake_uv_visible":true,"fake_uv_called":false,"public_run":{"status":"running","waiting_on":null},"public_worker":{"status":"waiting","waiting_on":"signal:operator.response:review_release_note"},"public_status":{"status":"waiting","waiting_on":"signal:operator.response:review_release_note"}}A second assertion pass against the installed CLI exited 0 with the same under-venv interpreter, typed wait, and absent fake-uv marker.
Python matrix
Exact scope
git diff --checkis clean.fc423c13...HEADchanges exactly this closed five-path allowlist:src/hermes_workflows/cli.pytests/test_cli.pytests/test_uv_run_contract.pyREADME.mddocs/setup-for-agents.mdNo runtime core, registry, plugin/dist, package metadata, Palmer repository, or live
.hermes/**paths changed.GitHub checks
Terminal state at refreshed exact head
cedd3be81c59a33fc319af055ac7fb16e47cc6c1:build: passpytest (3.9): passpytest (3.11): passrelease-candidate: passdeploy: skipped as expectedThe qualified RC-CI-GUARD classified this exact five-path runtime diff as non-RC scope. The
release-candidatejob completed successfully after checkout and classification; its old-RC build, byte/identity verification, and artifact upload steps were skipped..github/workflows/test.ymlis byte-for-byte the qualified main version and is absent from the PR's net diff.Rollback
Revert this adapter commit only if needed, but do not restore implicit
uvexecution, environment stripping, or the hidden bypass contract. Any future project-specific environment runner must be an explicit separate command.Live-state boundary
No live profile install, registry/database mutation, worker/service restart, deploy/cutover, cron change, or other live mutation was performed. Do not merge before separate INT-C1 specification and quality reviews.