Skip to content

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

Merged
RomneyDa merged 2 commits intocontinuedev:mainfrom
Siew-s-Capital:fix/docs-askquestion-cli-11153
Mar 19, 2026
Merged

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

Conversation

@siewcapital
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor

github-actions Bot commented Mar 7, 2026

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

Copy link
Copy Markdown
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
Copy Markdown
Contributor

@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
Copy Markdown
Contributor Author

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

@siewcapital
Copy link
Copy Markdown
Contributor 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
Copy link
Copy Markdown
Contributor

@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.

Great updates, thanks!

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Mar 19, 2026
@RomneyDa RomneyDa merged commit 5d67e48 into continuedev:main Mar 19, 2026
50 of 60 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Issues and PRs Mar 19, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Docs: Add documentation for AskQuestion tool in CLI

2 participants