Repository navigation
Description
Summary
With the acp-opencode provider, a prompt that begins with a bb skill chip — a leading /skill-name for a skill bb injects but the provider does not know — makes the turn finish instantly with no output. The ACP bridge forwards the text verbatim to session/prompt; opencode then parses the leading /word as one of its own slash commands, finds nothing registered under that name, and ends the turn (stopReason: end_turn) before calling the model. bb records turn/started → turn/input/accepted → turn/completed within ~30 ms with zero items and no error, so the thread just looks like the agent ignored the message. Typing the same skill name without the leading slash works, because then it is ordinary text and the agent reads the pointed-to SKILL.md.
Versions and environment
- bb 0.45.0 (desktop app), macOS 26.6.2
- provider
acp-opencode, opencode 1.18.33 - project checkout environment, local machine; default data dir
Steps to reproduce
bb-level
- Install any skill that bb owns but the provider does not (a bb user/plugin skill;
bb skill listshows it, and it is not in the provider's own command list). - Create a thread on provider
acp-opencode. - As the message, type
/and pick that skill from the composer, then add instructions after it, e.g./example-skill summarize the repo. Send. - Observe: no reasoning, no tools, no assistant text.
bb thread logshows the four events above firing within milliseconds and nothing else.
Minimal provider-level repro (no bb needed)
Drive opencode acp directly over stdio and send any prompt whose text starts with a slash command opencode does not define:
// → initialize
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":1,"clientCapabilities":{"fs":{"readTextFile":true,"writeTextFile":true}}}}
// → session/new (returns a sessionId)
{"jsonrpc":"2.0","id":2,"method":"session/new","params":{"cwd":"/tmp/scratch","mcpServers":[]}}
// → session/prompt
{"jsonrpc":"2.0","id":3,"method":"session/prompt","params":{"sessionId":"<id>","prompt":[{"type":"text","text":"/not-a-real-command say hi"}]}}Result: {"result":{"stopReason":"end_turn"}} and the only session update is available_commands_update — no agent_message_chunk, no agent_thought_chunk (i.e. the model is never asked). Sending "say hi" without the slash returns a normal assistant message; sending /init (a real opencode command) also runs normally.
Did not reproduce with: the same skill name typed without a leading slash; a real provider command (/init) as the leading token.
Expected vs actual
Actual — bb thread log for the affected turn (timestamps are ~30 ms apart, all items absent):
turn/started {"providerThreadId":"<provider-session>"}
turn/input/accepted {"clientRequestId":"<request>"}
turn/completed {"status":"completed"}
Expected — either the skill runs (its SKILL.md reaches the model), or bb surfaces a clear failure instead of a silent, instant success. An unknown leading /name becoming a no-op turn is the worst case: nothing in the thread tells the user the message was discarded.
Cause (hypothesis, observed separately from the symptom above): the ACP bridge passes prompt text through unchanged — buildPromptContentBlocks emits {type:"text", text: item.text} per input part (packages/provider-bridge-acp/src/bridge/bridge.ts, around the session/prompt call). The composer's skill chip produces a command mention whose text still starts with /skill-name, and bb-only skills have no provider-side command, so opencode's leading-slash parser consumes it and resolves to nothing.
Evidence
- Bridge forwards text verbatim:
packages/provider-bridge-acp/src/bridge/bridge.tsonmain@8e5fb1d05e8fb8e8b845dc49509580a00233b71f—buildPromptContentBlocksand thesession/promptsend around L1285 and L2104. - bb injects bb skills as a text pointer catalog, not as provider commands:
packages/provider-bridge-acp/src/session-params.ts(buildAcpSkillsInstructions) on the same sha — the catalog tells the model to readSKILL.md, there is no command registration. - Provider-level repro above was run against opencode 1.18.33 via
opencode acpon macOS 26.6.2. - Composer serializes the skill as a command mention (
resource.kind:"command",source:"skill") whose text keeps the leading/, and that text is what reachessession/prompt.
What you ruled out
- Not a duplicate of ACP: surface available_commands_update as a slash palette (provider-acp drops OMP slash ads) #3848: that is about showing ACP
available_commands_updateentries in the composer; here the command is not a provider command at all, and the failure is a silently completed empty turn. - Not Skills have no first-class invocation path on most providers: models read SKILL.md into context (read:invoke ~90:1, ~3.5M tokens measured) #4460: that is the read-vs-invoke cost of skill pointers (closed); this is a specific ACP failure when a bb-only skill is submitted as a leading
/name. - Not Slash picker should use provider command names, not just filenames #3685: that is composer naming for provider command files; this is a bb-owned skill that exists in neither naming map.
- Not Skill chip picked mid-message is serialized without trailing space and never reaches Claude Code as a skill #2318: that is remote/Claude Code and a glued chip with no trailing space; here spacing is fine and the provider is
acp-opencode. - Not model-specific: reproduced with the provider default and with a second model; the model is never invoked.
- Not a data/profile problem: reproduces from a raw ACP session with no bb involved.
Suggested priority and effort (optional)
Medium — silent loss of the user's message with no error, easy to hit whenever someone invokes a bb-only skill from the chip on an ACP provider; trivial workaround (drop the leading slash). Effort probably Low: either expand/strip a bb-skill leading /name before session/prompt, or register bb skills as provider commands.
AGENT GENERATED
Activity
bb-slop-cop commentedon Oct 5, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotproviders,provider-acp.partial-repro.Add an opt-in rebuilt ACP adapter, agent options in the model picker,…
fix(acp): spell out every bb skill chip the agent did not advertise (#…