# Orchestration

> A mechanism that runs a multi-step workflow from one coordinator, which calls each step in order and tracks its outcome.

Record: `architecture:orchestration`
Kind: mechanism
Layer: [Execution Core](https://banes-lab.com/records/layer/execution-core.md)
Severity: contextual
Scope: workflow, deployment, services
Canonical: https://banes-lab.com/ontology#architecture-orchestration

Listed in [Architecture principles](https://banes-lab.com/api/records/architecture.md), after [Control Plane](https://banes-lab.com/records/architecture/control-plane.md) and before [Centralized Configuration](https://banes-lab.com/records/architecture/centralized-configuration.md).

## Repair

- Refactored by: Add Orchestrator, Define Workflow
- Detected by: unclear workflow ownership
- Violated by: implicit fragile workflow spread across services
- Measured by: workflow observability/completion
- Enforced by: workflow tests

## Requires

- [Coordinator](https://banes-lab.com/records/lexicon/coordinator.md)

## Reinforces

- [Control Plane](https://banes-lab.com/records/architecture/control-plane.md)
- [Saga](https://banes-lab.com/records/lexicon/saga.md)

## Enables

- [Ordered Multi-Step Execution](https://banes-lab.com/records/lexicon/ordered-multi-step-execution.md)

## Conflicts with

- [Pure Choreography](https://banes-lab.com/records/lexicon/pure-choreography.md)

## In tension with

- [Centralized Coordinator Coupling](https://banes-lab.com/records/lexicon/centralized-coordinator-coupling.md)

## Tensions

- [Orchestration / Centralized Coordinator Coupling](https://banes-lab.com/records/tension/centralized-coordinator-coupling-orchestration.md)

## Contracts

- [Workflow Creation Kernel](https://banes-lab.com/records/algorithms/workflow-creation-kernel.md)

## Severity

- [contextual](https://banes-lab.com/records/vocabulary/severity-contextual.md)

## Category

- [Control / Coordination / Centralization](https://banes-lab.com/records/architecture-category/control-coordination-centralization.md)

## Linked from

- [Orchestration as declared structure](https://banes-lab.com/pag/orchestration/declared-structure.md)
- [Every record has a kind](https://banes-lab.com/software-architecture/principles/every-record-has-a-kind.md)
- [Above one tier, reduction](https://banes-lab.com/software-architecture/scale/above-one-tier-reduction.md)
- [Control / Coordination / Centralization](https://banes-lab.com/ontology/principles/architecture-category-control-coordination-centralization.md)
- [Control / Coordination / Centralization](https://banes-lab.com/ontology/lexicon/lexicon-category-control-coordination-centralization.md)
- [Core Vocabulary](https://banes-lab.com/ontology/lexicon/lexicon-category-core-vocabulary.md)
- [Agent workflow](https://banes-lab.com/ontology/algorithms/algorithms-domain-agent-workflow.md)
- [Severity levels](https://banes-lab.com/ontology/schema/the-vocabulary-severity.md)
- [The resolutions](https://banes-lab.com/ontology/schema/the-resolutions.md)
