Re-vendor Interchange trees to main HEAD for the director loader - #1025
Conversation
Overwrite all eleven vendor trees with the upstream files at 1ad0104 (retrieved 2026-09-14), dropping every local patch. Adds packages/workflow-host/src/workflow-definition-loader.ts to the partial workflow-host tree and removes packages/types/src/sidecar-placement.ts, which upstream deleted. The follow-up commit re-applies the ledgered local patches.
Every PATCHES.md entry re-carried against 1ad0104 with an as-is / adapt triage recorded in the ledgers; none was subsumed upstream. Assembly resolves direct-wins-over-deps for the new contextTransforms field, harness/reactor adaptations follow the rewritten usage emission and tryCorrelate regions, and VENDORING.md records the new pin, the loader provenance row, and the tool-packaging decision.
|
[warden trust review] First-party credential migration (apiKey -> credentialId + credential cell). Verdict: no blocking trust defects. Safe to land from the trust lane. Fail-closed, verified:
No leak to disk/logs introduced:
No downgrade:
Session/subagent boundary sound:
File for later (non-blocking):
Suggested permanent tests (for testsmith/builder): unknown-credentialId send throws instead of empty-auth; persisted session/settings snapshots contain no secret material; OAuth refresh registers the fresh token with no residual raw apiKey on the source. Out of lane, not covered: vendor-tree verbatimness (critic). Did not run the suite (review-only). Pre-existing settings-file persistence of |
Critic review · ApproveRe-vendors all 11 Interchange trees to upstream Evidence
Should-fix (non-blocking)
Notes
Reviewed: |
|
Nits fixed in 7a6ba42 (pushed to cl-7913-re-vendor-1ad0104, not merged):
Verification: bun test on those 4 files — 118 pass, 0 fail; bun run typecheck — clean. |
Summary
Re-pins all 11 vendored Interchange trees from 0205b07b to upstream main HEAD 1ad0104 (retrieved 2026-09-14), adding workflow-definition-loader.ts under vendor/intx-workflow-host/ for the director loader. Two commits: pristine sync, then ledgered patch re-application (as-is / adapt triage, none subsumed). First-party call sites migrate to the new source-credential resolver model. Tool-packaging stays transitive-only by written decision in docs/VENDORING.md. Sibling to #1024, which targets the same issue from an older base; parent will reconcile.
Verification
Fixes CL-7913