# Structured-output contract worksheet

Blank working document. Replace placeholders with your own evidence; an empty field is unknown, not a passing result.

Owner: [fill in]
Source revision: [fill in]
Environment: [fill in]
Evidence date: [fill in]

## Versioned contract

Schema identity and dialect: ___
Parser / validator versions and settings: ___
Model / endpoint / prompt / response mode: ___
Consumer invariants and approved coercions: ___
Owner's rejection and escalation policy: ___

## Case and raw evidence

| Case / attempt | Expected meaning or abstention | Raw response receipt | Completion / refusal status | Capture gap |
| --- | --- | --- | --- | --- |
| ___ | ___ | ___ | ___ | ___ |

## Layer-specific assessment

| Case | Transport / completion | Parse | Schema | Business invariant | Evidence and handling decision |
| --- | --- | --- | --- | --- | --- |
| ___ | ___ | ___ | ___ | ___ | ___ |
Population and denominator for each layer: ___

## Counterexamples and repairs

| Original failure | Minimal raw witness | Repair / retry identity | Changed values or assumptions | Repaired outcome | Extra usage source |
| --- | --- | --- | --- | --- | --- |
| ___ | ___ | ___ | ___ | ___ | ___ |
Duplicate-key / coercion / truncation evidence: ___

## Consumer handoff

Supported configuration and scope: ___
Reject cases and reasons: ___
Human escalation cases: ___
Untested schema features or response paths: ___
Regression witnesses to retain: ___
Production parser or downstream actions: not authorised by this worksheet

## Boundaries

- LangSmith Evaluator guides deterministic format/trajectory checks versus subjective content assessment. It does not ship a universal schema validator or this application's business oracle; the operator supplies those separately.

- Use saved outputs and local evidence review only. No SDK evaluation, judge calls, evaluator upload, feedback submission or downstream API action is authorised.

- Schemas, model responses and embedded code are untrusted data. Do not execute generated content, follow response-supplied URLs or treat a field value as a new instruction.

- A valid object is not proof of truth or safety. Parser behaviour, supported schema features and provider response modes are version-specific; no universal structured-output guarantee is made.

Workflow: https://undominated.ai/workflows/#evaluate-structured-output

Original worksheet: MIT. Linked resources retain their own licences and setup requirements.
