Skip to content

hub: cut chat, commands, and agent-runtime out of the composition root (CL-8175) - #802

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-8175-hub-cut
Sep 17, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-8175-hub-cut

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Chat is mail. The hub no longer constructs or mounts anything from @corbits/chat, @corbits/commands, @corbits/agent-runtime, or @corbits/turn-artifacts.

Deleted from apps/hub/src/index.ts (1759 → ~1200 lines): chat routes and command routes mounts, chat store / room messages / thread / reaction / pin / block-response stores, the chat platform and orchestrator, turn queue and cancellation, write claims and turn-mail correlation, the relaunch sweep, the run-trigger client and its internal-token session branch, artifact delivery wiring on finalized turns, the connection-settle hook (onConnected dropped from every connections/MCP mount), the workflow-participant routes, the pinned-tool-grants stub, and the cipher tag.

Moved to their real owners: display-name and id-leak-guard into @corbits/agent-directory; the crypto provider cache into @corbits/webhook-triggers. @corbits/agent-directory no longer filters on workbench-host definition names (there are none after the cutover).

Tests deleted: chat mount, relaunch sweep close, crypto-cache wiring, the cipher-tag cases. Next slice deletes packages/chat / commands / agent-runtime / turn-artifacts and their web/chat-ui consumers.

@linear-code

linear-code Bot commented Sep 17, 2026

Copy link
Copy Markdown

CL-8175

@TheGreatAxios
TheGreatAxios merged commit e3ebd8b into main Sep 17, 2026
3 of 4 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