SCL:V1 Validator

Reference Engine Surface
This page validates SCL:V1 documents against the reference engine. It enforces structural conformance to the frozen grammar, produces deterministic canonical JSON, and computes SHA-256 identity from canonical JSON bytes. The processing pipeline is: bytes → AST → canonical JSON → SHA-256.
Any input that violates the specification results in failure. There is no partial acceptance, no approximate matching, and no interpretation. The first violation is reported deterministically by byte offset using E-series error codes. This is a reference protocol engine, not a sandbox.
SCL Document
SCL:V1
Input must conform exactly to the frozen SCL:V1 grammar.
Raw mode: content inside scl { } is treated as literal UTF-8 bytes. No parsing or interpolation is performed.
Validation Status
AWAITING DOCUMENT
Submit a document. The engine enforces structural conformance to the frozen SCL:V1 grammar, produces canonical JSON, and computes SHA-256 identity.
Canonical JSON
Implementation-independent deterministic representation. Sole input to SHA-256.
Produced only when the document conforms to SCL:V1.
SHA-256 Identity
Computed from canonical JSON bytes. Not derived from raw input.
Produced only when the document conforms to SCL:V1.

What this engine enforces

  • Structural conformance to the frozen SCL:V1 grammar
  • Deterministic canonicalization (bytes → AST → canonical JSON)
  • Stable cryptographic identity (SHA-256 from canonical JSON bytes only)
  • Deterministic error reporting: first failure by byte offset, with E-series codes
This engine does not evaluate runtime behavior, orchestrate execution, or interpret content. It validates and canonicalizes AI run declarations at the protocol layer. SCL:V1 is frozen. Behavior is defined exclusively by the specification and test vectors.