Pipeline

Task Workflow Validation Pipeline

Task Workflow Validation Pipeline

5-Stage Validation Pipeline for Badlucksbane Lab Automation

This document describes the end-to-end validation pipeline that ensures quality, security, and authenticity across all automated tasks in the Planner-Worker system.


Pipeline Overview

┌─────────────────────────────────────────────────────────────────────────────┐
│                         TASK LIFECYCLE                                          │
├─────────────────────────────────────────────────────────────────────────────┤
│                                                                              │
│  ┌──────────────┐    ┌──────────────┐    ┌──────────────┐                 │
│  │   STAGE 1    │───▶│   STAGE 2    │───▶│   STAGE 3    │                 │
│  │ Input         │    │ Process       │    │ Output       │                 │
│  │ Validation    │    │ Validation    │    │ Validation    │                 │
│  └──────────────┘    └──────────────┘    └──────────────┘                 │
│           │                   │                   │                           │
│           ▼                   ▼                   ▼                           │
│  ┌──────────────┐    ┌──────────────┐    ┌──────────────┐                 │
│  │ Planner       │    │ Worker        │    │ Post-Worker  │                 │
│  │ (Observer)    │    │ (Nurturer)    │    │ Quality      │                 │
│  └──────────────┘    └──────────────┘    └──────────────┘                 │
│                                                                              │
│           │                   │                   │                           │
│           ▼                   ▼                   ▼                           │
│  ┌──────────────┐    ┌──────────────┐    ┌──────────────┐                 │
│  │ validate-     │    │ validate-     │    │ validate-     │                 │
│  │ planner-      │    │ worker-       │    │ deployment   │                 │
│  │ task.sh       │    │ output.sh     │    │ .sh          │                 │
│  └──────────────┘    └──────────────┘    └──────────────┘                 │
│                                                                              │
│           │                   │                   │                           │
│           ▼                   ▼                   ▼                           │
│  ┌─────────────────────────────────────────────────────────────────────┐   │
│  │                        STAGE 4 & 5                                │   │
│  │              Deployment & System Verification                      │   │
│  └─────────────────────────────────────────────────────────────────────┘   │
│                                                                              │
└─────────────────────────────────────────────────────────────────────────────┘

Stage-by-Stage Details

Stage 1: Input Validation (Planner)

Purpose: Prevent bad tasks from entering the system at the source.

Read more...