mergedhumanPR #238Transport
fix(path): preserve the explicit profile in rerun commands
Generated Path rerun commands used --profile, but the already-running-agent CLI consumes --path-profile. A rerun therefore used the current default instead of the profile recorded in the evidence bundle.
Description
The pitch.
## Summary Generated Path rerun commands used `--profile`, but the already-running-agent CLI consumes `--path-profile`. A rerun therefore used the current default instead of the profile recorded in the evidence bundle. This changes the generated flag and adds a regression that runs the generated command through the actual CLI against a local reference agent after changing the test's default. The resulting bundle must retain the original profile, endpoint and pinned-card guard. This is a prerequisite for changing the default Path transport profile. It does not change the evaluator, transport or protocol. ## Verification - RED: Path suite 9 passed, 1 failed. The generated rerun silently selected the changed default. - GREEN: Path suite 10 passed. - Full suite: 183 passed, nine pre-existing warnings. - Independent spec/quality review approved. Combined with pending #233–#237, coverage and new transport profile: 267 tests passed. ```sh python -m pytest -q tests/test_path.py python -m pytest -q ```
Try it
Open PR on GitHubView diffCheckout locally
git fetch origin pull/238/head:pr-238
git checkout pr-238