Repository navigation
Add plugin entry: lego - #614
Merged
Merged
Conversation
SawyerHood
approved these changes
Oct 20, 2026
SawyerHood
left a comment
Contributor
There was a problem hiding this comment.
Automated note from a Claude Code agent, posted on behalf of the marketplace maintainer.
Reviewed and verified the submitted change under the maintainer admission policy. Required CI passes; approved for merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lego
Splits a coding task across parallel agent threads and gets it back assembled and verified by one Master Builder. The planning agent writes an instruction book of bags, and a form in the composer lets you staff it with builders and a Master Builder. A banner above the composer, a side-panel workbench and a Lego Build page in the sidebar show the build as a Lego model the planning agent designs for the task. It adds agent tools for the planning agent, builders and Master Builder, and a
bb legoCLI.Source
^0.1.0, currently resolving to tagv0.1.0(fea3329)lego, derived from package namebb-plugin-legoPlugin checks
npm run typecheck: passednpm test: 62 tests passed, 1 skipped (the opt-in visual preview). They cover the scheduler against a fake SDK and an in-memory SQLite database (parallel bags, builder reuse, dependencies, failures, blocked and stalled builders, dispatch retries, deleted threads), the geometry of every ready-made model, and the blueprint compiler.bb plugin build: passed, including from a fresh clone of tagv0.1.0installed the waybb plugin install git:installs it (npm install --omit=dev --omit=optional --ignore-scripts)Marketplace checks
npm run build: passed (411 entries) with Compact v2 catalog JSON to stay within publishing limit #612 applied; before Compact v2 catalog JSON to stay within publishing limit #612 merged,mainfailed for every branch because the v2 document was over 1 MiB. The builtlegoentry has its category, secondary category, screenshots, overview and icon. CIvalidatepasses on this PR.npm test: 46/46 passed, plus the R2 retry testsnpm run gate:v1: passed (new entry)npm run check(with source liveness): passedPermissions, services, and security
thread.idle,thread.failedandthread.deletedto follow its workers, and reconciles missed events once a minute.lego_create_book,lego_setup_build,lego_status,lego_cancel_buildandlego_retry. Builders get onlylego_step_done,lego_bag_completeandlego_bag_blocked; the Master Builder gets onlylego_assembly_stepandlego_build_complete. Worker tools re-check a server-side binding of the calling thread, so a thread cannot report for a build it does not belong to.::legomessage directive kept for older messages.Screenshots
Captured at 2880×1800 and 2880×2000 from a real thread in a throwaway demo project, Shelfie (a small command-line bookshelf), on a fresh worktree. The thread ran a real Lego build of a realistic feature (reading lists), with four builders and a Master Builder on Sonnet 5.5. The sidebar is collapsed. I hid two cards from other plugins above the Lego banner (Followups and Recap). There are no other edits.
build.png: the finished build. The planning agent's summary and the completed banner are on the left; on the right, the side-panel workbench shows the Shelfie Library model the planning agent designed, with its crew of minifigures, the four bag trays and the Master Builder's ticked assembly steps.setup-form.png: the build setup form under the banner. It shows the planning agent's staffing note, the builder count with its crew line-up, one model for every builder (or per builder), and the Master Builder's model.Overview
overview/lego.mdis copied unchanged from the plugin repository'sPLUGIN_OVERVIEW.md.