Skip to content

feat(cli): quiz answers#10845

Open
uinstinct wants to merge 6 commits intocontinuedev:mainfrom
uinstinct:cli-quiz
Open

feat(cli): quiz answers#10845
uinstinct wants to merge 6 commits intocontinuedev:mainfrom
uinstinct:cli-quiz

Conversation

@uinstinct
Copy link
Contributor

@uinstinct uinstinct commented Feb 26, 2026

Description

Introduce quiz to ask clarifying questions in the cli.

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • [] I've read the contributing guide
  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screen recording or screenshot

image

Tests

[ What tests were added or updated to ensure the changes work as expected? ]


Continue Tasks: ❌ 7 failed — View all


Summary by cubic

Adds an interactive quiz flow to the CLI so it can ask clarifying questions and capture user answers before proceeding. Users can choose from options or type a custom answer; prompt behavior and copy refined, and the old allowCustomAnswer flag is removed.

  • New Features
    • QuizService: event-driven ask/answer with pending state.
    • AskQuestion built-in tool (readonly) with options and default answer; no allowCustomAnswer param; returns normalized reply.
    • QuizPrompt TUI: arrow-key selection or typed answers with clearer hints; integrated into Chat; input disabled during active question.
    • useChat: listens for quiz events, exposes activeQuizQuestion, and handles answers; wired through TUIChat and ScreenContent.
    • Registered quiz service; added tool to ALL_BUILT_IN_TOOLS/BUILT_IN_TOOL_NAMES.
    • Default policies updated to allow AskQuestion in default and plan modes.

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

@uinstinct uinstinct requested a review from a team as a code owner February 26, 2026 06:34
@uinstinct uinstinct requested review from Patrick-Erichsen and removed request for a team February 26, 2026 06:34
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 26, 2026
- also refine the prompt
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 16 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant