You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Workflow runs: surface thread-started runs like subagents across Working, Snoozed, and Active
#43309
TL;DR: Workflow runs merge into the existing sidebar and work silently in the background, so there's no separate page and no ⌘K. They only ask for attention when they need you.
Problem
Workflows (beta in v0.1.12, Labs-gated; PR #38882 server, #38884 web/mobile) add durable TypeScript runs with agent steps, sleeps, PR/CI/signal waits, human prompts, schedules, and webhooks. Today, #38884 soft-launches Workflows behind Cmd+K → Open workflows with no sidebar entry and a hidden mobile tab, while agent-step threads stay hidden like subagents.
In practice, agents start runs without the user deliberately "using Workflows." Unless you know the Cmd+K page exists, nothing looks active—a real reaction was "I never see it here on the T3 interface." Desktop and mobile also disagree today: the same running workflow was visible on the phone app but not in the desktop sidebar. Rather than adding a new sidebar section or menu to learn, runs should reuse the sidebar model T3 already has (related to #34418 on MCP-launched thread lineage).
Core idea
A run started from a thread behaves like that thread's subagent. There is no separate run row. The starting thread moves through existing buckets, reusing the rule that waiting on subagents keeps a thread in Working:
Run state
Bucket
Row treatment
Running or waiting on CI
Working
run · batch 4 · 96/240
Paused on a usage limit
Snoozed
usage limit · wakes 16:21 (header shows next wake)
Needs input, failed, or finished
Active (top)
Amber or red edge, same as threads
Done
Settled
Normal settle / auto-settle rules
Pinning works unchanged. The thread hover card (project, machine, branch, model, linked PRs) adds one row per run next to its PRs.
(In the mockups below, the top button strip is a prototype demo control, not proposed UI.)
Walkthrough
Example: in Plan the Vitest migration, an agent starts a run to migrate 240 Jest files in ~10 batches on one PR:
Ask once before pushing code. Read-only runs start silently. Code-pushing runs use the normal approval prompt, split into Plan (branch, model with change, batch count, whole-job usage estimate, what Stop does) and Enforced by T3, not just instructions (file scope, push only to its branch, can't merge, snapshot changes always ask, same-PR runs push one at a time). Actions: Start run, Do it here instead, Change scope….
Chat card, right panel, and continued chatting. Like a subagent, the run sits in chat as a card (title, status, progress such as 234 migrated · 6 skipped of 240, collapsed Scope & limits ▸) and opens its timeline in a right-panel tab with clickable agent steps (Cmd-click → main view). Chatting mid-run moves the thread to Active (new reply); once read, it drops back into Working while the run continues.
Usage-limit pauses. The thread moves to Snoozed (matching "Snooze until reset," still waking early on questions/errors), showing passive Resumes by itself at 16:21 plus Resume now with… <model> ▾.
Bottom-of-chat prompts and reply chip. When a run needs you, fails, or finishes, a message arrives at the bottom of the chat so continued chatting never buries it. While waiting, the composer shows ↩ Replying to: <run> ✕ so typing answers the run; ✕ returns to the thread agent.
Failure recovery. A failed batch surfaces at the top of Active with a red edge, stating what broke and what is safe (batches 1–7 safe on PR #431), with Retry, Retry with a note…, Skip batch, continue, Stop, keep progress, and View errors.
Two runs on one thread. The row shows the most urgent state (needs you › failed › working › snoozed) plus +1 run; the header summarizes both; each run gets a right-panel tab.
No starting thread (schedules and webhooks). These get a sidebar row only when they have something to say. A clean nightly dependency audit settles itself; a CVE finding surfaces in Active with its schedule, next run, Pause for… ▾ vs Turn off schedule, Run now, and Ask an agent about this (starts a new thread). Cmd+K → Workflows remains the home for definitions, schedules, and history.
How this was tested
Iterated 8 times in an interactive HTML prototype across 6 rounds of simulated usability testing (AI models role-playing daily T3 users, not real users). Separate run rows meant "two things to track" → merged into the starting thread; testers would not trust agent-started runs without enforced limits and a whole-job usage estimate; continued chatting buried prompts → bottom-of-chat messages + reply chip. Final rounds scored ~8/10 vs. the Cmd+K page, with testers willing to leave a long migration unattended.
Open questions
Settled noise: Should clean scheduled runs create a Settled entry, or appear only in schedule history so Settled isn't flooded?
Snoozed fit: Is Snoozed right for usage-limit pauses? It matches "Snooze until reset," though Snoozed can read as user-initiated deferral.
Enforcement: The start card assumes file/branch/merge scope is enforced by T3, not prompt-only—an open implementation question.
State join: Because feat(server): durable workflows #38882 stores runs separately ("runs are neither projects nor threads"), the sidebar would need to join run state onto the starting thread.
Remaining polish: Reattaching the reply chip after ✕ (e.g., a Reply button on the waiting message); renaming Stop, keep progress → End run, keep PR; showing used-so-far vs. remaining in Scope & limits mid-run; clarifying whether Resume now with <model> applies until reset or for the rest of the run.
Feedback on whether this fits Workflows' direction is welcome; happy to share the prototype on request.
Drafted with AI assistance from an interactive prototype and several rounds of simulated usability testing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
TL;DR: Workflow runs merge into the existing sidebar and work silently in the background, so there's no separate page and no ⌘K. They only ask for attention when they need you.
Problem
Workflows (beta in v0.1.12, Labs-gated; PR #38882 server, #38884 web/mobile) add durable TypeScript runs with agent steps, sleeps, PR/CI/signal waits, human prompts, schedules, and webhooks. Today, #38884 soft-launches Workflows behind
Cmd+K → Open workflowswith no sidebar entry and a hidden mobile tab, while agent-step threads stay hidden like subagents.In practice, agents start runs without the user deliberately "using Workflows." Unless you know the
Cmd+Kpage exists, nothing looks active—a real reaction was "I never see it here on the T3 interface." Desktop and mobile also disagree today: the same running workflow was visible on the phone app but not in the desktop sidebar. Rather than adding a new sidebar section or menu to learn, runs should reuse the sidebar model T3 already has (related to #34418 on MCP-launched thread lineage).Core idea
A run started from a thread behaves like that thread's subagent. There is no separate run row. The starting thread moves through existing buckets, reusing the rule that waiting on subagents keeps a thread in Working:
run · batch 4 · 96/240usage limit · wakes 16:21(header shows next wake)Pinning works unchanged. The thread hover card (project, machine, branch, model, linked PRs) adds one row per run next to its PRs.
(In the mockups below, the top button strip is a prototype demo control, not proposed UI.)
Walkthrough
Example: in Plan the Vitest migration, an agent starts a run to migrate 240 Jest files in ~10 batches on one PR:
change, batch count, whole-job usage estimate, what Stop does) and Enforced by T3, not just instructions (file scope, push only to its branch, can't merge, snapshot changes always ask, same-PR runs push one at a time). Actions:Start run,Do it here instead,Change scope….234 migrated · 6 skipped of 240, collapsedScope & limits ▸) and opens its timeline in a right-panel tab with clickable agent steps (Cmd-click → main view). Chatting mid-run moves the thread to Active (new reply); once read, it drops back into Working while the run continues.Resumes by itself at 16:21plusResume now with… <model> ▾.↩ Replying to: <run> ✕so typing answers the run;✕returns to the thread agent.batches 1–7 safe on PR #431), withRetry,Retry with a note…,Skip batch, continue,Stop, keep progress, andView errors.needs you › failed › working › snoozed) plus+1 run; the header summarizes both; each run gets a right-panel tab.Pause for… ▾vsTurn off schedule,Run now, andAsk an agent about this (starts a new thread).Cmd+K → Workflowsremains the home for definitions, schedules, and history.How this was tested
Iterated 8 times in an interactive HTML prototype across 6 rounds of simulated usability testing (AI models role-playing daily T3 users, not real users). Separate run rows meant "two things to track" → merged into the starting thread; testers would not trust agent-started runs without enforced limits and a whole-job usage estimate; continued chatting buried prompts → bottom-of-chat messages + reply chip. Final rounds scored ~8/10 vs. the
Cmd+Kpage, with testers willing to leave a long migration unattended.Open questions
✕(e.g., a Reply button on the waiting message); renamingStop, keep progress→End run, keep PR; showing used-so-far vs. remaining inScope & limitsmid-run; clarifying whetherResume now with <model>applies until reset or for the rest of the run.Feedback on whether this fits Workflows' direction is welcome; happy to share the prototype on request.
Drafted with AI assistance from an interactive prototype and several rounds of simulated usability testing.
All reactions