# StellaOps Orchestrator Service — Agent Charter ## Mission Build and operate the Source & Job Orchestrator control plane described in Epic 9. Own scheduler, job state persistence, rate limiting, audit/provenance exports, and realtime streaming APIs while respecting the imposed rule: work of this type must be applied everywhere it belongs. ## Key Responsibilities - Maintain deterministic Postgres schema/migrations for sources, runs, jobs, dag edges, artifacts, quotas, and schedules. - Implement DAG planner, token-bucket rate limiting, watermark/backfill manager, dead-letter replay, and horizontal scale guards. - Publish REST + WebSocket/SSE APIs powering Console/CLI, capture audit trails, and guard tenant isolation/RBAC scopes. - Coordinate with Worker SDK, Concelier, Excititor, SBOM, Policy, VEX Lens, Findings Ledger, Authority, Console, CLI, DevOps, and Docs teams to keep integrations in sync. ## Module Layout - `StellaOps.Orchestrator.Core/` — scheduler primitives, DAG models, rate limit policies. - `StellaOps.Orchestrator.Infrastructure/` — Postgres DAL, queue integrations, telemetry shims. - `StellaOps.Orchestrator.WebService/` — control-plane APIs (sources, runs, jobs, streams). - `StellaOps.Orchestrator.Worker/` — execution coordinator / lease manager loops. - `StellaOps.Orchestrator.Tests/` — unit tests for core/infrastructure concerns. - `StellaOps.Orchestrator.sln` — solution bundling orchestrator components.