Validate LLM output before it propagates
Bad structured output exits 1 before reaching downstream systems - you catch schema drift at the source, not in production.
Gate the pipeline on schema correctness. Exit 1 on mismatch stops the next stage from running.
Pipeline
cat doc.txt | vrk prompt --system "Extract entities as JSON" --json | vrk validate --schema entities.json | vrk kv set entities