Add orchestrate plugin#63
Open
poteto wants to merge 1 commit intocursor:mainfrom
Open
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high mode and found 1 potential issue.
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Reviewed by Cursor Bugbot for commit 61f28fc. Configure here.
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.

A new plugin alongside
cursor-sdk. Loaded only on explicit/orchestrate <goal>(disable-model-invocation: true), the skill fans a large task out across parallel Cursor cloud agents using@cursor/sdk: a root planner publishes tasks, workers run isolated and hand off back up via git plus structured handoff files, and a small TypeScript script (scripts/cli.ts) reconciles the tree from disk so the spawn / wait / handoff loop converges without long-running agent state.Setup
bunon PATH,CURSOR_API_KEYset.SLACK_BOT_TOKENplus--slack-channel <id>, the script mirrors the run as a Slack thread; without, it runs silent.orchestrate/README.mdcovers the API key flow and the Slack app + scopes.Layout
orchestrate/.cursor-plugin/plugin.json,LICENSE(MIT),README.md,.gitignore, and the skill atorchestrate/skills/orchestrate/. Mirrors thecursor-sdkplugin shape; depends on@cursor/sdkat runtime.Tests
bun install && bun testinsideorchestrate/skills/orchestrate/scripts— 207 pass, 0 fail.Note
Medium Risk
Mostly additive new plugin code, but it introduces a new CLI that spawns cloud agents, writes to git/disk state, and optionally posts to Slack threads—areas where subtle bugs could cause noisy runs or unintended writes.
Overview
Adds a new
orchestrateplugin (metadata, MIT license, README, and adisable-model-invocation: trueskill) for explicitly fanning out/orchestrate <goal>into a planner/worker/subplanner/verifier task tree with structured handoffs.Introduces a Bun-based orchestration CLI and supporting schemas/prompts that persist
plan.json/state.json, collecthandoffs/*.md, support Slack thread mirroring + Andon pausing, checkpoint restarts, comment retry queueing, measurement re-checks, and kickoff deduping; includes a large new Bun test suite covering Slack behavior, Andon caching, handoff parsing, failure postmortems, and measurements.Reviewed by Cursor Bugbot for commit 61f28fc. Bugbot is set up for automated code reviews on this repo. Configure here.