Orchestrator
How the orchestrator runtime loads providers, plans changes, applies writes, and persists state safely.
Last updated
Was this helpful?
How the orchestrator runtime loads providers, plans changes, applies writes, and persists state safely.
This section documents the orchestrator runtime under cw_platform/orchestrator/.
It loads providers, builds snapshots, plans diffs, and applies writes.
It is pessimistic by design. It prefers skipping deletes.
The orchestrator is the engine that runs sync work.
It coordinates providers, pairs, and safety checks.
Providers expose inventories and writes.
Pairs describe source, target, and mode.
Features are watchlist, ratings, history, playlists.
Snapshots are inventories keyed by canonical_key.
Plans are adds/removes or upserts/unrates.
State stores baselines and checkpoints.
The orchestrator fails safe by default:
If auth is broken, it skips the pair.
If a provider is down, it skips writes.
If a snapshot looks wrong, it treats it as suspect.
If a delete plan is huge, it blocks it by default.
End-user setup and concepts: Syncing
Pair configuration: Configure Pairs
Adapter overview: Synchronization
Most orchestrator code lives under:
cw_platform/orchestrator/
Use these pages as the deep-dive index.
Last updated
Was this helpful?
Was this helpful?