Profiles

Profiles, admission and RT-01

A profile turns a written acceptance criterion into data the chassis can apply. This page explains what a profile contains and how a new domain gets one, then describes RT-01, the reference profile, check by check. A second profile, std-fin-es-01 for Spanish complete invoice drafts, exists as a draft.

01 · Profiles as data

What a profile is

A profile is an entry in the catalogue, not code. Changing a threshold is a data change that publishes a new catalogue version; no branch of the engine knows about any profile.

rt-010.5.0-draft · ID & version
10 · 128 blocking · 4 advisory
[]safe_repairs (empty list)
fullStore retention policy
5 runsSession iteration ceiling
C1–C10Normative spec/checks
Client profile inheritance designed

Client rules never fork a base profile; the catalogue compiler flattens base + delta into one sealed hash:

extends: rt-01 + client rules → compiler → sealed profile_hash

Retention is declared by the profile, never by the request. DSE Test stores no document and no result, whatever the profile declares.

02 · Admission

How a domain enters the catalogue

DSE validates any product for which an admitted profile exists. The universality is in the architecture, not in the catalogue. A domain is admitted only when all five criteria hold in its specification before any extractor is written.

  1. 1

    Normative source

    A regulation, published spec or contract clause you can cite. Without a source, a verdict decides nothing.

  2. 2

    Facts from bytes

    Extracted deterministically from the file or a versioned snapshot so every run is reproducible.

  3. 3

    Labelled oracle

    A human-labelled set of accepted and rejected examples to measure false positives and negatives.

  4. 4

    Criterion owner

    A named person or client accountable for the thresholds; DSE owns the procedure.

  5. 5

    Correction mode

    Explicit rule on whether phase 07 repairs within bounds or emits instructions only.

The same lifecycle for every domain

  1. 1SpecificationCheck sheets and an admission section with the five answers.
  2. 2ExtractorFrom the format's bytes to the common vocabulary.
  3. 3ChecksOver facts only, with boundary tests on every threshold.
  4. 4CalibrationAgainst the oracle, ending in a confusion matrix.
  5. 5Frozen versionA catalogue version that is never edited again.
  6. 6ReleaseCompiled into the image that clients install.

A profile is offered as frozen, and reaches 1.0.0, only after its confusion matrix is published. RT-01 is frozen first. Any other domain opens on client demand. The admission rule is recorded in ADR-0040, approved on 27 September 2026.

Second profile · draft · not frozen

std-fin-es-01 · Spanish complete invoice drafts

Version 0.5.0-draft on dse.invoice-draft/0 JSON before issuance or Verifactu submission. Exact decimal arithmetic on string amounts, instruction-only, 16 checks (11 blocking, 5 advisory):

F1 · F2 · F14

Identity & mandatory fields

RD 1619/2012 art. 6.1 fields, issuer/recipient NIF/NIE check characters, and Verifactu series/number format.

F3 · F4 · F5 · F9 · F10

Exact decimal arithmetic

qty × unit_price − discount line bases, per-rate VAT breakdown, total, equivalence surcharge and IRPF withholding.

F6 · F12 · F13 · F16

Rates, currency & regime

Catalogue-frozen legal VAT rates (including 2022–2024 windows), EUR tax quota, regime keys (S1–E6) and required mentions.

F7 · F8 · F11 · F15

Dates, sequence & rectifications

Operation vs issue date, correlative sequence against previous_number, art. 11.1 deadline and 4-year rectification window.

Draft profile pending article-by-article confirmation by a tax adviser. Served on DSE Test via HTTP and MCP (validate_invoice_draft). Not a certification, and not tax or legal advice.

03 · The first profile

RT-01, real-time 3D props

Self-contained GLB props with PBR materials, generic mid-range budget, no rig and one LOD chain.

Identifier
rt-01
Version
0.5.0-draft draft
profile_hash
0b335fa396cd195e7914b3b418faf0f522f63f5b20ee48329e759ee2fd58d91d
Input
Self-contained .glb, all buffers embedded
Criteria
12, from 10 checks: 8 blocking, 4 advisory
Correction
Instructions only today (empty safe-repair list)
draft

RT-01 thresholds remain provisional until a confusion matrix against a labelled set is published. Every verdict pins 0.5.0-draft inside the hashed result.

Ingestion gates (fail-closed → incomplete, exit 4)

  • Gate 01Container magicMust be binary .glb; .gltf or other formats stop at ingest.
  • Gate 02Self-containedAll buffers embedded; external .bin URIs are refused.
  • Gate 03Required extensionsAllows EXT_texture_webp, KHR_materials_emissive_strength, KHR_draco_mesh_compression.
  • Gate 04Primitive modesRefuses unmeasurable modes such as TRIANGLE_FAN.
  • Gate 05Buffer viewsRefuses undecodable compressed views (e.g. EXT_meshopt_compression).

04 · Checks

C1 to C10

Each check is specified in spec/checks/ with its exact formula, severity and repair boundary.

C1

Sound geometry

core.geometry.integrity

blocking

Measures

Degenerate faces (area / max_extent² ≤ 10⁻¹²), unreferenced vertices and face winding consistency.

Why it matters

Zero-area faces break normals, tangents, baking and collisions; flipped winding leaves holes under back-face culling.

Threshold in RT-01

0 degenerate faces, 0 loose vertices, consistent winding.

Repair & exceptions

Instruction only. Empty meshes return not_evaluated.

C2

Scale and units

core.transform.scale_units

blocking

Measures

Largest world-space bounding-box extent in metres after node transforms.

Why it matters

Wrong unit scale breaks AR placement, physics simulation and catalogue comparison.

Threshold in RT-01

0.05 m ≤ max_extent ≤ 10.0 m (inclusive).

Repair & exceptions

Instruction only. Declared metric scale (--scale) is recorded in the result without rewriting the file.

C3

Pivot and orientation

core.transform.pivot_orientation

advisory

Measures

Base offset from Y = 0 and horizontal centre offset from (X=0, Z=0) with +Y up.

Why it matters

Off-centre pivots force manual offsets every time the prop is instantiated in a scene.

Threshold in RT-01

Base centred at origin, +Y up, ±0.01 m tolerance.

Repair & exceptions

Instruction only in RT-01 (root-node transform repair exists in pipeline for static meshes).

C4

Geometric budget

core.geometry.budget

blocking

Measures

Triangles instantiated by the default scene (instanced meshes count per node use).

Why it matters

Excess triangle counts degrade frame time and GPU memory across target devices.

Threshold in RT-01

≤ 50,000 rendered triangles.

Repair & exceptions

No automatic decimation (silhouette changes require artistic sign-off).

C5

Usable UVs

core.uv.layout

blocking

Measures

TEXCOORD_0 bounds in [0, 1] and exact rational UV overlap percentage (deduplicating intentionally stacked/mirrored islands).

Why it matters

Overlapping UVs corrupt lightmaps and baked maps; out-of-range UVs wrap inconsistently unless sampler repeat is declared.

Threshold in RT-01

≤ 1.0% overlap; [0, 1] bounds unless sampler wraps with REPEAT / MIRRORED_REPEAT.

Repair & exceptions

No automatic UV repacking (would invalidate all authored texture maps).

C6

Texel density

core.texture.texel_density · core.texture.texel_consistency

floor: blockingceiling & spread: advisory

Measures

Base-colour resolution per metre of 3D surface across UV charts:

density = sqrt(W_px × H_px × area_UV / area_world)

Why it matters

Below floor looks blurry; above ceiling wastes VRAM; high spread makes adjacent parts mismatch.

Threshold in RT-01

Floor ≥ 512 px/m (blocking); ceiling ≤ 1024 px/m and spread ≤ 25% (advisory).

Repair & exceptions

Instruction only. Not applicable without textured materials or UVs.

C7

Well-formed materials

core.material.budget_pbr · core.material.pbr_conformance

both blocking

Measures

Material slot count, required baseColor map, metallic-roughness factors, and texture slot bindings (colour vs linear data reuse, valid texCoord, alpha source).

Why it matters

Extra materials add draw calls; misbound textures render broken lighting across engines.

Threshold in RT-01

≤ 4 materials, baseColor present, valid PBR factors and slot bindings.

Repair & exceptions

Instruction only. Not applicable when no materials exist.

C8

LOD chain

core.lod.chain

advisory

Measures

Presence of an MSFT_lod or _LOD<n> chain, level count and per-step triangle reduction.

Why it matters

Without progressive LODs, distant instances cost full LOD0 rendering budget.

Threshold in RT-01

3 levels, each reducing triangles by ≥ 50%.

Repair & exceptions

Instruction only. Competing LOD conventions return not_evaluated.

C9

Packaging and size

core.package.format_size

blocking

Measures

Binary container signature, exact byte size and official Khronos glTF Validator error count.

Why it matters

Oversized or malformed GLBs stall network delivery or fail to parse in runtime loaders.

Threshold in RT-01

.glb container, ≤ 15 MiB (15,728,640 B), 0 Khronos errors.

Repair & exceptions

Instruction only. Missing Khronos validator runtime returns dependency_unavailable.

C10

Identity and traceability

core.identity.traceability

advisory

Measures

Non-empty name, origin and license fields in asset.extras.dse, asset.extras or asset.

Why it matters

Distributing 3D assets without declared provenance or licence creates legal exposure.

Threshold in RT-01

name, origin and license present and non-blank.

Repair & exceptions

Never auto-repaired (inventing provenance would falsify metadata).

05 · Thresholds

Every threshold, and where it comes from

Comparison rules are ratified: 10−6 m length lattice, half-even rounding, inclusive bounds and zero hidden epsilons (numeric policy, 23 August 2026). Threshold values remain provisional until calibration.

C1blocking
area ≤ 10⁻¹² · 0 defects

Relative degenerate area (ADR-0020), 0 loose vertices, consistent winding.

C2blocking
0.05 m – 10.0 m

glTF 2.0 metric world-space bounding-box extent (inclusive).

C3advisory
base_centered · ±0.01 m

glTF +Y up, base at Y = 0 (±1 cm tolerance).

C4blocking
≤ 50,000 tris

Rendered triangles across the default scene.

C5blocking
≤ 1.0% · [0, 1]²

Stacked islands count once (ADR-0009); sampler repeat allowed (ADR-0010).

C6floor: blocking
512–1024 px/m · ≤ 25%

Floor blocking (ADR-0008); ceiling and cross-chart spread advisory.

C7blocking
≤ 4 slots · baseColor

Draw-call cap, mandatory baseColor map and structural PBR bindings (ADR-0011).

C8advisory
3 levels · −50%/step

Progressive 3-level LOD chain (MSFT_lod or _LOD<n>).

C9blocking
.glb · ≤ 15 MiB · 0 err

Self-contained binary GLB (15,728,640 B) + 0 Khronos validator errors.

C10advisory
name · origin · license

Non-empty provenance and licensing fields in asset.extras.dse.

How RT-01 got here

  1. 0.1.0-draft10 Aug 2026Initial 10-check draft profile.
  2. 0.2.0-draft14 Sep 2026C6 split: density floor becomes blocking (ADR-0008).
  3. 0.3.0-draft15 Sep 2026C5 deduplicates stacked islands & honours sampler wrap.
  4. 0.4.0-draft15 Sep 2026C7 adds PBR slot-binding criterion (ADR-0011).
  5. 0.5.0-draftCurrentC1 relative degenerate area (ADR-0020) & declared scale.

06 · The file

The profile as it stands

spec/profiles/rt-01.draft.yaml, verbatim from the repository.

spec/profiles/rt-01.draft.yaml0.5.0-draft · expand YAML
# Perfil RT-01 — prop de motor, tiempo real (BORRADOR)
# Umbrales PROVISIONALES (docs/08, tabla de ejemplo) — se calibran con la
# prueba de producción. Cambiar un umbral = commit de este fichero.
profile:
  id: rt-01
  version: 0.5.0-draft
  name: "Real-time engine prop"
  representation: mesh
  description: >
    Prop genérico para motor de juego en tiempo real. Presupuestos de gama
    media; sin rig; un solo LOD chain.
  # Run policies (spec 019 F-02). Each value is fixed by an Approved ADR; the
  # catalogue compiler requires all three and none has a default.
  # ADR-0027 D1 and D5: mixed correction, shipped with an empty safe-repair
  # list, so every correction is an instruction until a repair is added with
  # its measured bound (D3).
  repair_policy: safe_repairs
  safe_repairs: []
  # ADR-0031 D5: RT-01 keeps facts, canonical result bytes and artefact bytes.
  retention_mode: full
  # ADR-0032 D3: a session holds at most five executions, the first included.
  max_iterations: 5

checks:
  # ADR-0020 (Approved 2026-09-16), spec 015: la degeneración se juzga RELATIVA
  # al tamaño del propio activo. degenerate_area_max_relative es el cociente
  # adimensional A / max(Δx, Δy, Δz)² por debajo o igual al cual una cara se
  # considera degenerada. El suelo absoluto en m² (degenerate_area_max_m2) ya
  # NO se declara: hacía que la misma topología recibiera dos veredictos según
  # la unidad de entrega (hallazgo F-02 de la spec 014).
  # Valor 1.0e-12: reproduce exactamente el umbral absoluto ratificado el
  # 23-ago-2026 en un activo cuya mayor dimensión es 1 m, así que la migración
  # parte del valor ya ratificado. Es PROVISIONAL y NO ratificado como umbral
  # relativo: la spec 014 RF-003 exige el lote TRELLIS.2 propio antes de fijarlo.
  # Su rejilla es la misma que la del área absoluta, porque a extensión unidad
  # ambas medidas son el mismo número (ficha C1, política §2/§5).
  # max_loose_vertices: vértices que la malla transporta y ninguna cara indexa
  # (docs/08 §C1, "vértices sueltos"). Umbral OPCIONAL: sin declarar, la medida
  # se publica y no juzga. Valor PROVISIONAL alineado con max_degenerate_faces
  # y con "cero defectos críticos = pasa" de docs/08; no ratificado (ficha C1).
  - id: core.geometry.integrity
    severity: blocking
    params:
      max_degenerate_faces: 0
      max_loose_vertices: 0
      require_winding_consistent: true
      degenerate_area_max_relative: 1.0e-12

  - id: core.geometry.budget
    severity: blocking
    params: { max_triangles: 50000 }

  - id: core.transform.scale_units
    severity: blocking
    params: { units: meters, bbox_min_m: 0.05, bbox_max_m: 10.0 }

  - id: core.transform.pivot_orientation
    severity: advisory
    params: { pivot: base_centered, up_axis: "+Y", tolerance_m: 0.01 }

  # ADR-0009 and ADR-0010 (Proposed 2026-09-14): exact duplicate UV triangles
  # (stacked or mirrored islands) count once in the judged overlap, and an axis
  # whose base-color sampler declares REPEAT or MIRRORED_REPEAT is exempt from
  # the [0,1] range. Absent, both switches keep the previous behaviour; the
  # threshold values are unchanged and remain provisional.
  - id: core.uv.layout
    severity: blocking
    params:
      max_overlap_pct: 1.0
      require_range_0_1: true
      count_reused_uv_islands: false
      allow_tiling_when_sampler_repeats: true

  # ADR-0008 (Approved 2026-09-14): under-resolution is blocking; the upper
  # bound and the variation are judged by their own advisory criterion over the
  # same measurement. Threshold values are unchanged and remain provisional.
  - id: core.texture.texel_density
    severity: blocking
    params: { min_px_per_m: 512 }

  - id: core.texture.texel_consistency
    severity: advisory
    params: { max_px_per_m: 1024, max_deviation_pct: 25 }

  - id: core.material.budget_pbr
    severity: blocking
    params: { max_materials: 4, required_maps: [baseColor], plausible_pbr: true }

  # ADR-0011 (Proposed 2026-09-14): the second C7 criterion judges how the
  # texture slots are bound (colour versus data images, normal map channels,
  # delivered texture coordinates, resolvable indices, transparency
  # declarations). It reads the container and the embedded image headers only
  # and declares no threshold, so there is no value to calibrate.
  - id: core.material.pbr_conformance
    severity: blocking
    params: {}

  - id: core.lod.chain
    severity: advisory
    params: { levels: 3, min_reduction_pct_per_level: 50 }

  - id: core.package.format_size
    severity: blocking
    params: { format: glb, max_size_mb: 15, require_valid_gltf: true }

  - id: core.identity.traceability
    severity: advisory
    params: { required_fields: [name, origin, license] }

Bring a criterion of your own

If your acceptance criterion meets the five conditions, a pilot writes its profile and calibrates it against your labelled examples.