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
Tasks extension (SEP-2663): no interoperable surface for partial output of a running task #3237
Implementer feedback from building a computer-use (GUI/browser automation) server on the Tasks extension (SEP-2663, 2026-07-28 revision). Filing as an issue since the SEP PR is merged/final.
Problem
The Tasks extension gives a running task a lifecycle (working → input_required → completed/failed) and a terminal result, but no standard surface for partial output while the task is still running. tasks/get returns status, not the in-progress trace, log, or incremental artifacts. Today the only home for that data is a private _meta blob — which, by definition, no other client can render.
For most long-running tools this is a minor gap. For computer use it is the core of the product: watching the run — each observe/click/type step, each screenshot, each approval — is most of the value of a long autonomous session. With no interoperable surface, every client reinvents live-run visibility, and cross-client interop is lost precisely for the tasks users most want to watch.
What we observed implementing it
We hand-rolled SEP-2663 server-side (the extension packages don't yet compose with the v2 SDK) and found nowhere in the vocabulary to put an in-flight trace.
resources/subscribe / subscription notifications work well on the v2 SDK — the transport for streaming already exists; it just isn't connected to tasks.
Proposal
Define a task-scoped log resource convention: a task MAY advertise a resource URI (e.g. task-log://{taskId}) whose reads return ordered partial-output records and which supports subscriptions for incremental push. This reuses existing resource + subscription machinery rather than adding a new method. Records should carry a monotonic sequence number so a reconnecting client can resume without gaps.
Interim, we plan to dual-emit: a vendor-private _meta key plus the task-log://{taskId} resource shape above, degrading gracefully to tasks/get polling for clients that support neither.
Questions for the WG
Is a standard partial-output surface in scope for the Tasks extension, or deliberately delegated to resources?
If delegated, would the WG bless a canonical task-log:// resource shape + ordering guarantee so it's interoperable rather than per-vendor?
Is resources/subscribe the intended streaming transport for task progress?
Supporting this, with a couple of additions on the ordering/resume guarantees, since those are where interop usually breaks.
The resource-convention approach is the right instinct — reusing resources/subscribe + a task-log://{taskId} resource avoids inventing a new method and rides machinery clients already implement. The part that needs to be nailed down for real interop is the record contract, not the transport:
Monotonic, server-assigned sequence numbers per task (you mention this) — and critically, a documented resume rule: a reconnecting client passes the last sequence it saw and the server MUST return records strictly after it with no gaps and no duplicates. Without a spec'd resume rule, every client reinvents gap-detection and they won't agree.
Relationship to the terminal result. The spec should say whether the final tasks/get result is expected to be reconstructable from the log stream, or is independent. Clients caching the stream need to know if they can skip the final fetch.
Why this generalizes beyond computer-use: any long-running connector operation (a multi-step sync, a bulk import, a brokered approval) has the same "watching the run is most of the value" property. A single interoperable partial-output surface is what lets a host render progress uniformly across very different long-running tools instead of per-vendor _meta blobs. That argues for blessing the canonical shape at the Tasks-extension level rather than delegating silently to resources.
I'd be glad to help draft the task-log:// shape + ordering/resume guarantee as a short SEP if the WG agrees it's in scope
Disclosure: I drafted this with AI assistance and reviewed it; the position and experience are my own.
@priyankanmehta I've opened modelcontextprotocol/agents-ig#30 with the other model: a bounded view of the task's current output that each update replaces, with a revision, instead of an append log. A client that reconnects just reads the current view, so there is no resume rule to agree on, and the final result is never rebuilt from the views. The cost is that full history is out of scope.
Are you drafting the task-log:// SEP? If so, I'd link the two so the WG can compare them side by side.
@LucaButBoring For the append log proposed here, I think #3415 mostly covers it. An event type that takes a taskId and supports replay gives resume from a cursor, dedup by eventId and truncated: true on gaps. What it doesn't define is a common event type and payload for task output, so a generic client still needs per-server rules to find and render it. It also asks for minimal payloads, so large parts like screenshots would be fetched separately.
For the bounded view I linked above, there are three gaps. A client that subscribes without a cursor gets nothing until the next event, sending only the newest view after a gap has to be marked truncated, and a task that completes can only end its subscription with an error. I created PR #38 in ext-tasks with that view as a draft SEP built on Events, and it proposes a fix for each of the three.
Activity
priyankanmehta commentedon Oct 20, 2026
Supporting this, with a couple of additions on the ordering/resume guarantees, since those are where interop usually breaks.
The resource-convention approach is the right instinct — reusing
resources/subscribe+ atask-log://{taskId}resource avoids inventing a new method and rides machinery clients already implement. The part that needs to be nailed down for real interop is the record contract, not the transport:Monotonic, server-assigned sequence numbers per task (you mention this) — and critically, a documented resume rule: a reconnecting client passes the last sequence it saw and the server MUST return records strictly after it with no gaps and no duplicates. Without a spec'd resume rule, every client reinvents gap-detection and they won't agree.
Record kinds. Partial output is heterogeneous (log line, incremental artifact, status transition, an approval/input-required marker). A small open-but-namespaced
kindtaxonomy (mirroring the extensibility argument in MRTR:inputRequestsis a closed enum of three methods — add an extensible / reverse-DNS-namespaced member type #2919) lets generic clients render the common kinds and skip unknown ones, rather than treating the whole stream as opaque text.Relationship to the terminal result. The spec should say whether the final
tasks/getresult is expected to be reconstructable from the log stream, or is independent. Clients caching the stream need to know if they can skip the final fetch.Why this generalizes beyond computer-use: any long-running connector operation (a multi-step sync, a bulk import, a brokered approval) has the same "watching the run is most of the value" property. A single interoperable partial-output surface is what lets a host render progress uniformly across very different long-running tools instead of per-vendor
_metablobs. That argues for blessing the canonical shape at the Tasks-extension level rather than delegating silently to resources.I'd be glad to help draft the
task-log://shape + ordering/resume guarantee as a short SEP if the WG agrees it's in scopeDisclosure: I drafted this with AI assistance and reviewed it; the position and experience are my own.
girishkvs commentedon Oct 21, 2026
@priyankanmehta I've opened modelcontextprotocol/agents-ig#30 with the other model: a bounded view of the task's current output that each update replaces, with a revision, instead of an append log. A client that reconnects just reads the current view, so there is no resume rule to agree on, and the final result is never rebuilt from the views. The cost is that full history is out of scope.
Are you drafting the
task-log://SEP? If so, I'd link the two so the WG can compare them side by side.LucaButBoring commentedon Nov 17, 2026
I expect #3415 to ultimately handle this use case in a way that is agnostic to Tasks - does that sufficiently address this use case already?
girishkvs commentedon Nov 19, 2026
@LucaButBoring For the append log proposed here, I think #3415 mostly covers it. An event type that takes a
taskIdand supports replay gives resume from a cursor, dedup byeventIdandtruncated: trueon gaps. What it doesn't define is a common event type and payload for task output, so a generic client still needs per-server rules to find and render it. It also asks for minimal payloads, so large parts like screenshots would be fetched separately.For the bounded view I linked above, there are three gaps. A client that subscribes without a cursor gets nothing until the next event, sending only the newest view after a gap has to be marked
truncated, and a task that completes can only end its subscription with an error. I created PR #38 in ext-tasks with that view as a draft SEP built on Events, and it proposes a fix for each of the three.