Home Contact
Universal Substratev1.4
/
For agents Markdown

24. Machine contracts, standards profiles, security, conformance, and governance

Universality depends on a small kernel and strict extension rules. Standards are pinned profiles and adapters, not the root ontology. The compact JSON wire form is checked structurally, expanded through immutable semantic contexts, validated across graph…

Concept & directionLNK

Universality depends on a small kernel and strict extension rules. Standards are pinned profiles and adapters, not the root ontology. The compact JSON wire form is checked structurally, expanded through immutable semantic contexts, validated across graph relationships, and then admitted to an append-only ledger. Unknown namespaced data must survive even when the current client cannot interpret it.

#24.1 Standards adoption profile

Standard/profileBounded RTracer use
JSON Schema 2020-12Wire structure and payload validation; kernel objects closed, typed extension array open
JSON-LD 1.1Stable IRIs and semantic export using locally pinned context bytes/digests
SHACLCross-object cardinality, graph, temporal, type and pack constraints
SKOS / limited OWLVocabulary concepts, labels, hierarchy, mappings and design-time axioms; never authorization
PROV-OEntities, activities, agents, derivation, revision, attribution and custody mappings
SOSA/SSN + OGC SensorThingsObservation/actuation semantics and geospatial IoT API adapters
QUDT / UCUM + uncertainty profileQuantity kinds, dimensions, units and uncertainty exchange
COVESA VSS; ASAM MDF/ODS/OpenODDRoad signals, measurement/test data and road ODD adapters
GS1 EPCISSupply, lot, aggregation, transformation, custody and traceability event mapping
ODRL / Verifiable CredentialsRights-expression and signed-assertion exchange; internal grants remain stricter
C2PAMedia provenance, edit lineage and synthetic-disclosure signals; no automatic truth claim
CloudEvents / OpenAPI / OpenTelemetryTransport, HTTP contract and platform observability; none replaces domain history
RFC 3339 / JCS profileTimestamp representation and deterministic canonical JSON hashing/signing
UNECE R155/R156 / firmware-update profilesCybersecurity and software-update-management adapters for applicable road vehicles
EU battery passportIndividual battery identity, use/state/repurpose history, access control and interoperable passport adapter
Table
Pin, do not follow latest
Every schema, context, shape, ontology, vocabulary and standard mapping is stored by exact version and digest. Production validation never fetches remote contexts or schema references. A moving URL cannot silently change the meaning of historical records.

#24.2 Canonical v1 contract families

  • core.entity-root/v1; core.record-envelope/v1; core.temporal-extent/v1
  • identity.identifier-assertion/v1; identity.continuity-decision/v1; identity.conflict-set/v1
  • claims.claim/v1; claims.appraisal/v1; evidence.artifact/v1; evidence.custody-event/v1
  • configuration.snapshot/v1; configuration.operational-state/v1; systems.graph/v1; systems.connection/v1
  • capability.realization/v1; control.authority-assignment/v1; control.handover/v1
  • operation.mission/v1; operation.session/v1; operation.segment/v1
  • lifecycle.task-definition/v1; lifecycle.task-execution/v1; lifecycle.modification/v1; lifecycle.finding/v1
  • measurement.quantity/v1; measurement.test-run/v1; telemetry.segment-manifest/v1
  • rights.grant/v1; action.proposal/v1; action.receipt/v1; social.vehicle-agent/v1
  • commerce.appraisal/v1; commerce.listing/v1; commerce.offer/v1; commerce.bid/v1; commerce.auction/v1; commerce.transaction/v1
  • registry.provider-assertion/v1; vocabulary.term/v1; schema.definition/v1; extension.domain-pack/v1

#24.3 Three validation representations

LayerPurposeHard rules
A - JSON SchemaValidate compact wire objectReject duplicate keys, NaN/infinity/negative zero, unbounded depth/arrays, unknown kernel keys and untrusted refs
B - JSON-LDExpand namespaced semanticsPinned local context only; digest verified; no network fetch or context substitution
C - SHACL / graph rulesValidate relationships and packsCardinality, subject/object types, graph cycles, time/effectivity, port compatibility, authority prerequisites and pack dependencies
D - policy engineDecide audience/action permissionCurrent grant, purpose, privacy, jurisdiction, budget/rate, revocation and no ontology-inferred authority

JSON numeric values are unsuitable where exact decimals matter. Preserve exact lexical decimal strings and validate their grammar. Canonicalization rejects ambiguous representations before hashing. Extensions use {namespace, schemaRef, payload, originalDigest}; arbitrary extra fields are not the extension mechanism.

#24.4 DomainPack manifest

Table
Signed domain-pack manifest
{
  "packId": "rtracer.domain.aerostat",
  "version": "1.2.0",
  "coreCompatibility": ">=1.0 <2.0",
  "dependencies": [{"packId": "rtracer.domain.air", "version": "2.1.0"}],
  "vocabularies": ["sha256:..."],
  "schemas": ["sha256:..."],
  "contexts": ["sha256:..."],
  "shapes": ["sha256:..."],
  "mappings": ["sha256:..."],
  "migrations": ["sha256:..."],
  "fixtures": ["sha256:..."],
  "privacyProfile": "rtracer.privacy.vehicle/v1",
  "license": "SPDX-expression-or-private-policy-ref",
  "publisherRef": "party:rtracer-pack-council",
  "manifestDigest": "sha256:...",
  "signatureRef": "proof:..."
}
  • Packs can add namespaced terms, schemas, constraints, forms, projections and adapters; they cannot redefine identity, time, evidence, rights or append-only semantics.
  • Dependencies are deterministic, acyclic and locked per configuration/export. Conflicts fail explicitly.
  • Manufacturer, club, regulator and tenant packs may remain private while mapping to shared concepts.
  • Bridge packs compose road+marine, air+space, RC+competition or mobile-base+tool semantics without copying either parent.
  • Unknown pack payloads and terms must round-trip byte-for-byte with their schema/digest metadata.

#24.5 API surface and write discipline

SurfaceContract
POST /recordsAppend typed record with mandatory Idempotency-Key; same key/different bytes is equivocation
GET /entities/{id}/timelineBitemporal validAt/knownAt history with policy-filtered claims and conflicts
GET /configurations/{id}Immutable graph, pack lock, digest and predecessor/diff
GET /entities/{id}/graphsTyped system/relationship traversal by kind, configuration and as-of time
POST /identity-resolution/candidatesCandidate set and evidence; never an automatic merge
POST /actions/proposalsCreate inert proposal; policy evaluation and confirmation are separate
POST /actions/{id}/authorizationsAppend scoped grant/approval evaluation
POST /actions/{id}/receiptsAppend execution and outcome evidence
POST /imports and /exportsPreserve source artifact, license, mappings, loss manifest, pack lock and receipt
GET /schemas, /vocabularies, /packsContent-addressed registry retrieval without runtime remote resolution
GET /event-streamPolicy-filtered events; transport envelope never replaces canonical record

#24.6 Security threat model

ThreatRequired control
VIN/serial/MAC cloningOpaque root identity; identifier conflicts; never authenticate or merge from an external identifier
Telemetry spoof/replayDevice identity, producer sequence, nonce/window, digest, calibration, clock quality and anomaly appraisal
Social agent reaches controlsSeparate networks, credentials, API namespaces and grants; physical-control grant null by construction
Prompt injection in uploadsAll external text/media/telemetry inert; fixed skills; no command execution from content
Malicious domain packSigned digest, namespace isolation, local review, constrained validators, dependency and fixture checks
Schema/context SSRFOffline pinned registries; remote resolution disabled; size and recursion limits
Canonicalization ambiguityReject duplicate keys, invalid Unicode/numbers and representation equivocation before signing
Ledger/idempotency equivocationSame ID/key with different canonical bytes quarantined and alerted
Cross-tenant/location inferenceField/edge policy, delay/coarsening, non-leaking errors and aggregation review
Privilege persists after transferEpoch-based grants revoked/reissued on ownership, custody, team or persona change
Maintenance/odometer fraudConflicting claims retained, source/custody evidence, meter lineage and appraisal policy
Auction manipulationImmutable bids, trusted time, eligibility, anti-sybil/rate controls and settlement receipts
Synthetic-media launderingTruth-lane enforcement, edit lineage, content credentials where available and disclosure
Parser/archive/telemetry DoSByte/depth/count/decompression limits, quotas and separate high-volume ingestion
Update/supply-chain attackSigned artifact, build/dependency provenance, target compatibility, secure activation and rollback
Confidential data in logsOpaque IDs, structured redaction, no VIN/name/location/prompt/telemetry labels

#24.7 Cumulative conformance levels

LevelCapabilityExit proof
L0 PreserveStore/export unknown signed records and namespaced extensionsByte/semantic round trip with no coercion
L1 KernelEntity, record, bitemporal claims, evidence, identifiers and deterministic replayConflict and correction fixtures pass
L2 LifecycleConfiguration, components, graphs, maintenance, modification, continuity and role relationshipsAs-operated history reconstructs
L3 MeasurementQuantities, uncertainty, calibration, telemetry manifests, time sync and test evidenceRaw-to-derived lineage reproduces
L4 Governed agentPrivacy projections, persona, grounded content, grants and receiptsNo unsupported factual post or physical path
L5 Market/registryAppraisal, listing, offers, bids, auction, transaction and licensed adaptersAuthority, eligibility and settlement fixtures pass

Conformance is cumulative; domain-pack badges are orthogonal, such as L3 + marine, L4 + RC/model or L5 + EU-road. Physical-control safety certification is never implied by an RTracer level.

#24.8 Migration and release protocol

  1. Publish the immutable target schema, context, shapes, vocabulary and pack manifest with digests/signatures.
  2. Classify compatibility and publish deterministic upcaster, optional downcaster and explicit information-loss manifest.
  3. Run positive, negative, adversarial, round-trip and corpus fixtures; lock migration implementation digest.
  4. Deploy read-time adapters and build a shadow projection from original records.
  5. Compare old/new projections, conflicts, privacy and performance; resolve divergence before new writes.
  6. Activate the new write version while retaining old readers for the declared support window.
  7. Issue migration receipts; never rewrite original record bytes or silently relabel historical terms.
  8. Deprecate identifiers with replacement mappings; keep retired definitions resolvable forever.

#24.9 Operational observability

AreaMetrics / alerts
Ingestionlatency, schema/shape failures, missing refs, digest/signature failures, idempotency conflicts and quarantine
Semanticsunknown terms, mapping loss, conflict-set growth, pack resolution and projection divergence
Telemetry/evidencedropout, clock drift, chunk collision, artifact digest failure, calibration expiry and storage loss
Privacy/rightspermission denials, redaction failures, location-policy tests, expired grants and transfer revocation
Agentsource coverage, creative disclosure, human edit/approval, correction rate and proposal-to-receipt completion
Marketbid rejection, eligibility, close-time, reserve, settlement mismatch, refunds and disputes
Migrationshadow mismatch, up/downcast loss, replay determinism and unknown-extension round trip

#24.10 Explicit non-goals

  • one final taxonomy or inheritance tree for every vehicle
  • replacement of government registries, licensed history providers, certification bodies or legal title systems
  • automatic truth from signatures, confidence, popularity, AI output or a single provider
  • identity inference from VIN, serial, MAC, token, plate or image similarity alone
  • real-time safety-critical control bus or cross-domain autonomy certification
  • raw telemetry in the semantic graph or precise public location by default
  • automatic transfer of persona, voice, followers, private data, franchise, media or sale authority with ownership
  • ontology inference as authorization or arbitrary tool execution from persona-generated text
  • blockchain, token or decentralized-ID dependency in the kernel
  • guaranteed lossless mapping of every proprietary, local or future scheme
  • treating people or animals as components, property or unconsented telemetry payloads