Skip to content

Re-vendor @intx/hub-api at a8bc06ae; keep two deltas - #460

Merged
TheGreatAxios merged 1 commit into
cl-7107-repin-5-hub-apifrom
cl-7107-repin-6-workflow-host
Aug 29, 2026
Merged

TheGreatAxios merged 1 commit into
cl-7107-repin-5-hub-apifrom
cl-7107-repin-6-workflow-host

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Re-pin wave 2, PR 6/7 — @intx/workflow-host at a8bc06ae, plus @intx/harness and @intx/hub-agent vendored, plus the sidecar seams.

Retired: empty-mail drop CL-6164 (81ef5ad9 decodes mail, omits empty content); action/loop bind CL-6325/CL-6435 (3bd5b837/1ea2f39b) — packages/workflow-host-actions, apps/sidecar/src/action-tool-handler.ts and test/action-runtime-env.test.ts deleted (no workbench workflow authors an action step, so the hook went too).
Kept: CL-6448 body-spawn seam — authorize, credential wiring and (new) mail-part reader reach every onTrigger body spawn; findStepGrantsEntry.
Sidecar adopts: supervisor-backed transport inbound half (reader, watch registry, mutation bridge) on every step env; connector-thread seed + reply drain (driveConnectorReplies); onSelfTerminate reclaim; deliverGrants refresh after approval; agentDir (927556de); disposer AggregateError (a3c3ab59).
Checks: (a) reply to a mailbox-less From → hub mail.outbound.undelivered warn, turn unaffected; (b) bodies get the mailbox read surface via the shared step env; (c) the fork has no cold-path resume assertion for a6ff70a5 to patch. CL-6164 shape re-run at the step-invoker seam (apps/sidecar/test/attachments-only-mail-step.test.ts).
Not done: nothing deferred.

@TheGreatAxios TheGreatAxios changed the title cl 7107 repin 6 workflow host Re-vendor @intx/hub-api at a8bc06ae; keep two deltas Aug 28, 2026
…nt; adopt the warm-agent mailbox in the sidecar

The empty-mail drop (CL-6164) is gone: upstream 81ef5ad9 decodes inbound
mail and omits empty content, so an attachments-only mail is delivered as
attachments. The action/loop runtime bind (CL-6325) is gone with
packages/workflow-host-actions and the sidecar's action-tool-handler:
upstream loads interchange.actions/loops closure exports natively, and no
workbench workflow authors an action step. What survives is the
body-spawn seam (CL-6448): the parent child's credentials-backed
authorize, live credential wiring and, new here, its mail-part reader
reach every onTrigger body spawn, so the fork's tool-bearing bodies gate
tool calls, resolve credentials and read an attachments-only mail's parts
instead of throwing; findStepGrantsEntry keeps the single-step head
collapse.

@intx/harness (driveConnectorReplies) and @intx/hub-agent (agentDir) are
vendored at the same commit; npm 0.3.0 predates both.

The sidecar adopts the upstream seams: the supervisor-backed transport's
inbound half (child mailbox reader, watch registry, mutation bridge) on
every step env, the connector-thread seed and reply drain for the warm
agent, the self-terminated-supervisor address reclaim, the live-child
grants refresh after an approval, the agentDir deploy-tree lookup and the
disposer AggregateError. Tests pin the body seam threading and re-run the
CL-6164 shape at the step-invoker seam.
@TheGreatAxios
TheGreatAxios force-pushed the cl-7107-repin-6-workflow-host branch from 84a2e6c to 8c5b6a5 Compare August 28, 2026 19:16
@TheGreatAxios
TheGreatAxios merged commit 5078024 into main Aug 29, 2026
5 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-7107-repin-6-workflow-host branch August 29, 2026 14:29
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