Skip to content

Support solution-only workspace dependencies - #9

Merged
kim-em merged 4 commits into
leanprover:mainfrom
Vilin97:codex/solution-dependencies
Sep 28, 2026
Merged

kim-em merged 4 commits into
leanprover:mainfrom
Vilin97:codex/solution-dependencies

Conversation

@Vilin97

@Vilin97 Vilin97 commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Make solution-only dependencies available through the existing workspace resolver. An optional solution-dependencies.json lists package names and module roots: the packages are always included, and their roots are rejected in problem statement imports, including through local helpers. Pins stay in the existing dependencies.

Both library and JSON callers read the same file from the consumer root. There are no JSON schema changes. Supports leanprover/lean-eval#653.

Validation: generator build, dependency/module-path tests, and existing JSON contract tests pass. The focused Lean Pool test covers inclusion without statement imports, coexistence with TauCeti, and direct/quoted/helper import rejection. A JSON smoke check verifies shared-policy loading and unchanged output outside lakefile.toml.

@kim-em
kim-em merged commit 2dadd71 into leanprover:main Sep 28, 2026
1 check passed
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.

2 participants