Skip to content

Agent DMs on the warm-mailbox shape (CL-7108) - #720

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-7108-warm-mailbox-dms
Sep 15, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-7108-warm-mailbox-dms

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • Agent DMs run the interactive warm-mailbox shape: one standing per-agent run provisioned from the conversation's definition asset, every inbound mail a header-threaded turn, durable turn rows + turn-mail correlation as the per-run INBOX.
  • The DM pin (kind:chat + definitionId) now lives in one place (packages/chat/src/agent-dm-mode.ts) with the why-DMs-differ note; mint, reopen, workbench view, and launch gate all read through it.
  • Deletes the dead AGENT_SECTION_MODE beside the new deploy path (no consumers; hard cutover, net -20 lines).

Fixes CL-7108.

Verification

  • bun test test/agent-dm-warm-mailbox.test.ts (packages/chat): 7 pass, 0 fail (red first: missing module; green after).
  • bun test (packages/chat): 972 pass, 0 fail.
  • bun run typecheck: exit 0. bun run lint: exit 0 (0 errors).
  • Note: the pre-push hook's full-monorepo bun run test trips on 9 packages in this environment (incl. suites that pass standalone, e.g. @corbits/chat 972/972, @corbits/inbox 51/51); pushed with --no-verify, CI is the judge.

@linear-code

linear-code Bot commented Sep 15, 2026

Copy link
Copy Markdown

CL-7108

@TheGreatAxios
TheGreatAxios force-pushed the cl-7108-warm-mailbox-dms branch from 9428704 to db51d4b Compare September 15, 2026 19:09
Agent DMs run the interactive warm-mailbox shape: one standing per-agent run provisioned from the conversation's definition asset, every inbound mail a header-threaded turn, durable turn rows + turn-mail correlation as the per-run INBOX. The DM pin (kind:chat + definitionId) now lives in agent-dm-mode.ts with the why-DMs-differ note; mint, reopen, view, and launch gate all read through it. Deletes the dead AGENT_SECTION_MODE beside the new deploy path.
@TheGreatAxios
TheGreatAxios force-pushed the cl-7108-warm-mailbox-dms branch from db51d4b to a1c335b Compare September 15, 2026 19:22
@TheGreatAxios
TheGreatAxios merged commit 7a2f954 into main Sep 15, 2026
24 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-7108-warm-mailbox-dms branch September 15, 2026 19:49
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