-
Notifications
You must be signed in to change notification settings - Fork 0
Self Test
Phase 1 is built for Claude Desktop for Mac. The self-test confirms that
ask_user_input_v0renders correctly in your Claude Desktop environment.
The widget includes a built-in self-test that proves ask_user_input_v0 is available and rendering correctly in the current Claude context. Run it any time you are unsure whether the engine is working, after installing, or after moving to a new Claude environment.
Say any of the following to the Claude instance where the widget is installed:
test widgetrun widget testtest elicitationdoes the widget work
The self-test skips Part A of the engine entirely. It runs its own dedicated flow using a 5-question sample inventory built into the widget.
Step T1 — Announce
Claude says:
"Running Elicitation Widget self-test using a 5-question sample inventory. All questions will appear together in one native UI interaction."
Step T2 — Run the batched call
Claude calls ask_user_input_v0 once with the built-in SELF_TEST_QUESTIONS array. All five questions appear together in a single interaction.
The sample inventory covers: project type, build stage, stack preference, PRD depth, and ownership. These questions are fixed inside the widget and are only used for testing.
Step T3 — Report pass
After you submit all answers, Claude reports:
Self-test PASSED.
Questions presented: 5
Questions answered: 5
Delivery method: Single batched ask_user_input_v0 call
Payload assembled:
[Elicitation complete]
Project type: {answer} | Build stage: {answer} | Stack preference: {answer} | PRD depth: {answer} | Ownership: {answer}
Step T4 — Report failure
If the tool does not render:
Self-test FAILED. ask_user_input_v0 did not render the choice cards.
Confirm the tool is available in this Claude chat context and retry.
All three must be true for the self-test to count as passed:
- All five questions were presented in a single
ask_user_input_v0call. - You selected an answer for every question.
- Claude assembled and reported the full payload without pausing.
| Symptom | Likely cause |
|---|---|
| Self-test FAILED message |
ask_user_input_v0 not available in this Claude context |
| Questions shown as prose instead of choice cards | Wrong Claude context or outdated Claude version |
| Only some questions appeared |
ask_user_input_v0 option count limit; check your options arrays have 2 to 4 entries each |
| Widget ran but did not report results | Claude stopped before Step T3; retry |
Copyright 2025-2026 Kenneth Benavides. MIT License.