Skip to main content

SDAC Validation Workflow

Overview

SDAC workflows describe the runtime sequences used to ingest, validate, analyze, and review cost reports.

The main production path is now the post-ingestion report analysis workflow. After the ingestion service parses a workbook into SDAC.data_CostReports and SDAC.data_PersonnelRecords, Mastra starts sdac-report-analysis to run linkage, parallel analysis waves, and packet compilation. The Coordinator Release Agent reads that persisted packet before calling raw validation tools.

Runtime Workflows

  • Report analysis workflow -- Post-ingestion linkage, parallel analysis, DB persistence, feature-flag filtering, and agent retrieval
  • Prompt Tuning -- Feedback-driven prompt optimization pipeline
  • Feedback aggregation (sdac-feedback-aggregation) -- Builds deterministic, reviewer-facing insight packages from selected feedback.
  • Feedback to Linear automation (sdac-feedback-linear-automation) -- Scheduled grouping and issue creation for unprocessed widget feedback; posting is gated by Linear configuration and supports dry run.
  • Release review (sdac-release-review) -- Produces the persisted report release decision consumed by the release-review routes.
  • Widget session (sdac-widget-session) and widget conversation (sdac-widget-conversation) -- Runtime orchestration for session/chat behavior and persisted widget evidence.

These seven registered workflows are owned by packages/domain-sdac/src/loader.ts. The pages below describe validation playbooks and supporting sequences; they are not all distinct runtime registry entries.

Validation Playbooks (one page per workflow)

Next steps