Skip to content

chore(vendor): adopt interchange 4cc6972 drift in vendored trees - #1431

Merged
TheGreatAxios merged 4 commits into
mainfrom
cl-10656-intx-triage-adopt-upstream-head-drift-mimemail
Oct 15, 2026
Merged

TheGreatAxios merged 4 commits into
mainfrom
cl-10656-intx-triage-adopt-upstream-head-drift-mimemail

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Triages the ~196-commit upstream HEAD drift (5453d0b0 → 4cc6972) per vendored area and adopts the vendored surface: mime, mailbox, harness verbatim; types carries the runtime split (runtime.ts → runtime-core.ts/inference-events.ts, 33-entry export map mirrored); inference takes its 9 commits with three-way merges preserving all 24 ledgered patches incl. ephemeralTurns and the atomic-acceptance try/finally; storage-isogit lands the verified-safe e75eee2 removal (sync.request/statePushed had zero local, vendored, and vendorable references); reasoning-effort mapping c8be7e9 adopted (no wire change for first-party operators without effort); workflow-host narrows to exactly the 3 files we vendor; crypto/npm-dist and authz/log/tools-posix need nothing.
  • A published-dependency protection rides in-PR: upstream's runtime split orphaned formatSafetyRatingText from the ./runtime subpath while @corbits/openai-responses@0.2.1 (installed) imports it from there — one compat re-export in vendored runtime.ts, independently ledgered with its removal path (the openai-responses release that adopts the new subpath). Zero ledger entries dropped; the divergent src surface stays bijective with the ledger anchors (inference 1324+/230−, types 43+/6−, storage-isogit 73+/1−, agent 382+/2−, tools-posix 13+/1− re-verified at HEAD).
  • First-party adaptation is minimal: the AdapterManifest import moves to @intx/types (upstream dropped the inference barrel re-export), one narrowed messageId reuse in submit.ts, two test guards.
  • Landed in two commits per the vendor procedure (pristine upstream adoption 6db66b56, patches + adaptation 7406c34c), split re-balanced so both commits compile independently (verified with true-isolation typecheck+build, not just hooks).
  • MCP SDK 2.x deferral etc. NOT here — this PR is vendor-only + the four src adaptation lines.

Verification

  • bun run check exit 0: 8938 pass / 0 fail across 580 files; bun test e2e/vendored-carry.test.ts 2 pass (both carried-patch integration tests); vendor-patch-ledger 2 pass.
  • Independent branch review: all 285 verbatim src files blob-compared against upstream 4cc6972 byte-for-byte (285/285 verified); the ledger set is bijective with the divergence surface at HEAD; e75eee2 and c8be7e9 verdicts independently reproduced from the upstream clone; sync.request/statePushed have zero references anywhere in the repo.
  • Known cosmetic note: pre-existing vendor-scope substrate-mailbox-store.test.ts failure (documented, unchanged, out of gate).

Fixes CL-10656

@linear-code

linear-code Bot commented Oct 14, 2026

Copy link
Copy Markdown

CL-10656

@corbits-triage

corbits-triage Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Triage: Fail

@TheGreatAxios, please address the following:

  • pull request is over the files limit: 121 files (max 25)
  • pull request is over the lines limit: 17104 lines changed (max 2500)
  • pull request touches a forbidden path: vendor/intx-agent/PATCHES.md, vendor/intx-agent/README.md, vendor/intx-agent/package.json, vendor/intx-agent/src/agent.ts, vendor/intx-agent/src/authoring.ts, vendor/intx-agent/src/default-director.ts, vendor/intx-agent/src/send-queue.ts, vendor/intx-agent/src/source.ts, vendor/intx-agent/src/tool.ts, vendor/intx-harness/src/connector-router.test.ts, vendor/intx-harness/src/connector-router.ts, vendor/intx-harness/src/harness.test.ts, vendor/intx-harness/src/harness.ts, vendor/intx-harness/src/index.ts, vendor/intx-harness/src/reply-drain.ts, vendor/intx-harness/src/step-credential-capabilities.test.ts, vendor/intx-harness/src/step-credential-capabilities.ts, vendor/intx-inference/PATCHES.md, vendor/intx-inference/README.md, vendor/intx-inference/package.json, vendor/intx-inference/src/assembly.ts, vendor/intx-inference/src/correlation.ts, vendor/intx-inference/src/default-director.ts, vendor/intx-inference/src/effort.test.ts, vendor/intx-inference/src/effort.ts, vendor/intx-inference/src/errors.test.ts, vendor/intx-inference/src/errors.ts, vendor/intx-inference/src/harness.test.ts, vendor/intx-inference/src/harness.ts, vendor/intx-inference/src/index.ts, vendor/intx-inference/src/manifest.test.ts, vendor/intx-inference/src/manifest.ts, vendor/intx-inference/src/providers/anthropic.test.ts, vendor/intx-inference/src/providers/anthropic.ts, vendor/intx-inference/src/providers/google-genai.ts, vendor/intx-inference/src/providers/index.test.ts, vendor/intx-inference/src/providers/index.ts, vendor/intx-inference/src/providers/openai.ts, vendor/intx-inference/src/reactor.test.ts, vendor/intx-inference/src/reactor.ts, vendor/intx-inference/src/transform.ts, vendor/intx-inference/src/turns.test.ts, vendor/intx-inference/src/turns.ts, vendor/intx-mailbox/package.json, vendor/intx-mailbox/src/compose.test.ts, vendor/intx-mailbox/src/compose.ts, vendor/intx-mailbox/src/fetch.test.ts, vendor/intx-mailbox/src/fetch.ts, vendor/intx-mailbox/src/headers.ts, vendor/intx-mailbox/src/index.ts, vendor/intx-mailbox/src/mailbox.ts, vendor/intx-mailbox/src/search.ts, vendor/intx-mailbox/src/thread.test.ts, vendor/intx-mailbox/src/thread.ts, vendor/intx-mailbox/src/verify-signature.ts, vendor/intx-mime/src/header-folding.test.ts, vendor/intx-mime/src/index.test.ts, vendor/intx-mime/src/index.ts, vendor/intx-mime/src/mail-builder.test.ts, vendor/intx-mime/src/mail-builder.ts, vendor/intx-mime/src/mail-decode.test.ts, vendor/intx-mime/src/mime.ts, vendor/intx-storage-isogit/PATCHES.md, vendor/intx-storage-isogit/src/gc.ts, vendor/intx-storage-isogit/src/mail-store.ts, vendor/intx-storage-isogit/src/node-metrics.ts, vendor/intx-storage-isogit/src/pack-receive.ts, vendor/intx-storage-isogit/src/pack-send.ts, vendor/intx-storage-isogit/src/repo-disk.ts, vendor/intx-storage-isogit/src/repo-lock.ts, vendor/intx-storage-isogit/src/runtime.ts, vendor/intx-storage-isogit/src/store.ts, vendor/intx-tools-posix/PATCHES.md, vendor/intx-types/PATCHES.md, vendor/intx-types/README.md, vendor/intx-types/package.json, vendor/intx-types/src/adapter-manifest.test.ts, vendor/intx-types/src/adapter-manifest.ts, vendor/intx-types/src/agent-address.ts, vendor/intx-types/src/attachment-validation.test.ts, vendor/intx-types/src/attachment-validation.ts, vendor/intx-types/src/attachments.test.ts, vendor/intx-types/src/attachments.ts, vendor/intx-types/src/catalog.test.ts, vendor/intx-types/src/catalog.ts, vendor/intx-types/src/credential-delivery.ts, vendor/intx-types/src/credentials.ts, vendor/intx-types/src/format-safety-rating.ts, vendor/intx-types/src/inbound-mail-policy.ts, vendor/intx-types/src/index.ts, vendor/intx-types/src/inference-events.ts, vendor/intx-types/src/instances.ts, vendor/intx-types/src/message-id.test.ts, vendor/intx-types/src/message-id.ts, vendor/intx-types/src/repo.ts, vendor/intx-types/src/runtime-core.ts, vendor/intx-types/src/runtime.test.ts, vendor/intx-types/src/runtime.ts, vendor/intx-types/src/sessions.test.ts, vendor/intx-types/src/sessions.ts, vendor/intx-types/src/sidecar-allocation.ts, vendor/intx-types/src/sidecar.test.ts, vendor/intx-types/src/sidecar.ts, vendor/intx-types/src/tenants.ts, vendor/intx-types/src/wire-workflow.ts, vendor/intx-types/src/workflow-definition.test.ts, vendor/intx-types/src/workflow-definition.ts, vendor/intx-types/src/workflow-lifecycle.test.ts, vendor/intx-types/src/workflow-lifecycle.ts, vendor/intx-types/src/workflow-run-id.test.ts, vendor/intx-types/src/workflow-sources.ts, vendor/intx-types/src/workflows.ts, vendor/intx-workflow-host/adapters/substrate-mailbox-store.test.ts, vendor/intx-workflow-host/adapters/substrate-mailbox-store.ts, vendor/intx-workflow-host/workflow-definition-loader.ts

@TheGreatAxios
TheGreatAxios changed the base branch from cl-10651-intx-re-sync-vendor-snapshot-to-040-re-carry-local-patches to main October 15, 2026 19:46
Verbatim adoption of the drift ranges triaged in docs/VENDORING.md; carried patches and ledgers land next.
Verbatim adoptions of mime/mailbox/harness and workflow-host's narrow subset; types runtime split carried with ledger markers; inference's 9 commits merged with 3-way-resolved carries; storage-isogit e75eee2 verified safe (no first-party sync.request/statePushed/createStatePack/undeploy use); reasoning-effort c8be7e9 adopted; crypto/author/log unchanged. formatSafetyRatingText gains a ledgered compat re-export for the published @corbits/openai-responses dist, which still imports it from @intx/types/runtime.
@TheGreatAxios
TheGreatAxios force-pushed the cl-10656-intx-triage-adopt-upstream-head-drift-mimemail branch from d829f46 to e4630cd Compare October 15, 2026 20:17
Static analysis on PR 1431 failed bunx oxfmt --check on this file.
storage-isogit is 5 commits, not 9 files. Agent work is d1835be,
660ef81, and d1e05e9. runtime.ts is the split re-exports plus the
compat re-export, not a two-line barrel.
@TheGreatAxios
TheGreatAxios merged commit 6a28715 into main Oct 15, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant