Task orchestration and delivery coordination for multi-agent software work.
ScopeGuard helps you turn project goals into structured tasks, route those tasks to the right agent, and bring results back into a shared project state.
It is not a coding model. It is not an IDE replacement. It works alongside Claude, Codex, OpenCode, and other MCP-compatible or connected agents.
ScopeGuard is an orchestration layer for AI software work: plan -> queue -> execute -> report -> review.
ScopeGuard is most useful when you are coordinating real project work across one or more agents.
It is designed to provide:
- project-level planning and task breakdown
- task routing through
assignedExecutor - structured handoff contracts
- connected agent queueing and status tracking
- result, review, and project-state feedback loops
ScopeGuard should be understood as:
- an orchestration core
- a connected / MCP-friendly integration layer
- an optional automation layer on top
It should not be understood as:
- a universal local CLI runtime
- a replacement for Claude or Codex
- a tool whose main value is launching shell processes
Most coding agents are good at doing one task. They are much less reliable at:
- breaking a project into a clean task graph
- coordinating multiple executors
- preserving scope and review context
- reporting completed work back into shared state
ScopeGuard exists to solve that orchestration gap.
ScopeGuard is responsible for:
- project planning
- task lifecycle
- task handoff structure
- assignment queueing
- connected client visibility
- review and approval state
- project memory and coordination context
Executors are responsible for:
- editing code
- running commands
- returning results
Humans are responsible for:
- choosing goals
- reviewing outcomes
- approving next steps
This is the core product value.
It includes:
- project conversations
- task schema
- dependencies, priority, and parallelism
assignedExecutor- handoff generation
- queue / claim / complete lifecycle
- review and status reporting
This is the standard integration surface.
It includes:
- connected HTTP API
- MCP bridge
- token auth
- connected client registry
- pending assignment queue
- claim / finish / complete actions
This is the primary route for execution.
These are optional layers on top of the connected core.
They include:
- skill / command workflows
- MCP prompts
- optional companion workers
- experimental local CLI launch
These are useful, but they do not define what ScopeGuard is.
- Describe a goal in the project conversation.
- Use planning to turn that goal into tasks.
- Assign each task to an executor.
- Connect one or more agents through MCP / connected integration.
- Queue a task for a matching connected agent.
- Let the agent claim, execute, and report results.
- Review the result and decide the next step.
flowchart LR
A["Project Goal"] --> B["Plan Tasks"]
B --> C["Assign Executor"]
C --> D["Queue for Connected Agent"]
D --> E["Agent Claims Task"]
E --> F["Execute and Report"]
F --> G["Review and Update Project State"]
ScopeGuard's connected MCP workflow enables agents to discover, claim, and report on tasks through a standard MCP interface:
- Connect — The agent connects to ScopeGuard's MCP bridge using a token.
- Discover — The agent calls
scopeguard_list_pendingto find queued assignments. - Claim — The agent calls
scopeguard_claim_assignmentto lock a task, receiving a structured handoff with goal, allowed files, and acceptance criteria. - Execute — The agent works within the handoff's constraints and reports completion via
scopeguard_finish_assignment. - Review — Results flow back into the project for human or automated review.
This four-step cycle (status → list_pending → claim → finish) is the primary agent interaction pattern. The MCP bridge handles auth, queue ordering, and structured handoff serialization, so agents can focus on executing tasks rather than managing workflow state.
Connected / MCP-style execution.
This is the direction we expect to harden:
- connected agents
- assignment queue
- claim / finish / complete
- MCP bridge
- skill / prompt workflows
Skill or command workflows on top of MCP.
This is the most host-friendly path for guided task execution without requiring a background worker.
Local CLI launch from inside ScopeGuard.
This remains available for debugging and fallback scenarios, but it is not the product's primary execution story.
ScopeGuard is a good fit if:
- you use multiple coding agents on real projects
- you want a stable task model instead of scattered chat transcripts
- you want connected execution and structured result reporting
- you need reviewable project state, not just "the model said it finished"
It is probably overkill if:
- you only do one-off edits
- you do not need task state or review structure
- you do not care which agent handled which task
The current desktop product direction is centered on:
- explicit project planning
- task creation with executor semantics
- connected client registration
- queueing work for connected agents
- pending / claim / finish lifecycle
- MCP bridge as a generic host integration surface
ScopeGuard is not currently trying to become:
- a universal background worker platform for every IDE
- a host-specific Claude-only integration
- a local shell launcher for every agent runtime edge case
Those may exist as adapters or optional enhancements, but they are not the core promise.
If you just cloned this repository, install dependencies and build first:
cd scopeguard
pnpm install
pnpm -r buildThis compiles the CLI, server, and shared packages. Do not skip this step — the CLI, server, and desktop app will not run without it.
ScopeGuard has two usage modes. Pick the one that matches what you are trying to do.
You stay in the scopeguard checkout and run commands through pnpm or direct node paths:
# Run CLI commands against the scopeguard repo itself
pnpm --filter @scopeguard/cli dev -- doctor
node apps\cli\bin\scopeguard.js smoke --json
pnpm typecheckUse this path if you are:
- developing ScopeGuard itself
- running the test suite
- building the desktop app
Define a helper pointing to your local ScopeGuard source, then run commands inside the target project:
# Define a helper (Windows PowerShell)
function scopeguard-dev {
node <path-to-scopeguard>\apps\cli\bin\scopeguard.js @args
}
# Inside your target project directory:
cd my-project
scopeguard-dev init
scopeguard-dev scan
scopeguard-dev doctor --json
scopeguard-dev smoke --jsonUse this path if you are:
- running ScopeGuard against a real project
- setting up task orchestration for your own codebase
- connecting agents through MCP
After building from source:
pnpm --filter @scopeguard/desktop build
node .\apps\desktop\scripts\run-electron.mjs- Open ScopeGuard desktop.
- Go to
Settings > Connected Agents / MCP. - Copy the token.
- Connect your agent or MCP host to the ScopeGuard bridge/API.
- Queue a task for a connected agent.
These commands check environment and repository health. They are most useful after you have run init and scan in a target project.
If you run them in a fresh directory without a .scopeguard data directory, they will report missing configuration — that is expected, not a bug.
Typical first-run sequence:
# 1. Initialize storage in your target project
scopeguard-dev init
# 2. Build project map
scopeguard-dev scan
# 3. Run health checks
scopeguard-dev doctor
scopeguard-dev smokedocs/SCOPEGUARD_PRODUCT_STRATEGY.md- current product positioningdocs/SCOPEGUARD_DESKTOP_MVP.md- desktop workflow scopedocs/SCOPEGUARD_DESKTOP_ARCHITECTURE.md- architecture notesdocs/SCOPEGUARD_DESKTOP_ADAPTER_API.md- connected / adapter APIdocs/QUICKSTART.md- developer quick startdocs/COMMANDS.md- CLI commands
ScopeGuard is in active product-definition and developer-preview mode.
The central question is no longer "can we launch a local CLI?". The central question is:
"Can we give projects a stable orchestration layer that multiple agents can plug into?"
That is the direction this repository now optimizes for.