Skip to content

docs(cli): cover AskQuestion tool behavior and TUI interaction#11162

Open
siewcapital wants to merge 2 commits intocontinuedev:mainfrom
Siew-s-Capital:fix/docs-askquestion-cli-11153
Open

docs(cli): cover AskQuestion tool behavior and TUI interaction#11162
siewcapital wants to merge 2 commits intocontinuedev:mainfrom
Siew-s-Capital:fix/docs-askquestion-cli-11153

Conversation

@siewcapital
Copy link

@siewcapital siewcapital commented Mar 7, 2026

Summary

  • document the AskQuestion built-in in docs/cli/tool-permissions.mdx, including parameters and default permission behavior
  • add a new TUI section describing how question prompts work (arrow-key selection, custom typed answers, and default answer behavior)
  • update read-only tool examples in CLI docs so AskQuestion is explicitly included

Why

Issue #11153 requested docs for the AskQuestion tool and how users interact with it in TUI mode. This update adds those details in the two suggested CLI docs pages.

Closes #11153


Summary by cubic

Documents the AskQuestion tool and how interactive questions work in CLI TUI mode, addressing #11153. Updates permissions to default-allow more read-only tools (AskQuestion, Checklist, Status, CheckBackgroundJob, ReportFailure, UploadArtifact) and clarifies Diff runs automatically; explains arrow-key selection, typed custom answers, and default answer submission.

Written for commit a0fc354. Summary will update on new commits.

@siewcapital siewcapital requested a review from a team as a code owner March 7, 2026 15:03
@siewcapital siewcapital requested review from sestinj and removed request for a team March 7, 2026 15:03
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Mar 7, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Copy link
Collaborator

@RomneyDa RomneyDa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@siewcapital I think it would be nice to document this. Could we make it more brief? I think we could remove the Parameters and Permission behavior section (other tools don't have params sections, permissions can be noted in the read-only blurb.

The TUI mode file looks good to me.

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Mar 13, 2026
@siewcapital
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@siewcapital
Copy link
Author

@RomneyDa Good call — it was getting verbose. I've stripped out the Parameters and Permission behavior sections. The AskQuestion tool is now documented inline with the other read-only tools (brief permission note in the blurb). TUI section stays as-is since that looked good to you. Should be much tighter now.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Docs: Add documentation for AskQuestion tool in CLI

2 participants