forge-lcdl

Artifact `ValidationFailure` v1

Structured failure emitted when the source-ingest runtime rejects a mechanics spec, an action sequence, or post-conditions after deterministic checks. LCDL tasks may consume this shape to refine hints or propose repairs.

Artifact ValidationFailure v1

Summary

Structured failure emitted when the source-ingest runtime rejects a mechanics spec, an action sequence, or post-conditions after deterministic checks. LCDL tasks may consume this shape to refine hints or propose repairs.

Root object

Field Type Required Notes
schema_version string yes Must be exactly validation_failure_v1.
code string yes Stable machine code (e.g. unsupported_action, schema_invalid, grading_mismatch).
message string yes Human-readable summary (no secrets).
detail string no Extra context; keep short.
action_index integer no Index of offending action when applicable.
expected string no Short description of what was expected.
actual string no Short description of what was observed.

Policy

  • Do not include raw HTTP bodies, cookies, or API keys in message, detail, actual.

Changelog

  • v1 — Initial validation failure interchange contract.