Vendor the past-HEAD intx packages step 1 needs, with ledger - #830
Merged
TheGreatAxios merged 5 commits intoSep 8, 2026
Merged
Conversation
…or trees Step 1 of v0.4.0 needs primitives that upstream Interchange has but npm does not. npm verification first showed @intx/mailbox has never been published, @intx/harness 0.3.0 lacks the reply-drain connector drain, and @intx/mime 0.3.0 lacks buildMessageHeaders (which vendored mailbox re-exports), so those three are vendored verbatim at the same upstream commit as the existing trees. The hub-sessions substrate store, mail-memory transport, and the workflow-host step-invoker onEvent seam are all covered by published 0.3.0 packages, so they are pinned as dependencies instead of vendored. The never-published substrate-mailbox-store adapter from workflow-host is vendored as a partial-package source directory with no package wiring until Step 1 consumes it. Every vendored path now has a provenance row with an owner and a proposed kill date.
The browser-bundle exclusion comment still claimed @intx/mime was dist-only; mime is vendored source now. A local re-run of the excluded bundle test fails on @intx/crypto (published, dist-only, unresolvable from inside the vendor workspace), so the exclusion stays with a corrected explanation. The mailbox kill condition keyed to 0.4.0 could never trip because the package has no published versions at all; it now keys to any version publishing.
TheGreatAxios
changed the base branch from
cl-5698-vendor-intxagent-intxauthz-intxtools-posix-intxlog-at-interchange-head
to
main
September 8, 2026 03:17
…st-head-intx-packages-step-1-needs-with-ledger
…st-head-intx-packages-step-1-needs-with-ledger # Conflicts: # docs/VENDORING.md
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
e1ea87a9). Makes the vendoring Step 1 deliberate and dated: npm verified first, published deps preferred, one pin for every tree, and a provenance row with owner + proposed kill date for every vendored path.0205b07b64d03f0fec2e4be3593c764070a9ba8a(one pin, no mixing): vendor/intx-mailbox (verbatim, 0.2.2 overlay), vendor/intx-harness (verbatim, 0.2.2 overlay, carries reply-drain.ts), vendor/intx-mime (verbatim, 0.2.2 overlay — not in the original six: published @intx/mime@0.3.0 lacks buildMessageHeaders, which vendored mailbox re-exports, so published mime does not cover the need; vendored per the prefer-published-else-vendor rule and intx-agent's mime dep moved to workspace:* under a new root override), and vendor/intx-workflow-host/adapters/substrate-mailbox-store.{ts,test.ts} (app-internal adapter, 563 lines, never published in any release; no package.json of its own upstream, so it is vendored as a partial-package source directory mirroring upstream layout, not registered as a workspace and not imported anywhere — Step 1 decides its packaging when it consumes it).Verification
bun run check— exit 0 (lint, typecheck, build, guard, full suite 6263 pass / 0 fail)bun test vendor/intx-mailbox vendor/intx-harness vendor/intx-mime— 259 pass / 0 failgit archivefrom the upstream clone at0205b07b6f0296b2has a 77-character subject, over the 72-character limit; left in history rather than rewritten on a pushed shared branch. This branch's subsequent subjects comply.Fixes CL-7303