{{ message }}
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Enable Copilot CLI users to receive and respond to agent questions through channels beyond the terminal—Slack, SMS, email, mobile apps, or custom integrations. This unlocks unattended/background agent workflows where users aren't watching the terminal.
Problem Statement
Today, when Copilot CLI needs user input (clarifying questions, design decisions, approvals), it blocks and waits for terminal input. This works well for interactive sessions but breaks down in key scenarios:
User pain point: "I started a big refactoring task, went to lunch, came back and Copilot had been waiting 45 minutes for me to pick a database."
Target Users
User Scenarios
Scenario 1: The Coffee Break
Scenario 2: The Sandbox Agent
Scenario 3: The Approval Gate
Scenario 4: The Hybrid Response
User Experience
Configuration (One-time setup)
User adds a config file to their repo:
Minimal example:
{ "version": 1, "inputChannels": [ { "name": "my-slack-bot", "endpoint": "https://my-app.example.com/copilot/ask", "timeoutSec": 300 } ] }That's it. No code changes to Copilot, no feature flags, no special setup.
Runtime Behavior
When Copilot calls
ask_user:User-Visible Changes
Key Capabilities
Must Have (P0)
${VAR_NAME}in configShould Have (P1)
Nice to Have (P2)
Success Metrics
Non-Goals (Out of Scope)
Technical Constraints
.github/)Open Questions for Engineering
Appendix: Protocol Overview
External services implement a simple HTTP contract:
Request (CLI → Service):
{ "requestId": "uuid", "question": "Which database?", "choices": ["PostgreSQL", "MySQL"], "allowFreeform": true }Response (Service → CLI):
{ "status": "completed", "answer": "PostgreSQL", "wasFreeform": false }Or for async:
{ "status": "pending", "pollUrl": "/status/uuid" }Full protocol spec available in technical design doc.
Related Documents
Beta Was this translation helpful? Give feedback.
All reactions