Add issue #143 report: AskUserQuestion PAI Q&A pattern design#149
Merged
virtualian merged 1 commit intomainfrom Apr 21, 2026
Merged
Add issue #143 report: AskUserQuestion PAI Q&A pattern design#149virtualian merged 1 commit intomainfrom
virtualian merged 1 commit intomainfrom
Conversation
Investigation-only deliverable. Recommends hybrid design: keep direct AskUserQuestion calls in CC, add PAI-level ENUMERATE→OFFER trigger gate for ALGORITHM + OPEN_CHOICES output field for NATIVE, subagent-bubble protocol via pending_user_choices[], and abstract response contract for non-CC harnesses. 13 coupling points verified across runtime and Packs. Runtime probe confirms general-purpose subagents lack direct AskUserQuestion access. Implementation is out-of-scope; §8 lists 7 work items for a follow-up issue.
5 tasks
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
AskUserQuestioncalls in CC; add PAI-level ENUMERATE→OFFER trigger gate for ALGORITHM mode; add❓ OPEN_CHOICES:output field for NATIVE mode; subagent-bubble protocol viapending_user_choices[]; abstract Request/Response contract for non-CC harnesses.$PAI_DIRruntime andPacks/. In-session runtime probe confirmedgeneral-purposesubagents have neitherAskUserQuestionnorToolSearchin their surface (ASK_USER_QUESTION_STATUS: ABSENT).Report structure
§1 Executive Summary · §2 Problem Statement · §3 Current State (13 coupling points) · §4 Design Decisions (4 sub-decisions × 4 options each) · §5 Inventory (10 touchpoints) · §6 Trade-offs Summary · §7 Recommendation · §8 Implementation Handoff (7 work items) · §9 Scope Boundary · Appendix A (caveats) · Appendix B (related existing work).
Test plan
reports/20260421-issue-143-askuserquestion-pai-design.mdPacks/Scope
Closes #143.
Follow-up implementation tracked in #148.