AST Validation Gate

AST first, merge only when green

AST Validation Gate AST first, merge only when green 01 / Agent Pipeline EX / Validation Gate Agent proposes · Agent Pipeline Agent proposes EDN reader · immutable AST · Agent Pipeline EDN reader immutable AST Merge allowed · Agent Pipeline · ship Merge allowed ship Invariant checks · shape plus uniqueness · Validation Gate Invariant checks shape plus uniqueness bb test audit · barrier · Validation Gate bb test audit barrier Reject exact · parser error · Validation Gate · stop Reject exact parser error stop failure green invalid valid Legend Agent logic Policy External system

Happy path

  • • Parse to immutable value first
  • • Shape valid reaches the suite

Reject path

  • • Exact error, not silent merge
  • • Any failure stops at the gate