Repository navigation
Description
Summary
When an ACP agent (omp) asks a multiple-choice question with an "Other (type your own)" option, bb's question tool shows the free-text answer as a second question. That second question must also be answered. Expected: one question with the choices, and free text as part of that same question.
Versions and environment
- bb: source commit
b143a22(main). Desktop app 0.46.1 is installed locally; I did not test the live UI on it. - macOS 26 (darwin 25.2.0, arm64).
- Provider: omp over ACP. Installed omp is 18.12.5. The
<name>__otherfield naming was checked against omp 18.10.4 source, not the installed binary.
Steps to reproduce
Not reproduced in the live UI. Closest faithful repro, at the exact code path, on b143a22:
- Check out
b143a22and openpackages/provider-bridge-acp. - Call
planAcpElicitationfromsrc/elicitation.tswith:
{"mode":"form","message":"Which branch?","requestedSchema":{"type":"object","properties":{"branch":{"type":"string","title":"Branch","enum":["alpha","beta"]},"branch__other":{"type":"string","title":"Other"}}}}- Observe two questions.
Did not reproduce with: a text-only __other field. That case is planned as its own question on purpose.
Expected vs actual
Actual (abbreviated from the repro output):
questions: [
{ id: "branch", options: [alpha, beta], allowFreeText: false },
{ id: "branch__other", prompt: "Other", allowFreeText: true }
]
Expected: one question branch with options alpha and beta, allowFreeText: true, and the typed "Other" answer returned as that question's value.
Evidence
- The code at the base commit plans one question per form field and has no
__otherfolding: https://github.com/get-bb/bb/blob/b143a22/packages/provider-bridge-acp/src/elicitation.ts#L288-L297 - The base
toResponsedeclines the whole form when a planned field's answer does not decode (elicitation.tsL312-L320 atb143a22), so the separate text question is effectively required. - Investigation thread:
thr_qwsifvk3dw.
What you ruled out
- Not a duplicate: no open or closed issue or PR for
__otheror Other free text was found when filed. - Not provider-agnostic as far as I checked: only omp was examined.
- Not verified in the live bb UI. The repro above is unit-level.
Suggested priority and effort
Medium. Every omp choice question with an Other option is split. Workaround: answer both questions. Effort: low, a small change in elicitation.ts with tests.
Checks
- I could not reproduce in the live UI; the unit-level repro above is the closest available.
- I searched open and closed issues for the same problem.
- This body ends with
> AGENT GENERATEDand links the investigation thread.
AGENT GENERATED
Activity
bb-slop-cop commentedon Oct 21, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotproviders,provider-acp, andpartial-repro.b143a22produce the same failure: expected one question, received two. The diagnostic and standalone-text controls pass; all five existing planner tests pass. The report includes the repeatable test and both logs.Jehu commentedon Oct 24, 2026
Confirmed in the live desktop UI — this fills the "live UI unverified" gap.
Environment: bb Desktop 0.47.1 (macOS, arm64), provider omp/pi-coding-agent over ACP.
Live observation: Agent sent an
askcall with 2 questions (3 radio options each). The questionnaire panel rendered:Welches Dokument?·Other (type your own)·Was für eine Art Arbeit?·Other (type your own)Screenshot available on request.
Source confirmation (matching the report's root cause):
omp side,
pi-coding-agent/src/modes/acp/acp-agent.ts,askDialogadapter (~line 697): for every question it emits two elicitation properties —q{index}(title = question text) andq{index}__other({ type: "string", title: OTHER_OPTION }, withOTHER_OPTION = "Other (type your own)"fromsrc/tools/ask.ts:51).bb side,
provider-acpquestionFor(bundleddist/server.js, bb 0.47.1): maps each form property to its own question (one tab per property,shortLabelderived from the property), so each__othercompanion becomes a standalone question.bb side,
ask-user-questionUI (dist/app.js): header =questions.length, tabs = one per question, progress =N of M— it renders exactly the 4 questions it received.Additional wrinkle: the panel then offers free text twice — bb already appends an inline "Other…" per question (the
AskUserQuestionMCP bridge setsallowFreeText: trueunconditionally), plus the synthetic__othertab. The synthetic tabs also make the form title ("Answer 2 questions", sent by omp as the elicitation title) contradict the tab count (4).Suggested fix (same direction as the report): in the
provider-acpconverter, recognize string properties keyed*__other(title "Other (type your own)") and fold them into the sibling question asallowFreeText: true+ map the response back intofreeText, instead of emitting a separate question.Share one elicitation form translator and let ACP forms fold Other fi…
Show agent questions bb could not show: optional questions, ACP Other…