Skip to content

Plugin-form (AskUserQuestion) answers are never persisted to the interaction record, so the transcript loses every answered question #4463

Closed

Description

@cristoslc

Summary

Answering a plugin-registered AskUserQuestion form loses the answer from every transcript view: the stored resolution records only { "kind": "plugin_submitted" }, and the timeline drops both the tool call and the delivered-result system message. What the user decided is invisible everywhere the thread renders. Expected: the questions and chosen answers stay visible, the way the native provider user_question path already persists them.

Versions and environment

  • bb 0.44.0 (desktop app), macOS (Darwin 24.x)
  • Built-in plugin: ask-user-question (origin kind plugin, rendererId ask-user-question)
  • Evidence via bb thread log / bb thread interactions show against the data the app renders

Steps to reproduce

  1. Answer an AskUserQuestion plugin form through the host question form.
  2. bb thread interactions show <id> <thread> --json — inspect resolution.
  3. bb thread log <thread> --json --all — find the client/turn/requested row with systemMessageKind: "tool-result-delivered".
  4. Open the thread: main view and any plugin pane show nothing about it.

Verified against a real production thread; no isolated fresh-repro thread was run.

Expected vs actual

Actual, verbatim — the resolution stores no answers, no submitted value:

"resolution": { "kind": "plugin_submitted" }

The only other trace is the delivery event, marked suppressed (verbatim, trimmed):

{"seq":7014,"type":"client/turn/requested","systemMessageKind":"tool-result-delivered","systemMessageSubject":{"kind":"tool-call","toolName":"AskUserQuestion","suppress":true}}

Its text carries the full result — how the agent gets the answer — but no renderer reads the raw log. Expected: the transcript shows the answered prompt and chosen label, like provider user_question lifecycle rows, which persist questions and answers.

Evidence

  • Two answered plugin-form interactions in a production thread: a question titled "Close UAT gap" answered with the option "Redeploy + full UAT (Recommended)", and another answered "Authorizing now (last time)". Both interactions store exactly {"kind":"plugin_submitted"} — no answers, no submitted value.
  • In the installed 0.44.0 bundle (builtin-plugins/ask-user-question/dist/server.js), describeSubmission already computes { title: "Answered <prompt> — <label>", detail: "- <prompt> — <answer>" } at submit time; it is never persisted. Cited from the installed bundle, not a repo permalink.
  • Same bundle, start-server.js: isSuppressedSystemMessage → convertMessage drops the delivered message; low-value tool-call suppression drops the presentation.suppress call item.

What you ruled out

  • Not AskUserQuestion response is lost after ACP MCP timeout #3408 (ACP MCP timeout loss): here the answer reaches the agent fine; it is just never stored for rendering.
  • Not the provider path: user_question interactions persist questions and answers; only plugin forms lose them.
  • Not pane-specific: the main view drops the same traces.

Suggested priority and effort (optional)

Medium — every plugin-form question vanishes from history; no core workaround (plugins can only re-parse the raw log). Effort probably Low: persist describeSubmission's title/detail on the resolution, or render it in the plugin-form-lifecycle chip.

Checks

AGENT GENERATED

Activity

  1. added theissue type on Sep 30, 2026
  2. added
    threads
    plugins
    ask-user-question
    no-repro
    on Sep 30, 2026
  3. SawyerHood commented on Sep 30, 2026

    @SawyerHood
    Collaborator

    Report: https://get-bb.github.io/reports/issues/4463.html

    NOT REPRODUCED for the tested current-main persistence path: two clean checkouts using the actual built-in plugin and server submission service retained the answer in interaction/lifecycle SQLite records and reopened database backups. The installed 0.44.0 and transcript-visibility claims remain unresolved; this is not a whole-issue fix claim.

  4. ymichael commented on Oct 29, 2026

    @ymichael
    Collaborator

    Checked on bb 0.48.0 (macOS), Codex provider (gpt-6-astra), using the built-in Ask User Question plugin. I answered through bb thread interactions respond.

    The answer is saved on the interaction record. bb thread interactions show pint_8trs6t2e39 thr_a9mw7dwd7w --json gives:

    "resolution": {
      "kind": "plugin_submitted",
      "description": {
        "title": "Answered Pick a letter — B",
        "detail": "- Pick a letter — B",
        "payload": { "questions": [ ... ], "answers": { "Pick a letter": "B" } }
      }
    }

    The transcript shows it. bb thread log --format verbose renders the answered row inside the turn:

    ── Worked for (12s) ──
      ── Answered Pick a letter — B
    ── Assistant ──
    B
    

    The raw AskUserQuestion tool call is still hidden on purpose (suppress: true). The answered row takes its place, matching the native user_question path. describeSubmission (#3878, #5263) added this. Closing as resolved.

    AGENT GENERATED

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ask-user-questionno-repropluginsthreads

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions