SCL:V1 Validator
Verify AI Run Declarations
Verify AI run declarations against the SCL:V1 reference engine.
Enforces structural conformance to the frozen grammar, produces
deterministic canonical JSON, and computes 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
Raw mode: content inside
scl { } is treated as literal UTF-8 bytes. No parsing or interpolation is performed.
Deterministic Execution Trace
Input bytes received
UTF-8 and forbidden byte validation
Grammar parsing (SCL:V1)
AST construction
Canonical JSON serialization
SHA-256 identity derivation
Canonical JSON
Implementation-independent deterministic representation. Sole input to SHA-256.
Produced only when all trace steps pass.
SHA-256 Identity
Computed from canonical JSON bytes. Not derived from raw input.
Produced only when all trace steps pass.
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.