key
Namespaced identifier of what was measured.
geometry.trianglesHow it works
Every artefact goes through the same nine phases. The only domain-specific code reads bytes and turns them into facts; everything after that compares facts with a published criterion. This page describes each part and says plainly which of them run today.
01 · The phases
A cycle always ends in one of four verdicts. Changing the profile or re-identifying the artefact happens only between iterations.
Bytes cross a single boundary into memory and are hashed before parsing.
raw bytes→AssetSnapshotRead from binary magic or declaration, never file extension. Five pre-check gates refuse unmeasurable 3D containers.
magic bytes→measured typeDomain extractor converts bytes into facts (including in-memory Draco decode). Measures only—never repairs.
domain parser→typed factsFacts are matched against catalogue objectives. Missing facts or mismatched units never count as satisfied.
facts→reachable objectivesCaller names a profile (rt-01 or std-fin-es-01) or accepts the single reachable match.
id + version→profile_hashProfile checks run over facts. Fail-closed: blocking fail → non_conformant; unmeasured → incomplete.
facts × rules→check outcomesDeclared safe repairs run on a copy; every other failure emits an actionable instruction.
failed checks→instructions / copyCorrected bytes re-enter at phase 02 as a new execution with a new hash in the same session.
output_sha256→phase 02Criterion results are aggregated and sealed as canonical ASCII bytes alongside the signable envelope.
DeterministicResult→result_sha25602 · Facts
A fact is an objective measurement over an artefact, never a judgement. Every fact shares five fields so phases 04–09 are written once across all domains:
key
Namespaced identifier of what was measured.
geometry.trianglesvalue
Measured value with its declared type.
12 | "121.00"unit
Physical or logical unit, or explicit null.
source
Extractor ID, version and byte span read.
dse-glb 0.1.0confidence
Deterministic origin—never a probability.
measured | derivedOnly phase 03 opens the file; phases 04–09 read facts only.
Counts, dimensions, decimals and flags—never opinions.
Missing data is recorded as absent (→ not_evaluated), never defaulted.
Extraction never repairs; phase 07 repairs on a copy.
03 · Catalogue
partly built
Checks, objectives, profiles and safe repairs live as immutable data in the catalogue. Changing a threshold publishes a new version; missing versions fail closed rather than falling back.
Compiled from normative files with a bundle_sha256. Every verdict pins its profile ID, version and profile_hash.
spec/→bundle_sha256→profile_hashReleased images embed the frozen catalogue at build time and never fetch rules over the network.
image digest→frozen rules04 · Session
designed
A session links iterative runs (validate → correct → revalidate) into a single append-only audit trail.
Every run records its input hash, catalogue version, verdict and canonical bytes.
Each run inside a session can be recomputed standalone from its bytes and profile.
RT-01 allows at most 5 executions per session (14-day idle expiry).
run #1 (input_sha256) → phase 07 correction → run #2 (output_sha256) → ≤ 5 runs
The session engine is implemented and tested in the repository; HTTP session endpoints are not yet exposed.
05 · Correction
DSE never mutates the file it was asked to judge.
Only operations declared in the profile's safe_repairs list may run, always on a copy with a measured maximum deviation.
input_sha256 → output_sha256 linked in the envelope.Default mode across profiles (safe_repairs: [] in RT-01 and std-fin-es-01): each failed check outputs what failed, by how much, and the remediation step.
06 · Reports
Each run produces two JSON objects with different jobs, and a Markdown rendering for people. Real examples are on the sample report page.
Hashed
DeterministicResultAsset hash, profile (id, version, profile_hash), toolchain versions, one entry per criterion with status, severity, measurements and findings, coverage and the verdict. Nothing about time, host or path. Its canonical bytes (sorted keys, compact separators, ASCII) are what result_sha256 covers.
built
Not hashed
AuditEnvelopeIssue time, issuer, provenance, the ordered list of repairs with their input and output hashes, and optionally a signature and a human review. One result can have several envelopes; re-issuing one never moves the result hash.
built
For people
What was analysed, the verdict in plain words, a table of criteria, each failure with its literal evidence and what to do next, and what the report does not claim. Informative only: the JSON is the artefact.
built
Measured, and within the threshold.
Measured, and outside the threshold. The finding says by how much.
Only when the check sheet declares an explicit rule (e.g. density on an untextured mesh).
Not measured, with a public reason code (dependency_unavailable, invalid_measurement).
07 · Signature
built in the CLI
The signature is detached: it covers the canonical bytes of the result and nothing else, and travels in the envelope. It is checked against a keyring that the person verifying supplies. A key found inside a report is never trusted.
That whoever signed held the private key matching a public key in your keyring, and that the canonical result bytes have not changed since.
That the artefact conforms to anything, that a person looked at it, who owns the key, or when it was signed. It is not a certification and not a statement of legal compliance.
$ dse sign report.json --private-key key.pem --out report.signed.json $ dse verify report.signed.json --keyring keyring.json # exit 0 verified against your keyring # exit 65 signature present, not verified (unknown key or bad signature) # exit 66 no signature in the envelope # exit 64 the verification could not run
dse attestSeparate human review bound to one result_sha256 (role, timestamp and decision). Never alters the mathematical verdict.
result_sha256+role · decision→envelopekey_idEach self-hosted container gets its own read-only key at install; its key_id reaches the client on a separate channel.
install key→pinned keyring.json08 · Reproducibility
Same bytes + same catalogue version + same released container digest → identical result_sha256.
Toolchain versions (dse-validator, numpy, trimesh, Khronos validator + Node) live inside the hashed result so any dependency change is visible. Across toolchains, semantic equivalence is checked via the toolchain-free projection.
10⁻⁶ m · half-evenCanonical units (m, px/m, B) rounded with ROUND_HALF_EVEN before comparison.
No hidden float tolerances in code; NaN, ±Inf or -0.0 fail closed as not_evaluated.
09 · Exit codes
Returned by the CLI and in the Dse-Exit-Code HTTP header so pipelines can gate without parsing JSON.
Every applicable criterion measured and within threshold.
All blocking criteria pass; advisory findings present.
At least one blocking criterion failed.
Safe-repair pipeline missed postconditions; nothing delivered.
At least one blocking criterion could not be measured.
Unreadable file, unknown profile or bad CLI flags. No verdict.
65 bad/unknown signature · 66 unsigned envelope.
Process interrupted by signal. No verdict.
Four real runs across 3D and Spanish fiscal drafts, with the canonical JSON, the hash you can recompute in the browser and a signature you can check.