Repository navigation
Description
Conversation state is described with overlapping words across execution, Turn records, the API, agent invocations, automations and archive. The same word means different things in different places, and some states project wrongly. Define one status model and one archive model, then use the same words in TERMINOLOGY.md, the public docs, the API and the code. Split out of #2792 (PR 7, status and auto-archive).
Proposal
Worked through by @dcramer in the #2792 discussion, revised after prior-art research and an adversarial review.
Status is derived from runtime state for every Conversation (root, Thread, Task), never from model text. It describes only that Conversation's own work, not its children's.
active: execution ispending,runningorpaused(another slice is due).needs_input: an openactionreview item added by this Conversation is assigned to a person or to everyone.failed: the latest Turn record failed, or execution isfailed.stopped:stopped_atis set, with a stop reason: a person's stop, the parent'sstopAgent, or the automated-turn limit.idle: anything else. The Conversation is ready for more input. This replacescompletedand done as the Conversation word.completedstays a Turn, invocation and run outcome.
These are idle, not needs_input:
- A Turn waiting for sign-in. The sign-in prompt is the reply; the person's next message resumes it.
- A Task whose latest invocation ended
blocked. Its parent already has the result. The dashboard shows the invocation result next to the status. - A parent that waits for running children. The dashboard tree shows child activity.
Precedence when more than one applies: active > stopped > failed > needs_input > idle.
One rule: status alone decides behavior. The status that shows is the status that acts. How a Conversation got there, the stop reason, and who stopped it are display data only. No other check holds, drops or refuses input, and there are no per-path exceptions.
Held input. stopped and failed hold automated input: Watch Events, top-level agent messages and child results are saved as skipped Messages and start no Turn. Saving held input does not change execution, so a held Conversation never shows active for it. Only a person's input sent after the hold began, or new work from the parent for a child, ends the hold. Answering a review item is person input. The next Turn reads the saved Messages as context.
active, needs_input and idle run input as normal. In every status, each Turn that automated input starts counts toward the automated-turn limit (25). Reaching the limit stops the Conversation with the reason automated-turn limit, so the limit is the loop guard for every status that does not hold input.
Stop. Every stop does the same thing, whatever its reason (a person, the parent's stopAgent, or the automated-turn limit):
- It stops the Conversation and every descendant. Nothing above it is stopped.
- Its parent gets a
stoppedresult, unless the parent made the stop. - Watches stay. Their Events are held like any other automated input, and a Watch's own expiry still applies.
- Ending the stop resumes the same subtree.
So a root or Thread that reaches the limit stops its whole tree and posts one notice. A child that reaches its own limit stops its subtree; its parent is not stopped and decides what to do with the stopped result. That result is automated input, so it counts toward the parent's limit.
Archived is a separate flag, not a status. One archived_at per Conversation, shared by everyone. "Resolved" is not a separate word.
- Only a person's Message restores an archived Conversation. Watch Events and parent work run a Turn and leave it archived.
- Auto-archive runs only when the Conversation and every descendant are
idleorstopped. For a shared Conversation it fires only when it is due for every participant (the longest grace wins). A manual restore by anyone turns auto-archive off for that Conversation.
Not statuses: unread and "ready for review", which are per person. Unread applies to every status except active.
Behavior
Given / When / Then for one Conversation. Each scenario gets an integration test.
Work and replies
- Given
idle, when a person sends a Message, thenactiveuntil the reply is delivered, thenidle. - Given
active, when the Turn yields, times out, loses its lease or waits for retry backoff, then it staysactive. - Given
active, when the agent replies that it could not do the task, thenidle. A failed task is not a failed Turn. - Given
active, when the Turn ends with a plain-text question and no review item, thenidle.
Failure
- Given
active, when the Turn fails on its final attempt, thenfailed. - Given
active, when work runs out of retries or is dead-lettered, thenfailed, and the dropped pending messages are visible. - Given
failed, when a Watch Event, top-level agent message or child result arrives, then it is saved as a skipped Message, no Turn starts, and it staysfailed. - Given
failed, when a person's Message or new parent work arrives, thenactive, then the outcome of the new Turn. - Given
failedwith an open action review item, thenfailed. Answering the item is person input that ends the hold.
Needs input
- Given
active, when the agent adds an openactionreview item assigned to a person or to everyone and the Turn ends, thenneeds_input. - Given
needs_input, when the item is answered, thenactivefor the Turn the answer starts, then the outcome of that Turn. - Given
needs_input, when the item is dismissed or marked done with no new Turn, thenidle. - Given
needs_input, when a Watch Event arrives, then a Turn runs and counts toward the automated-turn limit. - Given an open action item, when the agent keeps working, then
active. - Given an open action item, when the agent re-adds it with the same dedupe key, then the status does not change.
- Given an open
noticeitem, or an action item that another Conversation added and only links here, then it does not causeneeds_input. - Given
active, when the Turn waits for sign-in, thenidle. When the person signs in, thenactivefor the resumed Turn. When the person sends a new Message instead, the new Turn decides the status.
Automated-turn limit
- Given 24 automated Turns since the last person Turn, when automated input starts the 25th Turn and it ends, then
stoppedwith the reasonautomated-turn limit, and one notice says why. - Given stopped by the limit, when a Watch Event, top-level agent message or child result arrives, then it is saved as a skipped Message and no Turn starts.
- Given stopped by the limit, when a person sends a Message, then the stop ends, the count resets, and
active. - Given a child stopped by the limit, when its parent gives it new work, then the stop ends and the count resets.
- Given
needs_inputwith an open item, when the limit is reached, thenstopped. The item stays open, and its answer is person input that ends the stop. - Given an open action item, when the limit is reached, then the item stays open and no further automated Turn runs.
- Given a root with running children, when the root reaches the limit, then the root and every child below it are
stoppedwith the same reason. - Given a child, when it reaches its own limit, then it and its subtree are
stopped, its parent gets astoppedresult, and the parent is not stopped. - Given the parent of a child stopped by the limit, when the parent gets the
stoppedresult, then that Turn counts toward the parent's limit.
Stop
- Given
active, when a person stops it, thenactiveuntil the run sees the stop, thenstopped. - Given a root or Thread with children, when a person stops it, then it and every child below it become
stopped. Its parent does not change. - Given
stopped, when a Watch Event, top-level agent message or child result arrives, then it staysstopped, the input is saved as a skipped Message, and status does not flicker toactive. - Given
stopped, when a person's Message sent after the stop arrives, thenactivefor that Conversation and its subtree. A Message sent before the stop does not clear it. - Given a stopped child, when its parent gives it new work, then
activefor that child and its subtree. - Given
stoppedwith an open action item or a failed Turn, thenstopped. - Given any stop reason, then the same Conversations stop, the same input is held, and Watches stay. Only the displayed reason differs.
- Given a child stopped by a person or the limit, then its parent gets a
stoppedresult. Given a child stopped by its parent'sstopAgent, then the parent gets no result. - Given a held Conversation, when a person's Message ends the hold, then the new Turn reads the saved skipped Messages as context.
Children
- Given a parent with a running child, then the parent's status comes from its own work. A parent that waits for results is
idle. - Given a Task, when its invocation ends
blocked, then the Task isidle, and the parent becomesactivewhen it gets the result. - Given a Thread, when a person's Turn runs in it, then the Thread's status follows that Turn. No invocation is needed.
Archive
- Archive does not change status. An archived Conversation keeps its status.
- Given archived, when a person sends a Message, then it is restored and becomes
active. Archived ancestors of a child are restored too. - Given archived, when a Watch Event or parent work starts a Turn, then it becomes
activeand stays archived. - Given a tree with any
active,needs_inputorfailedConversation, then auto-archive skips it. - Given a stopped Conversation, auto-archive uses its stop time, because skipped Messages still change its activity time.
- Given a shared Conversation, when auto-archive is due for some participants but not all, then it stays unarchived.
- Given a Conversation that anyone restored by hand, then auto-archive is off for it.
Scope
TERMINOLOGY.mdand the public docs define each status, held input, archived, and the precedence.statusFromConversationandConversationProjectionSourceread the latest Turn record and open action review items, without a per-row query in the feed.- API, MCP
statusenum, MCP docs and dashboard use these words;completedbecomesidlewith a hard cutover. Unread and auto-archive follow the Behavior section. - One hold check, keyed only on status, covers Watch Events, top-level agent messages and child results for
stoppedandfailed. Held input is saved without changing execution. - Delete every input check that is not status-based:
admitAutomatedTurndropping Watch Events and refusing top-level agent messages, the child-result bypass, and Events other than Watch Events running on a stopped Conversation. - Every stop path (person,
stopAgent, limit) uses the same tree stop.stopAgentkeeps Watches like a person's stop. - Reaching the automated-turn limit sets
stopped_atwith a stop reason. The limit store keeps only the count; its paused flag goes away. - Check that the Turn after a hold reads the saved skipped Messages; fix it if it does not.
- Agent invocation
blockedand the Add subagent context, lifecycle controls, and execution limits #881 TODO stay invocation results; they do not map to a Conversation status. - Archive uses one column; per-person and child archive columns go away, and the legacy column is cleared in the same migration. The list filter rename and the search tool description land with the shared-archive PR in Add Threads: child conversations people can talk to #2792.
- Each Behavior scenario is covered by an integration test through real wiring, added to the owning scenario.
- Out of scope: automation and review-item statuses keep their own words. The per-parent invocation limit for spawn → result → spawn loops stays in Add subagent context, lifecycle controls, and execution limits #881.
Background
Today (checked against main 084746384, 5187ebf)
- Execution status (
chat/task-execution/state.ts):pending,running,paused,failed,idle.pausedmeans "needs another slice":requestAnotherSlicesets it on yield, timeout, retry backoff, lost lease, and input that arrives under a lease.failedis set only when retries run out (CONVERSATION_WORK_MAX_RETRIES, pending messages dropped) or work is dead-lettered. The next input of any kind starts a new Turn.
- Turn records (
turn-cursor.ts) hold what execution does not:- A sign-in wait is a Turn with
state: paused,resumeReason: auth. The worker breaks out andcompleteConversationWorkwrites executionidle, so the Conversation showscompleted. - A Turn that fails on its final attempt is marked failed, but execution goes
idle, so the Conversation showscompleted. dispatchOutcome: "blocked"records areportBlocked.
- A sign-in wait is a Turn with
- API status (
conversationReportStatusSchema, MCPapi/mcp/conversation.ts):active,completed,failed,stopped.statusFromConversation(api/conversations/projection.ts) reads execution status andstoppedAtMsonly. MCP docs tell clients to poll untilstatusis notactive. - Stopped (fix(conversations): Stop child agents when a person stops the parent #2832,
TERMINOLOGY.md,chat/conversations/session-stop.ts): Watch Events are saved as one skipped Message and start no Turn. Other Events received after the stop still run. Only a person's input sent after the stop, or new parent work for a child, clears it for that Conversation's subtree. A stop covers the Conversation and every child below it; a stopped child reportsstoppedto its parent unless the parent stopped it. A person's stop keeps Watches;stopAgentcancels them. Each skipped Watch Event briefly makes executionpending, so status flickersstopped→active→stopped. - Automated-turn limit (
chat/services/automated-turn-limit.ts,maxConsecutiveAutomatedTurns = 25): stored outside the Conversation row with a TTL; not in status.- At the limit,
admitAutomatedTurndrops Watch Events (nothing saved, no Turn) and refuses top-level agent messages. A notice is posted once. - Child results bypass it (
enqueueAgentInvocationResult) but count toward it. - A person's Turn, or a task or message from the parent for a child, resets it.
- At the limit,
- Agent invocations:
pending,running,paused,completed,blocked,failed,stopped. A child's sign-in wait becomes a terminalblockedinvocation, and the parent wakes with the result. A TODO inagent-invocations/result.tsplans an unbuiltneeds_inputevent (Add subagent context, lifecycle controls, and execution limits #881). - Automations:
active,blocked,paused,completed; run statusblocked,completed,failed.pausedmeans a person paused the automation. Agent dispatch also hasblocked. - Review items:
open,done,dismissed; kindnoticeoraction; can be assigned to everyone, linked to many Conversations, and re-added by dedupe key. An agent may keep working while one is open. - Archive has three stores: per-person
junior_conversation_participants.archived_at,junior_conversations.child_archived_at, and the legacyjunior_conversations.archived_at(legacyArchivedAt, "must not read or write", stale data). Add Threads: child conversations people can talk to #2792 decides that archive applies to everyone and that resolved and archived are the same state. - Auto-archive (
auto-archive.ts) is per person: each user's default and grace hours, a per-Conversation override on the participant row, "a new human message restores it", and "manual restore turns auto-archive off". It skips any tree that is not executionidle. - Unread applies only to
completedandstopped(projection.ts). - The list API filter is
status: "active" | "archived", and the search tool describes it as "not archived", soactivealso means "not archived".
Prior art
From official docs for Claude Code agent view, Claude Managed Agents, OpenAI Assistants/Responses, Cursor Cloud Agents, Devin, Factory, Jules, LangGraph, Temporal, A2A, MCP tasks and ACP.
- Long-lived, resumable containers say
idlewhen ready for more input: Claude Code agent view (Working,Needs input,Idle,Completed,Failed,Stopped), Claude Managed Agents ("a session that completes its work goesidle"), Factory, LangGraph threads.completedalmost always means one run or task that has ended for good. - One "needs input" state covers questions, permission and approval in Claude Code, MCP, Devin and Jules. Only A2A splits
AUTH_REQUIREDfromINPUT_REQUIRED. - Every source keeps a person's stop apart from failure. Protocols say
cancelled; Claude Code saysStopped. - Archive is a flag everywhere (Cursor
ARCHIVEDblocks new runs; Devinis_archived; FactoryarchivedAt). Nobody uses "resolved". Unread and "ready for review" are per-person flags or groups, never a status.
via @dcramer.
--
Activity
dcramer commentedon Nov 7, 2026
I think things like automated turn limit would probably transition to needs_input? like if it interrupts your run because its hit its constraint that's just blocked at that point
sentry-junior commentedon Nov 7, 2026
Concerns from an implicit-state-machine pass, limited to Conversation status. Checked at
5187ebf.The proposal derives status from five inputs with a precedence rule: execution status,
stopped_at, the latest Turn record, open action review items, and the automated-turn limit. That only holds up if exactly one place computes it. Today the derivation is already copied, and the inputs live across Redis, SQL and a TTL'd side key.1. Status is re-derived in several places, two of them in SQL.
statusFromConversation(api/conversations/projection.ts:129), the aggregateactive/failedcounts (api/conversations/aggregate.ts:80-95), the auto-archive filter (api/conversations/auto-archive.ts:144), plus rawexecutionStatuspassthrough inapi/locations/query.ts,api/people/shared.tsandchat/agent-invocations/search-top-level.ts. Addingneeds_input(review items) andfailed(latest Turn record) to each copy is where drift starts. Suggestion: persist astatuscolumn, written only by onederiveConversationStatus()on every write that changes an input (execution write, stop, review item open/close, Turn finish, limit). Feed, counts and auto-archive read the column. This also satisfies the "no per-row query" scope bullet.2. "Latest Turn record" is not one thing today, and it expires. Turn state lives in the per-Turn cursor record, a separate
TurnSummaryindex, and the SQL execution copy; readers reconcile them (chat/task-execution/mailbox-turn.ts:136-180,turn-cursor.ts:1029-1050). A terminal cursor record has a 1h TTL (TURN_CURSOR_TERMINAL_TTL_MS,turn-cursor.ts:59), the index 24h. Iffailedis derived from the Redis record, the status silently flipsfailed→idlean hour later. Drift between the record and the summary already caused JUNIOR-9M (aaf51a505). Suggestion: the Turn's terminal outcome feeds the persisted status at the moment it is written, not read back later. Related: nothing stops a terminal Turn going back torunning(upsertTurnRecordLockedhas no terminal or version check;saveRunningincheckpoint.ts:245-257), so a late worker can resurrect afailedTurn.3. The hold check runs after the state transition, which is the root cause of the flicker. Appending input moves execution to
pending(chat/task-execution/state.ts:1253-1262); the stop check runs later in the worker (chat/conversations/session-stop.ts:139) againststoppedAtin SQL. So "stopped → active → stopped" is built in, and the precedence exception ("held keeps its status when only automated input is pending") patches over the same ordering. Suggestion: decide hold inside the append mutation, under the same lock, so held input becomes a skipped Message and never setspending. Then the exception can go. That needs the hold (stop, failed marker) readable inside that lock; today stop is spread over a Redis stop key, a stop-onlyrunId, and SQLstoppedAt(state.ts:1966-2058), andconversations/stop.ts:41-57has to make a sign-in wait runnable just to stop it.4. Execution status is itself derived, and the SQL copy is last-writer-wins. About 14 mutators write
statusdirectly with their own rules.executionWithPendingMessages/normalizeExecution(state.ts:502-508, 636-650) repairidle+lease intorunningandidle+pending intopending.failedwith pending messages is still runnable (state.ts:623-634), and the duplicate-upgrade append path keepsfailedwhile adding pending input (state.ts:1225-1228). The SQL mirror, which every dashboard status reads, is reconciled byexecution.updatedAtMsplus anolderRunFinishedmetrics lookup (chat/conversations/sql/store.ts:527-547, :873; see30f8b2cab). So "faileduntil new input clears it" depends on that race resolving the right way. Suggestions: makefailed+pending unrepresentable (input either clearsfailedor is held), and add a scenario where an older run's terminal write lands after a newer run starts.5.
pausedmeans three things. Execution: "another slice is due". Turn record: sign-in wait (resumeReason: auth).automated-turn-limit.ts:23: thepausedflag, which really means stopped. (Bonus: localstoppedinstate.ts:2300, :2525means "retries exhausted →failed".) The proposal already drops the limit's flag; I'd also rename executionpaused(e.g.yielded/backoff) so it doesn't leak into status reasoning.6. On the limit going to
needs_input(comment above). That works if hitting the limit opens an action review item ("hit 25 automated turns, continue?"). Thenneeds_inputkeeps one source, and answering it is the person input that resets the count. Mapping the limit toneeds_inputwithout an item givesneeds_inputa second derivation source, which is the implicit-state shape this issue is trying to remove. Either way, the limit state shouldn't live only in a TTL'd key: today both the count and the flag expire withJUNIOR_THREAD_STATE_TTL_MS, which can silently end the hold.dcramer commentedon Nov 9, 2026
#2959
sentry-junior commentedon Nov 17, 2026
Input that arrives while a Conversation is stopped, and what runs when the stop ends
This is the follow-up from #3435. It extends the Held input and Stop rules above with one rule for each input kind and a rule for mixed identities.
Checked at
main8edf24ddb and at the #3435 head 77c6cf93f (flagchild-agents-without-agent-invocationson). Paths are underpackages/junior/src/chat/. "Tested" means a throwaway integration test through real wiring (Postgres, Redis, the real worker, a fake runner). I did not commit it. "Inferred" means code reading only.Summary
mainand with the flag on (tested).Current behavior
When the stop happens
stopped_aton each Conversation and writes a stop request for each Conversation that has waiting work (agent-invocations/stop.ts:255-268,task-execution/state.ts:2051-2090). The stop request is keyed by the Conversation's run id. It lists only person input, and only that input is removed when a worker clears the stop (state.ts:2066-2071,:2093-2144).main, the tree stop also marks each open Agent invocationstoppedand each unread resultskipped(stop.ts:475-523). A worker ends astoppedAgent invocation without a run (agent-invocations/work.ts:756-760).subagent_startedmarker, but the message stays in the mailbox (feat(agents): Spawn and message child agents without Agent invocations #3435stop.ts,finishStoppedTree).While stopped, by input kind
conversations/session-stop.ts:135-148,:97-118session-stop.ts:142-143state.ts:2093-2144session-stop.ts:157-186session-stop.ts:194-202,agent-invocations/top-level-message.ts:118-169session-stop.ts:150-152main:work.ts:168-174. Flag on: drops only the child's own waiting parent messages first.parent-message.ts:189-214main: no such check.create.ts:583-594,:670,:728stopped.agent-invocations/child-input.ts:128-133,:160-187messageAgentto its parentchild-input.ts:164-166When the stop ends: grandchild tasks (root → A → B, A's task waits in B's mailbox)
main(Agent invocation)stopped. (tested)cancelled. (tested)turn_completed,outcome: cancelled). A gets no result for that task (inferred). (tested)The old task is cancelled only because the stop request is left over (TTL 7 days,
state/ttl.ts:2). If the request expires first, the old task runs (inferred).Mixed identities
Where "input from different people never shares a Turn" holds:
task-execution/attempt-selection.ts:36-76). Another person's message never joins a running Turn (fix(slack): Keep each Turn to a single Actor #2574).agent-invocations/result.ts,withAgentInvocationResultActors).mainchildren: each Agent invocation gets its own attempt (work.ts:204-235). A message joins a running child Turn only with the same Actor and credentials (work.ts:353-358).Where it does not hold:
parent-agent:{parent}, and the system identity (agent-invocations/parent-message.ts:300-302). So two messages that two different people's parent Turns sent share one child Turn. The Turn takes its Actor from the first entry (task-execution/conversation-turn.ts:249,:274). In the test, the Turn ran as the first person with that person's credentials, with the second person's message in the same instruction.attempt-selection.ts:36-47). A batch of Watch Events from timers of different creators shares one Turn with no delegated access (this issue, and Run every agent on one Conversation execution core #2567 part 1).A stop does not cause these, but a stop makes them worse: work that waits during a stop all reaches the mailbox before the next Turn.
Claude and Codex
Claude Code and the Agent SDK (official docs)
Escstops the current response. "Claude keeps the work done so far. If you have messages queued, Claude Code sends them next." (interactive mode, queue messages)interrupt(), "Messages you sent before the interrupt that Claude hadn't read yet still reach Claude once the interrupted response ends." The receipt lists them asstill_queued. Claude Code "can merge several into one turn". A client can sendcancel_queued: trueto cancel them. (streaming input,SDKControlInterruptResponse)TaskStop. "A subagent you stopped yourself ... doesn't auto-resume. If Claude sends it a message, the message is refused and Claude is told the agent was cancelled." Only the person can resume it, by typing into its transcript. (resume subagents)Codex (source, openai/codex@0122b12)
Op::Interruptaborts the current task (codex-rs/protocol/src/protocol.rs:725-727). Then the core clears the turn's pending input. It keeps only terminal results from other agents, and puts them back in the mailbox for the next turn (codex-rs/core/src/session/input_queue.rs:364-393). If mail waits, it can start a new turn (codex-rs/core/src/tasks/mod.rs:715-724,:557-575).codex-rs/tui/src/chatwidget/input_restore.rs:391-394,:481-483,:541-546).codex-rs/core/src/agent/control/interrupt.rs:15-52).Both products are single-user tools. The common rule: a stop never silently runs work that the person did not choose again, and it never silently drops the person's own input. Claude runs the person's input next. Codex gives it back to the person.
Proposed rule
One stop, one cut. A stop cancels the work that is running and the work that waits, in every Conversation that the stop covers, when the stop happens. Ending a stop never decides what to cancel. This keeps "no work after a stop" from #2567.
stoppedand can send it again.messageAgentfrom a stopped childmessageAgentthat the child sent before the stop is held as context, not run.Mixed identities when a stop ends
Smallest change
finishStoppedTree(agent-invocations/stop.ts:255-268), drop the waiting parent messages of every Conversation that the stop covers, beforestopConversationWork. Then an idle grandchild gets no left-over stop request, becausestopConversationWorkwrites one only when work waits (state.ts:2061-2063). This replaces the drop inendStopForParentMessage(feat(agents): Spawn and message child agents without Agent invocations #3435parent-message.ts:189-214), which covers only the child that got new work. With the flag off, Agent invocations already do this.hasSameOwner(attempt-selection.ts:36-47), compare the Actor and the credential subject of parent messages, not only the author id. This fixes the flag-on case where the first Actor wins.isSkippedAfterConversationStop(session-stop.ts:194-202), save every Event as held input, not only Watch Events. Apply the same rule to a child'smessageAgent(child-input.ts:164-166). This is the "one hold check" in this issue's Scope.session-stop.ts:142-143: drop it like the person input that waited at the stop, and keep it as a skipped Message.Items 1 and 2 are needed before the flag turns on. Items 3 and 4 are already in this issue's Scope.
What #3435 already does: a parent message from a stopped parent becomes a Conversation note; a spawn from a stopped parent is refused; a late tree stop stops every child that is not stopped yet; the tree stop ends the waiting parent messages' markers; the child drops its own skipped parent messages when new work ends its stop.
Fix in the design doc (#3597): the gap "When a stop ends, the parent messages to a grandchild that the stop skipped run again" should say that new work after the stop can be lost, and that parent messages from different Actors can share a Turn.
Not checked
assistant skipped: stopped conversation(services/conversation-memory.ts:57-80). I did not check which Turns include that block. This issue's Scope already lists this check.main.feat(conversations): Derive one Conversation status (#2951)
feat(conversations): Hold automated input only while a Conversation i…
feat(conversations): Auto-archive stopped trees and keep one archive …