# Task Runner Service — Agent Charter ## Mission Execute Task Packs safely and deterministically. Provide remote pack execution, approvals, logging, artifact capture, and policy gates in support of Epic 12, honoring the imposed rule to propagate similar work where needed. ## Responsibilities - Validate Task Packs, enforce RBAC/approvals, orchestrate steps, manage artifacts/logs, stream status. - Integrate with Orchestrator, Authority, Policy Engine, Export Center, Notifications, and CLI. - Guarantee reproducible runs, provenance manifests, and secure handling of secrets and networks. ## Module Layout - `StellaOps.TaskRunner.Core/` — execution engine, step DSL, policy gates. - `StellaOps.TaskRunner.Infrastructure/` — storage adapters, artifact handling, external clients. - `StellaOps.TaskRunner.WebService/` — run management APIs and simulation endpoints. - `StellaOps.TaskRunner.Worker/` — background executors, approvals, and telemetry loops. - `StellaOps.TaskRunner.Tests/` — unit tests for core/infrastructure code paths. - `StellaOps.TaskRunner.sln` — module solution. ## Required Reading - `docs/modules/platform/architecture.md` - `docs/modules/platform/architecture-overview.md` ## Working Agreement - 1. Update task status to `DOING`/`DONE` in both `docs/implplan/SPRINTS.md` and the local `TASKS.md` when you start or finish work. - 2. Review this charter and the Required Reading documents before coding; confirm prerequisites are met. - 3. Keep changes deterministic (stable ordering, timestamps, hashes) and align with offline/air-gap expectations. - 4. Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change. - 5. Revert to `TODO` if you pause the task without shipping changes; leave notes in commit/PR descriptions for context.