fix(case): keep work artifacts in the analysis project - #48
Merged
Conversation
dhicoc
added a commit
that referenced
this pull request
Aug 4, 2026
…tten guard PR #48 introduced -ProjectRoot as a [string] parameter. When test-p0-friction.ps1 passes -InScopeAssets as an array via `powershell -File`, the array is flattened and the second element binds to the -ProjectRoot positional slot, causing case artifacts to land in the wrong directory. Fix: - case-init.ps1: add [AllowEmptyString()] to -ProjectRoot so it can be explicitly passed an empty string under -File mode - test-p0-friction.ps1: pass -ProjectRoot $PackageRoot explicitly in the multi-asset lab init step to block the positional binding Verified: test-p0-friction 41/41 PASS, verify-routing-coherence PASSED.
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
-ProjectRootfor deterministic output when the skill is invoked from another directory; preserve-PackageRootcompatibility.Verification
powershell -NoProfile -ExecutionPolicy Bypass -File skills/scripts/verify-routing-coherence.ps1powershell -NoProfile -ExecutionPolicy Bypass -File skills/scripts/smoke.ps1Closes #45