Repository navigation
Open
Open
Copy link
Labels
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportprovider-piBuilt-in plugin: provider-piprovidersCross-provider bridges, models, login
Description
Follow-up to closed #4264: the remaining message-length limit reproduces the same validation-as-user-cancellation path on bb 0.49.0 / Pi 1.5.2. The title fix is present; a confirm message of 8,193 characters still disappears.
Versions and environment
- bb 0.49.0, daemon-managed installation under app-versions/0.49.0.
- Linux 7.0.0-42-generic, Node 24.22.3, Pi 1.5.2 running on Bun 1.4.4.
- Local unmanaged scratch Profile, bb's Pi provider, offline scripted tutor. No network model calls.
- Investigation: local bb thread
thr_qhyf63n2qm, Concept baseca448f31f3290c234d9a5c06fc43dcf78842fd60.
Steps to reproduce
- In a trusted Pi project, add this project extension to
.pi/extensions/confirm-probe.ts:
import { Type } from "typebox";
export default function (pi) {
pi.registerTool({
name: "confirm_probe",
label: "Confirm probe",
description: "Probe a confirmation message length.",
parameters: Type.Object({ size: Type.Integer() }),
async execute(_id, params, _signal, _update, ctx) {
const accepted = await ctx.ui.confirm("Bridge limit probe", "x".repeat(params.size));
return {
content: [{ type: "text", text: JSON.stringify({ size: params.size, accepted }) }],
details: {},
};
},
});
}- Start a bb Pi thread in that project. Invoke
confirm_probewith{"size":8193}. My reproduction invoked this tool through an offline scripted provider, then echoed its actual result. - Inspect
bb thread interactions list <thread-id> --json:[]; tool result is{"size":8193,"accepted":false}, without any user response. - In a fresh thread invoke it with
{"size":8192}. The pending interaction exists, and itspayload.data.message.lengthis exactly 8192.bb thread interactions respond <interaction-id> <thread-id> --value truecompletes with{"size":8192,"accepted":true}.
Expected vs actual
8,193 characters: actual scripted tutor response:
Proposal result: [{"type":"text","text":"Script completed\nWall time 0.1 seconds\nOutput:\n"},{"type":"text","text":"{\"size\":8193,\"accepted\":false}"}]
The complete turn took 225 ms by bb's timeline. No interaction was created. Control at 8,192 characters created interaction pint_5cukqghuv6 and accepted its true response.
Expected: retain the full confirmation detail for review, or expose a bridge validation error. A message-length validation failure cannot say what the user decided.
Evidence and diagnosis
- Reproduced 8,193-character case:
thr_bidrtxreup. - Successful 8,192-character control:
thr_ic2rumbanp, same scratch Profile and provider. - Source inspected at main
2fef0456de9bd1ea25205c7bc9ca5e42859b2c26: message bounded at 8192 and schema failure responds cancelled. - Pi's RPC UI returns false for both
{ cancelled: true }and{ confirmed: false }; an extension usingctx.ui.confirmcannot distinguish those outcomes. - Real trigger: an ncept-pi graph proposal has tens of thousands of characters of before/after JSON. Its current workaround writes that detail to a Profile file and presents the path under bb. I separately accepted one real oversized graph proposal through that workaround, then dismissed another; dismissal produced
{"status":"refused"}before the ncept-side wording fix.
What was ruled out
- Short titles: both cases use the identical 18-character title.
- Actual user refusal: no interaction was created at 8,193 characters.
- Provider/network failure: both cases use the same offline scripted model.
- Total lack of extension UI support: the 8,192-character control waits for and accepts a response.
- Searched open and closed issues. provider-pi silently reports extension UI validation failures as user declines; title limits disagree (200 vs 160) #4264 covers the related title-validation case and is closed. This follow-up tracks oversized confirmation messages; the boundary reproduction was first recorded at provider-pi silently reports extension UI validation failures as user declines; title limits disagree (200 vs 160) #4264 (comment).
AGENT GENERATED
Metadata
Metadata
Assignees
Labels
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportprovider-piBuilt-in plugin: provider-piprovidersCross-provider bridges, models, login
Activity
bb-slop-cop commentedon Nov 16, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotproviders,provider-pi.confirmed-repro.{cancelled:true}before creating an interaction; Pi maps cancellation tofalse.2fef0456de9b: 8,192 passes; 8,193 and 32,768 cancel before user input. All 14 relevant existing tests pass. The final Pi boolean mapping was source-inspected, not exercised in a model session.Pi: shorten long extension dialog messages instead of declining them
Never report a failure as the user's answer to an agent
Never report a failure as the user's answer to an agent
Never report a failure as the user's answer to an agent
Never report a failure as the user's answer to an agent
Never report a failure as the user's answer to an agent (#7723)
Pi: shorten long extension dialog messages instead of declining them