Skip to main content
Task Pipeline · Layer 02

Task Pipeline

The Task Orchestrator takes two inputs — a spec and a scored ECO — and produces bounded Task Execution Envelopes (TEEs) assigned to implementer agents. Every decision is constrained by the ECO.


Stages​

ECO (scored) + Spec
│
├─ 1. Lane Classification
│ └─ A · B · C
│
├─ 2. Strategy Selection
│ └─ biased by lane + ECO dimensions
│
├─ 3. Decomposition
│ └─ spec → ordered TEEs
│
├─ 4. Implementation
│ └─ staging area → human gate (Lane C) → codebase
│
├─ 5. Validation Gates
│ └─ tests · lint · types · size
│
└─ 6. Completion
└─ merged | escalated | abandoned

Lane Behaviour Summary​

StageLane ALane BLane C
Strategy selectionNone (hooks only)Biased selectionFull selection
DecompositionNoneSingle TEEMulti-TEE
ImplementationHook executionScoped agentScoped agent, dual mode
Human gateNoneOptionalRequired
LLM calls01–22–4

Key Invariants​

  1. No TEE may exceed its declared scope. Writes outside the TEE boundary are rejected.
  2. Validation gates are non-negotiable. A TEE that fails a gate cannot be merged — it must escalate or be abandoned.
  3. Every stage emits a trace event to the Decision Ledger, regardless of outcome.