-
Notifications
You must be signed in to change notification settings - Fork 3
Add direct wrapper tests for create-proofkit #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a4443ea
Add direct wrapper tests for create-proofkit
eluce2 160f846
fix lint: formatting and import order
eluce2 1f33a85
fix fmodata validation error cause semantics
eluce2 a9a82e3
Refine docs formatting and exclude cli-old workspace
eluce2 03d2a92
Add direct wrapper tests for create-proofkit
eluce2 78ef02c
fix monorepo ci regressions
eluce2 972bc5c
Remove cli-old entries from pnpm lockfile
eluce2 d4c97ee
Simplify CLI failure rendering logic
eluce2 09ddbf9
Simplify CLI renderFailure validation guard
eluce2 422a9fa
Fix CLI project file traversal errors
eluce2 26f84dd
Fix webviewer MCP setup fallback messaging
eluce2 d9d0a50
Fix CLI lint violations
eluce2 20ba49b
Require root CI before commits and fix test-layer confirm promise
eluce2 a5c9ea6
Stabilize CLI tests by removing rebuild races
eluce2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@proofkit/cli": major | ||
| --- | ||
|
|
||
| Rewrite the CLI package for better observability, composability, and error tracing. |
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1 @@ | ||
| # Agent Instructions | ||
|
|
||
| ## Landing the Plane (Session Completion) | ||
|
|
||
| **When ending a work session**, you MUST complete ALL steps below. Work is NOT complete until `git push` succeeds. | ||
|
|
||
| **MANDATORY WORKFLOW:** | ||
|
|
||
| 1. **File issues for remaining work** - Create issues for anything that needs follow-up | ||
| 2. **Run quality gates** (if code changed) - Tests, linters, builds | ||
| 3. **PUSH TO REMOTE** - This is MANDATORY: | ||
| ```bash | ||
| git pull --rebase | ||
| git push | ||
| git status # MUST show "up to date with origin" | ||
| ``` | ||
| 4. **Clean up** - Clear stashes, prune remote branches | ||
| 5. **Verify** - All changes committed AND pushed | ||
| 6. **Hand off** - Provide context for next session | ||
|
|
||
| **CRITICAL RULES:** | ||
| - Work is NOT complete until `git push` succeeds | ||
| - NEVER stop before pushing - that leaves work stranded locally | ||
| - NEVER say "ready to push when you are" - YOU must push | ||
| - If push fails, resolve and retry until it succeeds | ||
| Always run `pnpm run ci` from the root of the repo after completing a task and before committing. |
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,4 +10,4 @@ | |
| ], | ||
| "model": "gpt-5.3-codex", | ||
| "provider": "openai" | ||
| } | ||
| } | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| packageExtensions: | ||
| chalk@5.0.1: | ||
| dependencies: | ||
| "#ansi-styles": npm:ansi-styles@6.1.0 | ||
| "#supports-color": npm:supports-color@9.2.2 | ||
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: proofgeist/proofkit
Length of output: 266
🌐 Web query:
Yarn packageExtensions syntax with subpath imports💡 Result:
packageExtensionskeys are package descriptors (<packageName>@<semverRange>), not module-specifier strings, so you can’t target a subpath import likereact-dom/client(orlodash/fp) in the key. Yarn applies the extension to the package whose version matches the range. [1]Correct syntax
Each key is “a descriptor covering a semver range”; Yarn merges in
dependencies,peerDependencies, andpeerDependenciesMeta. [1][2]How this relates to subpath imports
If some package is doing
import "react-dom/client", the dependency it needs to list (and the one you can fix viapackageExtensions) is stillreact-dom, becauseclientis just a file/subpath inside that package (often governed by the package’sexports).packageExtensionswon’t change whether a given subpath is exported; it only amends dependency metadata. [1]Sources:
[1] Yarn
.yarnrc.ymlconfig docs (packageExtensionssection) (documents.devdocs.io)[2] Yarn configuration type for
packageExtensions(yarnpkg.com)Citations:
Remove the "#" prefix from dependency keys in packageExtensions — this syntax is invalid.
The keys
"#ansi-styles"and"#supports-color"violate Yarn'spackageExtensionsschema. According to Yarn documentation,packageExtensionskeys must be package descriptors in the format<packageName>@<semverRange>, not subpath import names with#prefixes.The correct syntax is:
Corrected packageExtensions syntax
Or using semver ranges:
Additionally,
chalk@5.0.1lists no dependencies on npm, so these overrides may be unnecessary. Verify whether these packageExtensions additions are required or if they can be removed entirely.🤖 Prompt for AI Agents