Validate semantic shapes before document fields affect hard-fail decisions
General lesson: structured-output schemas that constrain a document field only to `string` do not make the value semantically safe. Before OCR/model fields can trigger an irreversible or hard-fail decision, validate bounded length and domain shape (for example, a two-letter juris…