Repository navigation
Description
The workflow
We were trying to understand how bb should support customizations that begin outside the current plugin API without forcing every user to maintain a permanently divergent fork.
The intended workflow is:
- A person describes a change they want in ordinary language.
- An agent records the intended experience and a few behavioral examples.
- The agent maps each requirement to the current plugin capabilities and makes gaps explicit.
- It implements the request at the lowest necessary level: ordinary plugin first, an explicit low-level workaround when needed, and a narrow core overlay only with separate authority.
- A company power user or community maintainer can share and adapt that extension for other people.
- Repeated workarounds and overlays reveal missing semantic capabilities in bb.
- bb adopts the common mechanism, and agents migrate existing extensions onto the safer public surface.
The proposal is to support that lifecycle as one traceable process. It is not a request for one new plugin hook or a universal declarative runtime.
Ideas and framing: co-developed through a conversation with @geoffreylitt about extension surfaces, managed divergence, and the communal layer between central product maintainers and individual users.
What happens today
bb already has a substantial plugin system. Plugins can contribute React UI, commands, tools, agent instructions, providers, background services, and host-local behavior. The app contract explicitly treats slot props as versioned public contracts, and the repository has a deliberate experimental-to-stable API audit process:
- Versioned app contracts and additive slot props
- Current React slot and content-script surface
- Public API audit and stabilization policy
The problem is that every fixed API has edges. A plugin may build an entire panel but be unable to add one field to an existing native row. It may add controls around the prompt box but not change one native property or routing decision.
At that edge, an author can:
- approximate the request with the current API;
- replace a larger surface than the request actually requires;
- query or mutate the DOM through a content script;
- ask maintainers for a new API; or
- fork bb.
These are reasonable implementation choices, but they are separate worlds. A content script does not explain which missing capability forced it to depend on a selector. A fork records changed files but rarely records which experiential promises matter. A feature request records a wish but not whether several working extensions have already discovered the same shared mechanism.
Agents make local implementations cheaper to produce, but the implementation remains the durable artifact. When bb changes, the agent or maintainer has to rediscover intent from code. There is no common record connecting a user request, its current implementation, its fragile dependencies, related community variants, and the capability that might eventually replace them.
What you would expect
Treat customization as a lifecycle:
local request
↓
reviewable intent and behavioral examples
↓
implementation against current bb capabilities
↓
personal, team, and community variations
↓
repeated gaps reveal a missing shared mechanism
↓
bb adds a stable capability and extensions migrate onto it
A non-trivial extension should be able to carry a durable record containing:
- the intended experience and behavioral examples;
- the current implementation and supported bb versions;
- the public capabilities it uses;
- fragile dependencies and unmet capabilities;
- affected product surfaces and data;
- permissions, provenance, and conflicts; and
- executable conformance checks where practical.
Natural language can be the authoring interface, but it should not become the runtime API. An agent can turn a request into a reviewable spec and implementation plan. Activation should still use deterministic code, declared effects, and checks.
Before implementation, the agent should report the boundary plainly:
Supported directly Add an action beside each message
Supported with tradeoff Replace the whole thread list to change one row
Fragile workaround Find the native row with a DOM selector
Unsupported Change core thread scheduling policy
Most requests should remain ordinary plugins. A low-level content script can be an explicit experimental adapter. A requirement that truly needs core behavior could use a narrowly scoped overlay: a named patch linked to the requirement and its checks. An overlay is still technically a fork, but it represents one replaceable implementation of one need rather than a permanent product branch. Creating or deploying one must require explicit authority.
Several implementations may satisfy one intent: a mobile version, an implementation for an older bb release, and a company-governed version with stronger audit requirements. Shared behavioral examples make them recognizable as variations of the same experience even when their code differs.
When independent implementations repeatedly touch the same internal surface, preserve similar behavior, or depend on the same workaround, maintainers gain evidence of a missing public capability. Core should absorb the difficult common engineering—lifecycle, accessibility, data flow, performance, mobile behavior, composition, and rollback—while extensions retain their policy and taste.
Move common mechanism into the base. Keep differing policy and taste in extensions.
Once that capability exists, agents can migrate existing variants off selectors and overlays. The base has moved closer to real needs while opening a safer new frontier for customization.
Context and alternatives
Three examples show different parts of the lifecycle:
-
A small missing UI seam. A user wants project health beside every native thread row. Replacing the whole list or mutating the DOM is disproportionate. If other extensions want costs, ownership, or review state there, the cluster suggests a thread-row decoration capability. bb owns layout, keyboard behavior, and mobile rendering; extensions own badge meaning.
-
A communal workflow. A company incident lead wants an incident workspace, diagnostic tools, restricted production actions, an audit trail, and a warning state. The lead maintains the organization version, teams add runbooks and alert sources, and responders only select the incident. This is the communal middle: most shaping is done by someone between bb maintainers and the final user.
-
A request beyond the API. A user wants a visible distinction between working in the current project and asking an agent to modify bb itself, including different tools, instructions, and routing. It can begin as a plugin plus a workaround, temporarily require an overlay, and later migrate to shared prompt-context or routing capabilities. The particular mode does not need to become a core feature.
The lower-hanging first experiment does not require new plugin loading or a schema:
- Select three real customizations: an ordinary plugin, a content-script workaround, and a maintained local fork.
- Add a short intent document and three to five behavioral examples to each.
- Have an agent produce the same capability report for each: direct API use, tradeoffs, fragile dependencies, and unsupported requirements.
- Keep the checks with each implementation and use them during one bb upgrade.
- Compare the reports for a repeated missing semantic seam.
- Add one narrow experimental capability and migrate the relevant implementation onto it.
This experiment fails cheaply if the records do not help an agent perform an upgrade or help maintainers identify a better capability. Later phases could add machine-readable capability declarations, an agent-facing planning command, explicit workaround warnings, organization-level policy, and managed overlays.
This is not a duplicate of #1255, which concerns project-scoped installation; #2720, which concerns plugin-authoring lookup tools; or #1978, which proposes one composer capability. Those are compatible pieces of the broader lifecycle proposed here.
This proposal does not replace typed APIs with prompts, expose every React component, automatically merge arbitrary forks, or promote popular personal preferences into core features.
Base reviewed: 231b64c81819754651495e144534c592ce0bb45f.
- I searched open and closed issues for the same request.
AGENT GENERATED
Activity
bb-slop-cop commentedon Sep 2, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotpluginsNo pull request: this RFC needs product and architecture decisions.