Conformance

Validators

DAG-TOML uses independent Rust, Go, and Python implementations so one validator does not self-vouch for legal-grade or security-grade artifacts.

Primary Rust

tools/dagtoml-validate-rs/ is a safe Rust primary validator with #![forbid(unsafe_code)].

Primary Go

tools/dagtoml-validate-go/ is an unsafe-free Go primary validator covering the same Tier 1 surface as Rust.

Python reference

validators/*.py cross-check the primaries and retain legacy surfaces while they move into Tier 1 validators.

TOML parser conformance

The CI matrix runs parser-conformance checks using the toml-test suite for imported Rust and Go TOML parsers.

Local spot check

cargo build --release --manifest-path tools/dagtoml-validate-rs/Cargo.toml
go build -o /tmp/dagtoml-validate-go ./tools/dagtoml-validate-go
./tools/dagtoml-validate-rs/target/release/dagtoml-validate-rs --repo-root . examples/minimal-implementation-dag.toml
/tmp/dagtoml-validate-go --repo-root . examples/minimal-implementation-dag.toml