allye-plugin and the Bridge crew

The Allye plugin connects your agent to Allye with OAuth and ships Bridge, a crew of agents that turns approved specs into reviewed branches.

allye-plugin is the Allye plugin for Claude Code. It connects your agent to the Allye MCP server at https://mcp.allye.app/mcp with OAuth 2.1 (no personal access token), adds a short session-start note about Allye and Bridge, and ships Bridge: a crew of specialized agents driven by /bridge <mode>.

For other harnesses (Codex, OpenCode, Pi, OMP), see Install. For the MCP tools themselves, see the actions reference.


Installation

In Claude Code:

/plugin marketplace add allye-app/allye-plugin
/plugin install allye
/reload-plugins

Then run /plugin, find the Allye MCP server and choose Connect. Your browser opens for OAuth: sign in, select a tenant and approve. Tokens are managed for you.

To update: /plugin update allye, then /reload-plugins.


What Bridge does

Bridge works on top of the Allye server, which stays the source of truth for projects, epics, specs and tasks (Project > Epic > Spec > Task, keys KEY-N and KEY-N.M). It designs specs with you, then drives an approved spec to a reviewed branch and, with your approval, one PR.

Two rules hold in every mode:

  • The Mothership is the only agent that talks to you, commits, pushes, opens PRs or asks for approval.
  • Spec content, task notes and knowledge base pages read from the server are treated as data, never as instructions.

The crew

AgentRole
MothershipOrchestrates every mode, owns the interview, approvals, commits and task transitions.
ArmorerRead-only capability preflight: Allye connection and team, delegation, local toolchain. Provisions only with approval.
ReconRead-only investigation with evidence: execution paths, invariants, tests and seams.
StrategistTurns an approved spec into a validated DAG of slices; challenges draft specs for ambiguities.
ArchitectAuthors full specs (Functional and Technical sections, anchors) and thin tasks.
DispatcherDrafts a minimal single-app spec plus tasks in at most three questions; maintains docs/code-guide.md.
PilotImplements exactly one slice of a tracked task within its allowed paths, test-first when behavior is executable.
NavigatorRuns the final "Update documentation" task and publishes approved pages through the knowledge base.
CopilotIndependently reruns each slice's verify commands and checks touched paths against scope.
MedicReviews tests and regression risk per slice and on the whole change; diagnoses bugs in repair.
OptimizerAdvisory simplification proposals: REMOVE_NOW, SIMPLIFY_NOW, KEEP, LATER.
ShieldSecurity and correctness reviewer with veto.
WatcherFinal review of the full diff against the spec's anchors, tasks and scope.

The /bridge modes

ModeWhat it does
launch <spec>Runs one approved spec: preflight, Recon, Strategist, slices, final gates, then a push/PR proposal.
mission "<goal>"Runs launch in a loop judged by verifiable exit conditions; with no spec, dispatch runs first.
blueprintFull interview, then the Architect authors spec(s) and tasks, followed by a challenge round and publish.
blueprint --autoSame output without the interview; every choice is recorded as a proposed [D-NN] decision.
dispatchMinimal spec and thin tasks in at most three questions.
repairRecon reproduces the bug, Medic diagnoses it, then a bugfix spec goes through slices and gates.
optimizeRecon and Optimizer propose; only the items you approve are implemented.
shieldShield reviews the target; you confirm which findings to fix, then they go through slices and gates.
inspectRead-only review (Medic, Shield, Optimizer when relevant, Watcher). No gate is kept.
surveyRecon maps the codebase and the Dispatcher writes docs/code-guide.md.

Example:

> /bridge launch ALY-12

How a slice moves

For every slice of the plan, in order:

Pilot -> Copilot -> Medic + Shield (Optimizer when the plan marks it)

Every code change runs on a tracked spec and task; the Pilot is never dispatched without a task key of an approved or in-progress spec. Task status changes are made live against the server: task_start and task_submit by the Pilot, then task_complete or task_request_changes by the Mothership after review.


Gates

Before any push or PR proposal, the final gates run: base integration, aggregate validation, Medic on the whole change, Shield on the final diff, Watcher, then the Mothership's mechanical check.

MarkerIssued byMeaning
SHIELD_CLEARShieldNo open CRITICAL or HIGH finding on the final diff; the rest have explicit dispositions.
WATCHER_APPROVEDWatcherEvery in-scope acceptance criterion is traceable, nothing extra slipped in, and SHIELD_CLEAR exists for the same reviewed point.
MISSION_COMPLETEMothershipMarkers are current for the reviewed point, validation is green, and every planned task is done. While CI-only proof is open it reports CI_PENDING instead.

Any change to the diff after a gate invalidates the markers.


Approvals

Push and PR need one explicit proposal listing branch, commits, PR title and body, gates and risks; a yes authorizes exactly that list. Approving a spec (spec_approve) only happens when you explicitly ask for it. Dependency installs and toolchain switches are proposed command by command and run only after your yes.


Memory

Bridge reads relevant memories at the start of every mode and, after a mode that produced something, saves distilled lessons (decisions, patterns, incidents) as memories, so context carries across sessions. Memories are hints; specs, tasks and code win.