/orchestrate

Orchestration Supreme Platform Intelligence Production high usage

/orchestrate

Overview

/orchestrate is a production command in the Orchestration category of the Prismatic Platform. It delivers revolutionary AI-powered task orchestration with 10x development efficiency, serving as the platform's supreme command interface that decomposes complex objectives into coordinated multi-agent workflows executed with optimal parallelism and quality enforcement.

The /orchestrate command stands at the apex of the Prismatic command hierarchy. While individual commands like /code, /fix, and /test handle specific development tasks, /orchestrate operates at a higher abstraction level -- it understands the objective, breaks it into subtasks, selects the appropriate agents and commands for each subtask, manages dependencies between tasks, and ensures that the composite result meets all quality standards. This orchestration capability transforms multi-hour manual workflows into automated pipelines that complete in minutes.

The "10x efficiency" claim is not marketing language -- it is a measured outcome. Traditional development workflows require sequential task planning, manual context switching between tools, repeated quality verification, and constant coordination overhead. The /orchestrate command eliminates these inefficiencies by maintaining the full platform context, parallelizing independent tasks, and embedding quality gates directly into the execution pipeline. Measured across production use cases, this consistently achieves 8-12x throughput improvement over manual workflows.

This command operates under the Supreme Platform Intelligence authority level -- the highest in the platform's authority hierarchy -- and is executed by the unified-orchestrator agent. It is part of the platform's 216-command slash command registry, built on the AIAD (Autonomous Intelligence Agent Design) standard. The high usage frequency reflects its role as the preferred entry point for complex development tasks.

Architecture

The /orchestrate command implements a sophisticated multi-agent orchestration architecture that coordinates across all platform capabilities.

Orchestration Architecture

User Objective --> Objective Parser
                        |
                  Task Decomposition Engine
                        |
              +---------+---------+
              |         |         |
         Dependency  Agent     Resource
         Analyzer    Selector  Allocator
              |         |         |
              +---------+---------+
                        |
                  Execution Scheduler
                   /    |    \
            Agent 1  Agent 2  Agent N    (Parallel Execution)
              |         |         |
          [Quality]  [Quality]  [Quality]  (Per-Task Gates)
              \        |        /
               Result Aggregator
                        |
                  Integration Validator
                        |
                  Delivery Report

Core Components

ComponentModuleResponsibility
Objective ParserPrismaticOrchestration.ObjectiveParserNatural language objective decomposition
Task DecomposerPrismaticOrchestration.TaskDecomposerHierarchical work breakdown structure
Dependency AnalyzerPrismaticOrchestration.DependencyAnalyzerTask dependency graph construction
Agent SelectorPrismaticOrchestration.AgentSelectorOptimal agent-task matching
Execution SchedulerPrismaticOrchestration.SchedulerParallel execution with dependency respect
Result AggregatorPrismaticOrchestration.ResultAggregatorMulti-task result composition
Quality OrchestratorPrismaticOrchestration.QualityOrchestratorQuality gates at every junction

Agent Selection Matrix

Task TypePrimary AgentFallback AgentAuthority
Code implementationcode-specialistfull-stack-developerL3
Bug fixingfix-specialistdebug-specialistL3
Testingtest-specialistqa-engineerL2+
Performanceperformance-specialistoptimization-agentL3
Securitysecurity-auditorblue-commanderL3
Documentationdoc-specialisttechnical-writerL2+
Deploymentdeployment-specialistdevops-agentL3
Investigationnavy-seal-operatorosint-coordinatorL3

Usage

Basic Orchestration

# Orchestrate a feature implementation
/orchestrate "Implement user authentication with JWT tokens"

# Orchestrate a bug fix with full regression testing
/orchestrate "Fix the pagination bug in perimeter assets list"

# Orchestrate a performance improvement
/orchestrate "Optimize security rating calculation to under 50ms"

Complex Multi-Task Orchestration

# Orchestrate a full feature lifecycle
/orchestrate "Add NIS2 compliance scoring: implement calculator, add tests, create LiveView dashboard, update API endpoints"

# Orchestrate cross-application changes
/orchestrate "Refactor storage layer to support KuzuDB backend across all apps"

# Orchestrate with explicit constraints
/orchestrate "Migrate from ETS to Horde for distributed state" --constraint "zero downtime" --constraint "backward compatible"

Orchestration Control

# Orchestrate with specific parallelism
/orchestrate "Quality uplift across 5 apps" --parallelism 3

# Orchestrate with checkpoint and resume support
/orchestrate "Platform-wide refactoring" --checkpoint-interval 5m --resume-on-failure

# Dry run to preview the execution plan
/orchestrate "Complex migration" --dry-run

# Orchestrate with priority override
/orchestrate "Critical security fix" --priority critical --skip-non-essential

Monitoring and Control

# View active orchestration status
/orchestrate --status

# Pause active orchestration
/orchestrate --pause

# Resume paused orchestration
/orchestrate --resume

# Cancel active orchestration
/orchestrate --cancel --reason "requirements changed"

Options & Parameters

ParameterTypeDefaultDescription
PositionalStringRequiredNatural language objective description
--parallelismIntegerAutoMaximum concurrent tasks
--priorityEnumnormalPriority: low, normal, high, critical
--constraintList-Execution constraints (repeatable)
--dry-runBooleanfalsePreview plan without executing
--checkpoint-intervalDuration10mAuto-checkpoint interval
--resume-on-failureBooleantrueResume from checkpoint on failure
--skip-non-essentialBooleanfalseSkip nice-to-have tasks
--quality-levelEnumstrictQuality enforcement: standard, strict, maximum
--timeoutDuration1hMaximum orchestration duration
--outputEnumtextOutput format: text, json, markdown
--statusBoolean-Show active orchestration status
--pauseBoolean-Pause active orchestration
--resumeBoolean-Resume paused orchestration
--cancelBoolean-Cancel active orchestration

Execution Flow

Phase 1 -- Objective Analysis (0-10s): The Objective Parser processes the natural language input to extract intent, scope, constraints, and success criteria. It identifies the primary action (implement, fix, optimize, refactor, deploy), the target components, and any explicit or implicit quality requirements.

Phase 2 -- Task Decomposition (10-20s): The objective is broken into discrete, assignable tasks using hierarchical work breakdown. Each task is defined with inputs, expected outputs, estimated duration, and required capabilities. The decomposition considers the platform's application structure, ensuring tasks align with module and application boundaries.

Phase 3 -- Dependency Resolution (20-25s): Tasks are analyzed for data dependencies, ordering constraints, and resource conflicts. The Dependency Analyzer constructs a DAG that determines which tasks can run in parallel and which must execute sequentially. Critical path analysis identifies the minimum-time execution order.

Phase 4 -- Agent Assignment (25-30s): Each task is matched to the most capable available agent using the Agent Selection Matrix. The selector considers agent specialization, current workload, authority level, and historical performance on similar tasks. Backup assignments are prepared for high-priority tasks.

Phase 5 -- Parallel Execution (30s-variable): The Execution Scheduler dispatches tasks to assigned agents according to the dependency DAG. Independent tasks execute in parallel up to the configured parallelism limit. Each task passes through per-task quality gates before its results are accepted.

Phase 6 -- Result Aggregation (variable): As tasks complete, the Result Aggregator collects outputs and feeds them as inputs to dependent tasks. Partial failures trigger contingency plans -- replacement agents, simplified task variants, or graceful degradation paths.

Phase 7 -- Integration Validation (variable): After all tasks complete, the Integration Validator ensures that the composite result is consistent, all quality gates pass, and the original objective is satisfied. This includes compilation, test execution, and quality gate verification.

Phase 8 -- Delivery (2-5s): A comprehensive delivery report is generated summarizing all tasks executed, time taken, agents used, quality metrics, and any deviations from the original plan.

Integration Points

ComponentIntegration TypeDescription
Prismatic AgentsMulti-agent coordinationDispatches to 403+ agents by capability
AIAD RegistryAgent/command discoveryQueries capabilities for task matching
Quality GatesPer-task validationQuality gates embedded in execution pipeline
TelemetryExecution metricsTask timing, agent utilization, quality scores
Session LifecycleContext managementMaintains context across multi-task execution
GitLabIssue trackingCreates/updates issues for orchestrated work
All CommandsCommand dispatchCan invoke any of 216 platform commands

Best Practices

Objective Precision: Write objectives that are specific and measurable. "Improve performance" is too vague. "Reduce security rating calculation from 200ms to under 50ms for single-domain assessments" is precise enough for effective decomposition.

Constraint Declaration: Explicitly state constraints that the orchestrator should respect. Constraints like "zero downtime," "backward compatible," and "no schema changes" prevent the orchestrator from generating plans that violate non-obvious requirements.

Dry Run First: For complex orchestrations that touch multiple applications or involve irreversible operations, always run --dry-run first to review the execution plan. This preview costs nothing and can prevent costly mistakes.

Checkpoint Configuration: For orchestrations expected to run longer than 15 minutes, reduce the checkpoint interval to 5 minutes. This minimizes work loss if the orchestration is interrupted.

Parallelism Tuning: The default auto-parallelism works well for most cases. Override with a lower value when working with shared resources (databases, file systems) that may contend under parallel access.

Error Handling

Error ConditionHandling StrategyUser Impact
Objective too vagueClarification requestedPlanning paused
Agent unavailableFallback agent assignedTransparent substitution
Task failureRetry, then failover, then checkpointPartial completion if unrecoverable
Quality gate failureTask re-executed with correctionsExtended execution time
Timeout reachedCheckpoint saved, resume availablePartial delivery with resume option
Circular dependencyDAG restructured with warningModified task ordering

Advanced Usage

Recursive Orchestration

The orchestrator can invoke itself for sub-objectives:

# Top-level orchestration with nested sub-orchestrations
/orchestrate "Complete M47 milestone: implement features A, B, C with full test coverage and documentation"

Template-Based Orchestration

# Use predefined orchestration templates
/orchestrate --template feature-lifecycle "Add webhook support"

# Create template from successful orchestration
/orchestrate --save-template my-template --from-run orchestration-2026-02-15

Metrics and Analysis

# View orchestration performance history
/orchestrate --history --last 10

# Analyze efficiency gains
/orchestrate --efficiency-report --period monthly

Doctrine Compliance

All commands operate under the NO MERCY, NO DOUBTS doctrine:

  • NO MERCY: Zero tolerance for incomplete execution or quality violations. Every subtask must pass quality gates. No partial deliveries without explicit checkpoint. No skipped tests or documentation.
  • NO DOUBTS: Full investigation before action, evidence-based results. Task decomposition is validated against platform architecture. Agent assignments are based on measured capabilities. Quality assessments use quantitative metrics.

The Supreme Platform Intelligence authority level provides unrestricted access to all platform capabilities, making /orchestrate the most powerful and most accountable command in the system.

  • /auto - Intelligent autonomous evolution engine for zero-human-intervention improvements
  • /auto-pro - Steroids edition with genetic optimization, swarm intelligence and quantum decisions
  • /auto-ultimate - Maximum intelligence fusion combining MENDEL, MYCELIALIZE and AXON/EXLA neural computing
  • /operation-order - Military-grade operation order generation for complex tasks
  • /archer-supreme - Elite tactical commander for impossible mission execution
  • /code - Core coding implementation and feature development

Connect & Contribute

Created by Tomáš Korcak (korczis) | Open Source under GHL