- Added `FilesystemPackRunProvenanceWriter` to write provenance manifests to the filesystem. - Introduced `MongoPackRunArtifactReader` to read artifacts from MongoDB. - Created `MongoPackRunProvenanceWriter` to store provenance manifests in MongoDB. - Developed unit tests for filesystem and MongoDB provenance writers. - Established `ITimelineEventStore` and `ITimelineIngestionService` interfaces for timeline event handling. - Implemented `TimelineIngestionService` to validate and persist timeline events with hashing. - Created PostgreSQL schema and migration scripts for timeline indexing. - Added dependency injection support for timeline indexer services. - Developed tests for timeline ingestion and schema validation.
2.1 KiB
2.1 KiB
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.mddocs/modules/platform/architecture-overview.mddocs/modules/taskrunner/architecture.mddocs/product-advisories/29-Nov-2025 - Task Pack Orchestration and Automation.mddocs/task-packs/spec.md,docs/task-packs/authoring-guide.md,docs/task-packs/runbook.md
Working Agreement
-
- Update task status to
DOING/DONEin both correspoding sprint file/docs/implplan/SPRINT_*.mdand the localTASKS.mdwhen you start or finish work.
- Update task status to
-
- Review this charter and the Required Reading documents before coding; confirm prerequisites are met.
-
- Keep changes deterministic (stable ordering, timestamps, hashes) and align with offline/air-gap expectations; enforce plan-hash binding for every run.
-
- Coordinate doc updates, tests, and cross-guild communication whenever contracts or workflows change; sync sprint Decisions/Risks when advisory-driven changes land.
-
- Revert to
TODOif you pause the task without shipping changes; leave notes in commit/PR descriptions for context.
- Revert to