Repository navigation
Open
Description
Work in Junior is spread across many conversations, and there is no single place to find, start, and steer that work. Child Threads and Tasks (#2105) do not fit this use: a parent can have at most 8 active children, and children inherit the root's visibility and Delivery.
Current behavior
- To find a conversation, you search or someone shares its link.
searchConversationshas no filter for conversations where you are a Participant. - A private conversation cannot
messageAgenta public one (chat/agent-invocations/top-level-message.ts:78). kindisroot | automation | thread | task, enforced byjunior_conversations_kind_checkandjunior_conversations_kind_parent_check.
Proposed design (David Cramer)
- New kind:
kind = lead. One private, top-level conversation per user, with no children. - Schema: a partial unique index on
actor_identity_idwherekind = 'lead'. This is one lead per Identity, which is acceptable because leads are only created from web. There are no other schema changes. - Prompt and tools: its own prompt mode and a small tool allowlist.
- Keep:
startConversation, top-levelmessageAgent, conversation search and read, Review desk search and update, the Watch and timer tools, Automations (Slack Destinations only), andsystemTime. - Remove: the sandbox, skills, MCP, provider tools, and the child-agent tools.
- Keep:
startConversation: creates a public web root with the person as the root Actor.- The person's own message passes through word for word as the trusted request. The lead's task text stays untrusted.
- Guardian reviews the call.
- Search: a
participatingfilter onsearchConversations. - Access: a lead may message public roots where its person is a Participant.
- Dashboard: the homescreen shows the lead.
Gaps found during design review
- Adding a kind breaks reads, and
tsccatches none of these:- The
CONVERSATION_KINDSrow decoder throws on the new kind. turnBehaviorfalls through to the task branch.promptModeTurnToolsfalls back to the root tools.
- The
watchEventsandingestEventdo no access check. Aconversationresource type added later would let any conversation watch any other.- Automations deliver only to Slack (
requireToolDestination). An Automation created from a lead needs an explicit Slack Destination.
Out of scope
- Reports back to the lead, including watching conversations.
- Private conversations at other Destinations.
via @dcramer.
--
Metadata
Metadata
Assignees
Labels
No labels
Activity
dcramer commentedon Nov 19, 2026
The start conversation should return a watches list for like the possible watches or whatever that can subscribe to and it should be able to subscribe to a parent, like a root level conversation. That's totally fine. Not that it needs to, but it should be able to if it chooses to, in case the user wants it to wash a conversation and let it know when XYZ happens or something like that
fix(lead): Check Conversation Watch access at delivery and rename its…
fix(lead): Watch only top-level Conversations
ref(lead): Move startConversation into the tools folder
feat(lead): Let a Lead watch the Conversations that it may read
fix(lead): Check Conversation Watch access at delivery and rename its…
fix(lead): Watch only top-level Conversations
feat(lead): Give the Lead its own prompt, tools, and startConversation
ref(lead): Move startConversation into the tools folder
ref(lead): Tighten the Lead system prompt to coordination
feat(lead): Let a Lead watch the Conversations that it may read
fix(lead): Check Conversation Watch access at delivery and rename its…
fix(lead): Watch only top-level Conversations
fix(lead): Keep the Lead task when a started Turn resumes
feat(lead): Let a Lead watch the Conversations that it may read
22 remaining items
fix(lead): Watch only top-level Conversations
fix(lead): Publish every Turn end to Conversation Watches
feat(lead): Open the Lead from the dashboard home
feat(lead): Open the Lead from the dashboard home
feat(lead): Open the Lead from the dashboard home
feat(lead): Let a Lead watch the Conversations that it may read
fix(lead): Check Conversation Watch access at delivery and rename its…
fix(lead): Watch only top-level Conversations
fix(lead): Publish every Turn end to Conversation Watches
feat(lead): Open the Lead from the dashboard home
feat(lead): Open the Lead from the dashboard home
feat(conversations): Accept the lead Conversation kind (#3735)
feat(lead): Give the Lead its own prompt, tools, and startConversation (
feat(lead): Let a Lead watch the Conversations that it may read (#3745)
feat(dashboard): Make the Lead the dashboard home (#3741)