Repository navigation
Description
bb <verb> reports this when the daemon accepts a connection and does not answer in time:
bb did not respond at <url> after N attempts (last window 4000ms) - it may be busy or
temporarily unreachable. No server response was received and your command did not run;
re-run it.
The sentence asserts two things and only the first is knowable at that point.
- "No server response was received" - true by construction; the caller timed out.
- "your command did not run" - a claim about server-side effect, made from the client, on the one code path where the client cannot know.
The composing function is reached from the transport error handler and has only the connection state (bb 0.40.0, host-daemon/dist/bb-chunks/chunk-65QXXV5S.js, the n||i branch). Whether the daemon accepted and processed the request before failing to reply is not in scope there.
Why it matters: it points a retry budget at write verbs
The message ends re-run it. For an idempotent read that is fine. For tasks create / bus send / memory add, a caller that believes "did not run" re-runs, and bb has no idempotency key, no dedupe, and no warning - a second create returns the same success line as the first.
Measured instance, 2026-08-27T04:36:45.834Z-04:36:51.610Z, bb 0.39.0, load average 44: one bb tasks create, eight retries, every one reporting did not respond - and eight tasks on the board, with byte-identical 3766-character descriptions. The eight rows span 5.776 seconds, where eight genuine ~11s attempts would span ~88s, so the requests appear to have queued and been processed in a burst on recovery.
It is not every failure - which is why the wording, not the behaviour, is the ask
Measured on the same machine 2026-08-29 03:0x-03:17Z under load, each verified by reading the stored artifact rather than the receipt:
| verb | failures reported | actually stored |
|---|---|---|
bb tasks comment |
1 | 0 |
bb bus send --to |
3 | 0 |
bb bus send --to |
1 | 1 |
Same verb in both bus cases, opposite outcomes. That is consistent with two distinct failure points - never accepted vs accepted-then-lost-the-response - and inconsistent with any rule keyed on the verb. So the client genuinely cannot tell, which is exactly why it should not assert.
Suggested change
Drop the unknowable clause:
bb did not respond at <url> after N attempts (last window 4000ms) - it may be busy or
temporarily unreachable. No server response was received, so the command MAY OR MAY NOT
have run; check before re-running.
That is true in all five cases above and in the eight-task instance. It costs nothing when the command did not run, and it stops the message actively recommending the action that duplicates state.
An idempotency key on write verbs would be the stronger fix, but the wording is independently worth having and is a one-line change.
Verification
- Sentence present in the shipped 0.40.0 bundle:
grep -c 'your command did not run'against the chunk above returns 1. - Measurements are from a single macOS machine running agent sessions against a heavily loaded daemon (10 cores, load 44 at the time of the eight-task instance); the duplicate rows are still on that board.
- Not re-measured on 0.40.0 - only the wording was confirmed unchanged there.
Related: #1218 and #1313 classify and retry the probe; this is about the sentence emitted once classification has already concluded the daemon is unreachable.
Activity
bb-slop-cop commentedon Aug 29, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotcli,no-reprono-reproorigin/main, so no fix was safe.MGrin commentedon Aug 29, 2026
Correcting my own report: I read the 0.40.0 control flow and it appears to contradict the premise I filed this under. Posting before anyone spends time on it.
In the shipped 0.40.0 bundle (
host-daemon/dist/bb), the CLI dispatch path is:describeUnreachableServerhas one call site, it is reached only onoutcome === "unreachable"from the probe, and it is followed immediately byprocess.exit(1).runPluginCliCommand— the only thing that POSTs/plugins/:id/cli— is not reachable from that branch.I also checked the two obvious escapes:
bb-chunks/chunk-65QXXV5S.js);runPluginCliCommandisbb plugin run <id>, which dispatches without probing and so cannot emit this message.If that reading is right, then when
bb <command>prints this, the POST was never sent, and "your command did not run" is TRUE — which is the opposite of what I filed.What I cannot reconcile, and am not going to paper over. The observations behind the report are real and were taken on 0.39.0, not 0.40.0: one
bb tasks createretried 8 times, every attempt reporting this message, and 8 tasks on the board with byte-identical descriptions. The rows exist. A separate session also measured abb bus sendthat reported the message and did store.So either the control flow differed on 0.39.0, or something in those runs was not what it looked like. I have no 0.39.0 to test and will not claim which.
Two things that may still be worth having regardless of how that resolves:
AbortSignaland uses a dedicated agent withPLUGIN_CLI_HEADERS_TIMEOUT_MS = 3_900_000(65 min), while the server handler doesctx.signal = context.req.raw.signaland awaits the plugin before serialising the response. So a client that gives up mid-dispatch has no bounded, self-describing failure — that is a different gap from the one I filed, and I mention it only as an observation, not a second ask.Happy to run any specific check against 0.40.0 locally if that would help settle it.
SawyerHood commentedon Sep 9, 2026
Duplicate of #2654.
Consolidating tracking into #2654. The underlying timeout claim remains disputed; the canonical consolidation comment preserves the negative reproductions and author corrections.
Closing this duplicate does not indicate that the underlying work is completed.