Skip to content

feat(agent): gate optional interchange loop behind flag - #1345

Closed
TheGreatAxios wants to merge 1 commit into
mainfrom
cl-8267-interchange-loop
Closed

TheGreatAxios wants to merge 1 commit into
mainfrom
cl-8267-interchange-loop

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Corbits Code gains an opt-in Interchange loop seam: CORBITS_INTERCHANGE_LOOP=1 resolves runWorkflow/runLocal from the optional @intx/workflow peer, and every other configuration keeps the reactor path unchanged.
  • runExec consults the seam at startup and stays on the reactor with a warning when the workflow runtime is absent, so the flag never fails a run before the 0.4.0 hub lands.

Verification

  • bun test src/agent/interchange-loop.test.ts passes (11 pass, 0 fail)
  • bun run check passes (lint, typecheck, dead-exports, build, guarded suite; exit 0)

Related to CL-8267

@linear-code

linear-code Bot commented Oct 5, 2026

Copy link
Copy Markdown

CL-8267

@TheGreatAxios
TheGreatAxios force-pushed the cl-8267-interchange-loop branch from 225ad14 to 2893f2e Compare October 5, 2026 06:46
@TheGreatAxios
TheGreatAxios force-pushed the cl-8267-interchange-loop branch from 2893f2e to e2acf77 Compare October 8, 2026 06:56
@TheGreatAxios

Copy link
Copy Markdown
Collaborator Author

Closed per operator decision (release 0.3.36): the env-var seam (#1345) is the wrong mechanism for the host-agnostic goal. Agents are workflows; the correct artifact is each @corbits/agent-* package exporting the assembled agent + component parts (director/tools/prompts/config) uniformly, consumed by a workflow via runLocal/runWorkflow — no CORBITS_INTERCHANGE_LOOP env flag. See #1343 #1339 #1340 #1341 #1346 #1347 #1348 #1349 #1351 #1352 #1353. The core-loop migration decision stays in CL-8267.

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