Skip to content

Vendor intx-types and intx-storage-isogit at upstream head - #517

Merged
TheGreatAxios merged 3 commits into
mainfrom
cl-6826-vendor-intxtypes-intxstorage-isogit-at-interchange-head
Aug 23, 2026
Merged

Vendor intx-types and intx-storage-isogit at upstream head#517
TheGreatAxios merged 3 commits into
mainfrom
cl-6826-vendor-intxtypes-intxstorage-isogit-at-interchange-head

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

Re-syncs vendor/intx-types and vendor/intx-storage-isogit from Interchange commit 55c4431e60cc97dae2f63bfd52de56166e42b13b (both were previously at ad0f99e7977b3ad4f28d8cc8d446ac52a4a2d685). vendor/intx-inference intentionally stays at ad0f99e7 — its re-sync is tracked separately as a later stage. The shared PendingOperation shape (vendor/intx-types/src/runtime.ts) is byte-identical across the ad0f99e7..55c4431e range, so intx-inference still typechecks and works against the newer @intx/types/@intx/storage-isogit.

Both packages remain verbatim — no local patches.

Wiring changes

  • @intx/storage-isogit's upstream commit 5f798bea ("Inject the runtime into iso-git storage") removed the bare createIsogitStore export from the package root; callers now use a runtime-bound entry point, ./node or ./browser. vendor/intx-storage-isogit/package.json's exports map picks up both new subpaths.
  • The one first-party consumer, src/session/optimized-context-store.ts, now imports createIsogitStore from @intx/storage-isogit/node instead of the package root — same (dir, signer?, gcPolicy?) signature, so this is an import-path change, not a behavioral one.
  • @intx/storage-isogit picks up two new deps (@isomorphic-git/lightning-fs, buffer; both browser-runtime-only, nothing here imports them) and a @intx/crypto dev dependency for its own tests, pinned to 0.2.2 — same "stay on published npm" pattern already used for @intx/mime on intx-inference.
  • @intx/types picked up two new export subpaths (./wire-definition-hash, ./workflow-sources) for new upstream files; no dependency changes.

Patch ledger

docs/VENDORING.md table and narrative updated with the new SHA, retrieval date (2026-08-22), and an explanation of the temporary intx-inference version gap and the storage-isogit wiring change.

One new upstream test, vendor/intx-storage-isogit/src/browser-bundle.test.ts, is excluded via bunfig.toml's pathIgnorePatterns: it bundles the browser entry point under an export condition that resolves @intx/log/@intx/mime to source files that only exist in upstream's own monorepo (we consume those two as published, dist-only npm packages). Documented in docs/VENDORING.md.

Test plan

  • bun install — single arktype resolution across the tree, no nested @intx/types/@intx/storage-isogit copies
  • bun run typecheck — clean
  • Full bun test — 6042 pass, 1 pre-existing failure (vendor/intx-inference/src/reactor.test.ts, "director cannot corrupt reactor state by mutating snapshot content blocks") verified to reproduce identically before this sync — unrelated to these changes

Part of CL-5684; fixes CL-6826
https://linear.app/abklabs/issue/CL-6826

@linear-code

linear-code Bot commented Aug 22, 2026

Copy link
Copy Markdown

CL-6826

CL-5684

Re-syncs vendor/intx-types and vendor/intx-storage-isogit from Interchange
commit 55c4431e60cc97dae2f63bfd52de56166e42b13b (both were previously at
ad0f99e7). vendor/intx-inference stays at ad0f99e7 for now (tracked
separately); the shared PendingOperation shape did not change in this
range so the two are still compatible.

Both packages remain verbatim, no local patches. storage-isogit's index
now requires a runtime-bound entry point (./node or ./browser) instead of
a bare createIsogitStore export; the one first-party consumer switches to
@intx/storage-isogit/node, which keeps the identical signature. Adds the
package's two new upstream deps (@isomorphic-git/lightning-fs, buffer,
both browser-only) and a 0.2.2-pinned @intx/crypto dev dependency,
mirroring the existing @intx/mime pin on intx-inference.

Excludes vendor/intx-storage-isogit/src/browser-bundle.test.ts via
bunfig.toml: it bundles against an export condition that resolves
@intx/log/@intx/mime to source files that only exist in upstream's own
monorepo, not in our published-npm installs of those two packages.

Full suite: 6042 pass, 1 pre-existing failure in vendor/intx-inference's
reactor.test.ts unrelated to this sync (reproduces identically before
these changes).

Part of CL-5684; fixes CL-6826
https://linear.app/abklabs/issue/CL-6826
The eval fixture ships a truncated config.ts so the grader can require a real repair. Prettier and ESLint both hard-fail on the parse error against the continue-on-error lint baseline. Exclude the fixture tree from both tools; the fixture itself stays corrupt for the eval.
@TheGreatAxios
TheGreatAxios force-pushed the cl-6826-vendor-intxtypes-intxstorage-isogit-at-interchange-head branch from 77fad76 to 90dd97e Compare August 23, 2026 00:29
@TheGreatAxios
TheGreatAxios merged commit be53b18 into main Aug 23, 2026
5 checks 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.

1 participant