Agent DMs on the warm-mailbox shape (CL-7108) - #720
Merged
Merged
Conversation
TheGreatAxios
force-pushed
the
cl-7108-warm-mailbox-dms
branch
from
September 15, 2026 19:09
9428704 to
db51d4b
Compare
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
force-pushed
the
cl-7108-warm-mailbox-dms
branch
from
September 15, 2026 19:22
db51d4b to
a1c335b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
packages/chat/src/agent-dm-mode.ts) with the why-DMs-differ note; mint, reopen, workbench view, and launch gate all read through it.AGENT_SECTION_MODEbeside 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).bun run testtrips 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.