feat: add canonical Python project-context resolver#254
Merged
Conversation
This was referenced Jul 15, 2026
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.
Closes #246.
Implements the sole shared Python project/interpreter/environment/tool resolver for validation, scan, status, doctor, install/init, metrics, ASP, and installed-artifact paths. Integrates compiler provenance from #244, discovers nested projects and supported lock/config files through overlay-aware workspace callbacks, enforces PEP 440 target constraints, emits source-safe deterministic fingerprints, and keeps unresolved/ambiguous/degraded outcomes honest.
Post-implementation maintainer review repaired six correctness gaps before merge:
python_requiresis parsed statically.Verification at head
25084bd:npm run buildnpm run lintnode --test tests/contracts.test.mjs tests/validation-python.test.mjs tests/opcore-facade.test.mjs tests/asp-provider.test.mjs tests/installed-bins.test.mjs: 177/177opcore check --changed --json: exit 0zeroshot cmdproof check opcore-ci: exit 0, profile contract passed, no workspace drift; proofsha256:b8e6b9e171e929cf518c4f8768c1474ba46187462f7d9ea087a0812d5eac585dGenerated native artifact churn was restored before commit.