Skip to content

Commit 0d5c14c

Browse files
Merge pull request #1015 from corbitsdev/cl-7898-verify-docsvendoringmd-against-the-vendored-tree
Correct vendoring doc claims against the vendored tree
2 parents 653e4e9 + 0be894d commit 0d5c14c

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

docs/VENDORING.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ vendored tree mixes pins.
8282

8383
`vendor/intx-workflow-host/adapters/` is a partial-package vendor: upstream
8484
`packages/workflow-host` has a `package.json`, but this tree carries only
85-
the never-published `substrate-mailbox-store` adapter (source + its test,
86-
563 lines, documented on-disk layout, O(delta) flushes). It is
85+
the never-published `substrate-mailbox-store` adapter (the source file alone
86+
is 563 lines, plus its 586-line test, documented on-disk layout, O(delta)
87+
flushes). It is
8788
deliberately **not** a workspace member and nothing in `src/` imports it —
8889
Step 1 decides whether to wire it as a package when it consumes it. Its
8990
`@intx/hub-sessions/substrate` and `@intx/mailbox` imports resolve once
@@ -117,17 +118,20 @@ exist in the newer `@intx/types`.
117118
The 2026-09-07 sync also vendored the remaining four consumed packages
118119
(`@intx/agent`, `@intx/authz`, `@intx/log`, `@intx/tools-posix`) at the
119120
same upstream commit, completing the set: every `@intx/*` package this
120-
repo imports now resolves to vendored source. None of the four carried
121+
repo imports now resolves to vendored source, except `@intx/crypto` and
122+
`@intx/tools-lsp`, which remain direct published-npm imports at `0.3.0`.
123+
None of the four carried
121124
local patches at vendoring time. `@intx/agent` later gained the error-seq
122125
patches ledgered in `vendor/intx-agent/PATCHES.md`; the other three remain
123126
verbatim upstream copies. `@intx/tools-lsp` remains on published npm
124127
(`0.3.0`) — it is a thin adapter whose transitive `@intx/*` dependencies
125128
resolve to the
126129
vendored workspaces via root `overrides`, so it tracks the vendored set
127-
without being vendored itself. Published transitive dependencies that
128-
stay on npm (`@intx/crypto`, `@intx/inference-discovery`,
129-
`@intx/inference-testing`) are pinned to the root's published versions so
130-
the lockfile never nests duplicate copies of them either.
130+
without being vendored itself. `@intx/crypto` (root `dependencies`) and
131+
`@intx/inference-testing` (root `devDependencies`) are pinned at `0.3.0`;
132+
`@intx/inference-discovery` resolves transitively at `0.3.0` via `bun.lock`
133+
with no direct root pin, so the lockfile never nests duplicate copies of
134+
them either.
131135

132136
A `version` field of `"0.2.2"` in a vendored package's `package.json` is a
133137
carried-over convention from the original `@intx/inference` vendoring, not a
@@ -141,7 +145,7 @@ one.
141145

142146
Root `package.json`:
143147

144-
- `workspaces` lists each `vendor/intx-*` directory as a workspace member.
148+
- `workspaces` lists each whole-package `vendor/intx-*` directory as a workspace member; the partial `vendor/intx-workflow-host/adapters/` tree is deliberately not a member.
145149
- `overrides` pins the package name to `workspace:*`, so every transitive
146150
consumer (including other published `@intx/*` packages that declare a
147151
dependency on it) resolves to the vendored copy instead of installing

0 commit comments

Comments
 (0)