Skip to content

fix: normalize build context component paths#101

Open
nyxst4ck wants to merge 1 commit into
NVIDIA:mainfrom
nyxst4ck:fix/posix-build-context-paths
Open

fix: normalize build context component paths#101
nyxst4ck wants to merge 1 commit into
NVIDIA:mainfrom
nyxst4ck:fix/posix-build-context-paths

Conversation

@nyxst4ck

Copy link
Copy Markdown

Summary

  • Normalize build context component paths with Path.as_posix() so Windows emits forward-slash relative paths.
  • Update test helper file-cache builders to mirror the same portable path convention.

Test Plan

  • python -m compileall -q src\skillspector\nodes\build_context.py tests\test_mcp_least_privilege.py tests\test_mcp_tool_poisoning.py tests\nodes\test_semantic_quality_policy.py tests\nodes\analyzers\test_semantic_security_discovery.py tests\nodes\analyzers\test_semantic_developer_intent.py
  • git diff --check

Note: full pytest collection was not run locally because this machine only has Python 3.11, while the project requires Python >=3.12.

Fixes #86

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.

bug: build_context emits OS-native (backslash) component paths on Windows — non-portable SARIF + Windows test failures

1 participant