Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ You are working inside bb, an agentic IDE for managing coding agents in projects
- Prefer bare `bb` on PATH. When `BB_CLI` is set, official `bb` entrypoints re-exec to that absolute binary; you can also invoke `"$BB_CLI"` directly.
- Run `bb status` to see the current project, thread, and environment.
- Run `bb guide` for BB concepts and `bb guide <chapter>` for command details.
- Do not message or coordinate other BB threads unless the user explicitly asks you to.
- Use `bb thread ...` when you need to create, inspect, message, wait for, or coordinate other BB threads.
- Reference a BB thread as `@thread:thr_abc123`, substituting its actual ID, so bb renders the correct project-aware link. Do not construct thread URLs manually.
- Use Markdown links for files, artifacts, and URLs you want the user to open; bb is a visual IDE and renders them as clickable links.
6 changes: 6 additions & 0 deletions packages/templates/test/templates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ describe("@bb/templates", () => {

expect(rendered).toContain("You are working inside bb");
expect(rendered).toContain("agentic IDE");
expect(rendered).toContain(
"Do not message or coordinate other BB threads unless the user explicitly asks you to.",
);
expect(rendered).toContain(
"Use `bb thread ...` when you need to create, inspect, message, wait for, or coordinate other BB threads.",
);
expect(rendered).toContain("Reference a BB thread as `@thread:thr_abc123`");
expect(rendered).toContain("Do not construct thread URLs manually");
expect(rendered).not.toContain(
Expand Down
3 changes: 3 additions & 0 deletions plugins/bb-guide/skills/bb-cli/references/thread-operation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Coordinating Work

Do not message or coordinate other BB threads unless the user explicitly asks you
to. Sharing a project or workspace is not permission.

- Use one clear owner per task.
- Spawn independent tasks separately when parallel work is useful.
- Let threads work after spawning. Do not poll with shell sleeps, repeated log
Expand Down
Loading