DSE · Datum Statutum Exploratum

A deterministic conformance chassis.

DSE receives a file, works out what it is from its bytes, measures it and checks it against a written acceptance criterion. The verdict can be reproduced and signed. DSE validates any artefact for which an admitted profile exists; the first profile, RT-01, covers real-time 3D models delivered as GLB.

bash · dse
$ dse validate BoxTextured.glb --profile rt-01
  [PASS ] core.geometry.integrity
  [PASS ] core.geometry.budget
  [PASS ] core.transform.scale_units
  [FAIL ] core.transform.pivot_orientation
           - base is not at Y=0; offset: 0.500 m
  [PASS ] core.uv.layout
  [FAIL ] core.texture.texel_density
           - texel density 255.999995 px/m is below
             the minimum of 512 px/m
  [PASS ] core.texture.texel_consistency
  [PASS ] core.material.budget_pbr
  [PASS ] core.material.pbr_conformance
  [FAIL ] core.lod.chain
  [PASS ] core.package.format_size
  [FAIL ] core.identity.traceability
  => verdict: non_conformant
  => result sha256: ccfa9758d696…25bd265df
$ echo $?
2

Real run of dse-validator 0.1.0 under RT-01 0.5.0-draft on the Khronos sample BoxTextured.glb (CC BY 4.0, Cesium). Measurement columns and two advisory findings are trimmed to fit. Full report.

The problem

Data arrives faster than anyone can check it

Exporters, generators, pipelines and agents produce artefacts at machine speed, while acceptance criteria stay buried in PDFs or contracts and are applied from memory.

Manual review

Applied from memory

File-by-file inspection. Two reviewers disagree, and no audit trail records why a file passed.

file→human memory→opinion
DSE admitted profile

Executable criterion

Measured facts held against versioned thresholds. Every verdict is reproducible and can be signed.

bytes→facts→profile→result_sha256

How it works

Nine phases, the same for every kind of artefact

Only phase 03 knows the file format; from phase 04 onwards the engine evaluates measured facts. Select a phase to inspect its inputs and outputs.

NOTHING TO CORRECT CORRECTED ARTEFACT, NEW HASH: BACK TO PHASE 2 01Ingestion 02Identification 03Factextraction 04Candidateobjectives 05Profileselection 06Validation 07Correction 08Revalidation 09Verdict NOTHING TO CORRECT NEW ARTEFACT: BACK TO 2 01Ingestion 02Identification 03Fact extraction 04Candidate objectives 05Profile selection 06Validation 07Correction 08Revalidation 09Verdict
  • Built
  • Partly built
  • Designed, not built
  1. 01 Ingestion built

    In
    Raw bytes as received.
    Out
    Immutable AssetSnapshot and its asset_sha256.
  2. 02 Identification built for GLB and JSON

    In
    Snapshot + caller-declared type.
    Out
    Measured binary signature (GLB / dse.invoice-draft/0) and any discrepancy; unknown containers stop as incomplete.
  3. 03 Fact extraction built for 3D and fiscal

    In
    Identified bytes (including in-memory Draco decode).
    Out
    Measured facts (key, value, unit, source); missing data is recorded as absent, never invented.
  4. 04 Candidate objectives partly built

    In
    Extracted facts + catalogue objectives.
    Out
    Per objective: reachable, reachable after repair, indeterminate or excluded (engine tested; not yet on API).
  5. 05 Profile selection partly built

    In
    Caller-named profile (rt-01 or std-fin-es-01) or single reachable objective.
    Out
    Pinned profile ID, version and profile_hash.
  6. 06 Validation built

    In
    Measured facts + pinned profile.
    Out
    Per criterion: pass, fail, not_applicable or not_evaluated with measurements and reason codes.
  7. 07 Correction partly built

    In
    Failed criteria.
    Out
    Actionable repair instructions (or bounded safe repair when declared; RT-01 declares safe_repairs: []).
  8. 08 Revalidation designed

    In
    Corrected artefact (new hash).
    Out
    New run from phase 02 linked in the same session (ceiling: 5 iterations for RT-01).
  9. 09 Verdict built

    In
    All criterion outcomes.
    Out
    Canonical DeterministicResult (result_sha256) + signable AuditEnvelope.

Determinism

The same bytes give the same verdict

Every property below is verifiable from published outputs, without trusting the operator.

Reproducible per image

Same bytes + same profile + same released container yield the exact same hash.

SHA-256(DeterministicResult)

Fail-closed

Unmeasured blocking checks never count as a pass; they force the verdict to incomplete.

not_evaluated → exit 4

Immutable input

Validation never mutates the file; any repair emits a new snapshot with its own hash.

input_sha256 ≠ output_sha256

Zero learned heuristics

Agents may call DSE via API or MCP, but only deterministic threshold math decides.

measured vs threshold
conformantexit 0

Every applicable criterion was measured and passes.

conformant_with_findingsexit 1

No blocking criterion fails; advisory findings travel in the report.

non_conformantexit 2

At least one blocking criterion fails.

incompleteexit 4

At least one blocking criterion could not be measured.

Profiles

Criteria live in profiles, and a domain has to be admitted

A profile is versioned data: checks, thresholds, severities and repair bounds.

DSE validates any product for which an admitted profile exists. The universality is in the architecture, not in the catalogue.

Five admission rules required in the specification before writing domain code:

  1. 1

    Normative source

    A regulation, spec or contract clause you can cite.

  2. 2

    Facts from bytes

    Measured from the file or a dated snapshot.

  3. 3

    Labelled oracle

    Human-labelled set to count false positives and negatives.

  4. 4

    Criterion owner

    A named party accountable for the thresholds.

  5. 5

    Correction mode

    Bounded automatic repair or instructions only.

First profile · 0.5.0-draft

RT-01 · real-time 3D (GLB)

10 checks (12 criteria: 8 blocking, 4 advisory) for self-contained GLB props. Click any check to inspect its threshold and schematic:

Dual contract & second draft

Recomputable output + fiscal draft

Every run emits the same two-part structure, whether on a 3D asset (rt-01) or a Spanish invoice draft (std-fin-es-01, checks F1–F16):

  • DeterministicResult → result_sha256Canonical ASCII JSON: profile hash, toolchain, measurements and verdict.
  • AuditEnvelope → Ed25519 signatureTimestamps, provenance, transformations and detached cryptographic signature.
  • std-fin-es-01 (0.5.0-draft)16 checks on Spanish complete invoice drafts (RD 1619/2012 & Veri*factu).

Integration

Built for the systems that produce data

Pipelines, back ends and AI agents send bytes and receive the canonical verdict.

HTTP API

POST /v1/validate (multipart). Returns the JSON document plus Dse-Result-Sha256 and Dse-Exit-Code headers.

MCP server

Read-only tools for agents: validate_glb, validate_invoice_draft, generate_report_markdown, list_profiles and list_checks.

Command line

dse validate asset.glb --profile rt-01 for CI gates, plus dse sign and dse verify.

Thin transport, single engine

HTTP, MCP and CLI are pure transport layers over the same validator engine: identical bytes always return the same result_sha256.

HTTP API·MCP·CLI→run_validation()→result_sha256
$ curl -H "Authorization: Bearer $DSE_KEY" \
       -F "[email protected]" \
       https://test.datumstatutum.com/v1/validate
# Dse-Exit-Code:
#   0 conformant       1 with findings
#   2 non_conformant   4 incomplete

Examples and prototypes

Two prototypes that illustrate the same idea

Two independent NainDev prototypes that illustrate the same idea as DSE. They are hosted outside DSE; they are not admitted profiles and not part of the product.

Nain3D

A NainDev architecture prototype. An AI proposes a category for a 3D model; a deterministic contract decides whether it complies.

NainDev MCP validator

A standalone MCP server that exposes deterministic 3D mesh checks as tools for agents. No online demo: it runs locally.

Pilot programme

Pilots have no fee and run under a mutual NDA

  • 01 · Self-hostedYour infrastructureRuns as a Docker Compose container inside your network. Zero external data egress.
  • 02 · Shadow first0 blocks until sign-offValidates beside your flow first so you inspect the false-positive rate before gating.
  • 03 · Human oracleCalibrated on your labelsThresholds are tuned with your criterion owner against your labelled sample set.
  • 04 · Mutual NDAMeasured case studyPublished only with written permission, reporting the exact confusion matrix.

A pilot starts from an acceptance criterion that is written down

Tell us what your systems produce and where the criterion is written. We answer with whether it can be admitted as a profile, and what a pilot would measure.