Early AI coding loops look linear: prompt, edit, test, pray. Yet real repository work splits cleanly into independent leaves — tests, schema updates, docs, isolated adapters — while the governance lifecycle (intake, human intent gate, plan gate, build/review, delivery, cleanup) must remain predictable. Dynamically rewriting Airflow Python DAG files for every issue creates scheduler churn and unbounded DAG cardinality.

FIXED AIRFLOW CONTROL PLANE (airflow_home · DAG id = blueprint.name)intentgate_intentspec + plangate_planbuild_and_testreview + deliverDATA-ONLY ISSUE GRAPH (Plan.work <= 64 nodes · opt-in swfactory.fork_wave)Wave 1: tests (root)Child fork A (HEAD==sha, noEnv)Child fork B (HEAD==sha, noEnv)Parent verifies & delivers
Fig. 2 — Fixed Airflow scheduling above data-only Plan.work DAGs (max 64 nodes) and opt-in swfactory.fork_wave child forks.

1. Fixed control graph, dynamic data graph

As documented in docs/lifecycle.md, swfactory keeps the Airflow DAG topology constant per blueprint while validating each issue's plan.json as an explicit data DAG (<= 64 nodes, rejecting cycles, undeclared files, duplicate IDs, and missing dependencies). Work nodes declare a parallel_safe hint — always safe to serialize, or fanned out when admission gates pass.

2. Hard admission gates for fork waves

Codified in commit c4ee502 (Oct 16, 2026) and generalized in the Cambridge companion papers (Speculative Sandboxes & Evidence Frontiers), a wave only forks when every boundary holds:

Interactive Fork Count vs. Effective Evidence