Repository navigation
Explicit unfinished-task recovery after a completed turn #43831
Paul-06-Stewart
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This proposes a feature for maintainer scope agreement. T3 does not currently promise continuation after every successful turn.
Problem
A provider can finish a turn while an authorized task remains unfinished. In an observed workflow, an agent promised to continue after CI, but its shell wait exited without a delivered continuation. In a later phase, native PR notifications worked, yet the actual blocker had become a human decision. The agent did not create the remaining question card.
Shell-wait guidance addresses the first mistake. It does not establish a durable obligation to finish the task. Resuming every idle or completed thread would override deliberate stops and completed work.
Proposed scope
Would you accept a default-off, explicitly enrolled unfinished-task contract inside the existing orchestration system?
No enrollment is inferred from idle age or assistant prose. No external process writes the live database.
Relationship to existing work
Discussion #17884 concerns confirmed terminal stream failures and explicitly excludes successful turns. This proposal concerns declared unfinished work after a successful turn. Shared continuation, cancellation, and budget mechanisms should be reused where possible.
Discussion #16269 proposes a persistent initiative coordinator, brief, and overview. This narrower proposal concerns conditional resumption of an enrolled task. It does not require a new project overview or coordinator product.
Prototype evidence and limits
An isolated prototype has native command, scheduler, MCP, provider-start, and question-response tests. Independent verification passed 223 targeted native tests, including a disposable three-process restart, and a separate authorization/scheduler probe. A browser test rendered the actual question component from the native exhaustion projection and checked its controls.
Review reproduced two defects: question identity reuse overwrote an earlier answer, and final admission missed a late background-command event. Regression tests failed before the fixes and passed afterward. Both independent fix reviews are clean across 27 focused cases. Additional native controls confirm that completed commands, rolled-back work, and persistent tools retain their existing admission semantics.
The browser check proves component rendering, not the installed composer-to-server response path. The restart proof reopens native services in separate processes, not an installed desktop/server deployment.
Synthetic adapters establish service behavior, not real-provider acceptance or installed fleet behavior. Nothing has been installed into a live runtime. No upstream feature PR will be submitted as though maintainer scope agreement already exists.
Requested direction
Is this explicit contract within T3's intended scope? If so, should enrollment extend an existing goal/task API rather than introduce a separate agent-facing control? We can reduce the implementation to the smallest agreed behavior and provide runnable before/after evidence.
All reactions