refactor: publish compiled ESM package artifacts - #27
Merged
Merged
Conversation
This was referenced Aug 26, 2026
Contributor
Author
|
Final implementation report for the compiled ESM migration:
|
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
vp packcompilation for all five code packagesdist/output the package export/bin contract while preserving root-only ESM libraries, Bun-only tools, external dependencies, canonical host metadata, and deterministic artifact assemblyVerification
bun run auditbun run fmt:checkbun run lintbun run typecheckbun run effect-tsgo:diagnosticsbun run checkbun run test— 14 files, 117 testsbun run check:target-conformancebun run artifactsbun run verify:artifactsbun run check:public-boundarybun run smoke:installvp packbuilds produced identical 30-file path/hash manifestsbun run eval:replay -- ...rebuilt the package graph and wrote the sanitized replay reportomp-reviewer --base origin/maincompleted with no findingsThe artifact packer rebuilds all package outputs inside the immutable source-commit snapshot, byte-compares the live ignored outputs, and stages only snapshot-built bytes. The verifier proves five package archives, five host archives, one skills candidate, four bounded receipts, exact Node 24 tarball imports, an embedded-TypeScript source-mapped frame without raw source installed, and the absence of raw TypeScript, host paths, private material, CommonJS fallbacks, bundled declared dependencies, and stale source exports.
No package was published, tagged, released, deployed, installed, or submitted to an OpenAI portal.
Closes #11
Closes #18