feat(todo-continuation): respect awaiting_input status for interactive workflows#739
Closed
blackbxdev wants to merge 2 commits intocode-yeongyu:devfrom
Closed
feat(todo-continuation): respect awaiting_input status for interactive workflows#739blackbxdev wants to merge 2 commits intocode-yeongyu:devfrom
blackbxdev wants to merge 2 commits intocode-yeongyu:devfrom
Conversation
…e workflows Add support for 'awaiting_input' todo status to allow agents to signal intentional pauses while waiting for user input at interactive checkpoints. This enables multi-phase agent workflows (e.g., discovery agents, planning agents) to pause for user confirmation without triggering continuation prompts, while preserving auto-continuation for unintentional stops. Changes: - Add 'awaiting_input' to excluded statuses in getIncompleteCount() - Add getAwaitingInputCount() helper function - Add logging when tasks are awaiting user input
Contributor
|
All contributors have signed the CLA. Thank you! ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
recheck |
Author
|
recheck |
Author
|
I’ve signed the CLA with the required comment and retriggered the check, but the CLA job is failing with: Could not update the JSON file: Repository rule violations found. Could someone please check the CLA workflow/branch rules on dev for this? Thank you! |
Author
|
recheck |
kdcokenny
pushed a commit
that referenced
this pull request
Jan 13, 2026
sssgun
pushed a commit
to sssgun/oh-my-opencode
that referenced
this pull request
Jan 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add support for
awaiting_inputtodo status to allow agents to signal intentional pauses while waiting for user input at interactive checkpoints.Problem
The
todo-continuation-enforceris excellent for ensuring agents complete their work—it's one of the key features that makes Sisyphus so effective. However, some agent workflows intentionally require user input at specific checkpoints:Currently, when an agent pauses to ask for user input while having pending todos, the enforcer interprets this as "agent stopped prematurely" and injects continuation prompts—preventing the user from interacting.
Solution
Add
awaiting_inputas a recognized todo status that signals "this task is intentionally paused waiting for external input."This is a minimal, semantic change that:
Changes
Also added:
getAwaitingInputCount()helper functionExample Usage
When an agent needs user input:
awaiting_inputin_progressorcompletedand continueWhy This Approach
skipAgentsconfigawaiting_inputstatusBackward Compatibility
awaiting_inputbehave exactly as beforeTesting
The existing test file should be extended with:
awaiting_inputstatusawaiting_inputtask is changed toin_progressThank you for building such a powerful agent framework—the todo-continuation-enforcer is genuinely one of the features that makes oh-my-opencode stand out. This small addition would make it even more flexible for diverse agent workflows.
Summary by cubic
Add support for the awaiting_input todo status so agents can pause at interactive checkpoints without being forced to continue. This keeps normal auto-continuation for all other cases.
Written for commit 8ca8ace. Summary will update on new commits.