Home Contact
Universal Substratev1.4
/
For agents Markdown

27. Immutable configuration graph and capability compiler

A configuration is a content-addressed declaration of installed occurrences, material state, software/calibration, ports, connections and controlled effectivity. It is neither the engineering design nor every millisecond of operating state. The capability…

Concept & directionLNK

A configuration is a content-addressed declaration of installed occurrences, material state, software/calibration, ports, connections and controlled effectivity. It is neither the engineering design nor every millisecond of operating state. The capability compiler evaluates a configuration together with health, resources, environment, authority and mode; it never stores capability as an unqualified vehicle boolean.

#27.1 ConfigurationSnapshot v1

Table
Immutable configuration snapshot - illustrative JSON
{
  "configurationId": "cfg:sha256:...",
  "assetId": "018f...aa",
  "predecessorIds": ["cfg:sha256:previous"],
  "creatingEventId": "record:modification-execution",
  "effective": {"start": "2026-07-22T10:00:00Z", "end": null},
  "packLock": [{"packId": "rtracer.domain.road", "version": "2.1.0", "digest": "sha256:..."}],
  "nodes": [{"occurrenceId": "occ:...", "definitionRef": "part:...", "identityRef": "entity:..."}],
  "edges": [{"kind": "installedAt", "from": "occ:...", "to": "slot:rear-axle", "effectivity": "true"}],
  "software": [{"artifactRef": "artifact:...", "targetController": "occ:ecu-1", "activationState": "active"}],
  "calibrations": [{"artifactRef": "artifact:...", "targetFeature": "feature:steering"}],
  "configurationDigest": "sha256:..."
}

#27.2 Typed graph families

GraphAllowed cyclesCritical constraints
physical compositionnoOne node cannot contain itself; exclusive placements cannot overlap in valid time
structural/load pathonly if mechanically meaningful and declaredPorts, direction, load cases, limits and test evidence compatible
energy/resource flowyesTyped form/carrier, direction, conversion, recovery and protection; no free-energy derivation
fluid/material flowyesSubstance compatibility, pressure/temperature, containment and contamination constraints
data/communicationyesProtocol/profile, trust zone, direction, bandwidth, latency, integrity and availability
control/commandyes with arbitrationFunction scope, controller authority, feedback, safety partition and fallback
thermalyesSource/sink, conduction/convection/radiation relation, limits and operating state
kinematic/jointyes for closed chainsDegrees of freedom, limits, frames, actuators, singularities and solver profile
functional dependencyyesDependency type, mode, minimum multiplicity, degraded alternatives and proof
temporary assembly/formationno containment mergeMembers retain identity; coupling, membership and command roles time-bounded

#27.3 Port compatibility contract

Port familyCompatibility dimensionsConnection adds
mechanicalgeometry/mating profile, load axes, fastener/coupler, stiffness, clearance, environmentconnection load envelope and inspection evidence
electrical powervoltage/frequency/phase/current, polarity, connector, isolation, grounding, fault levelprotection coordination and energy direction
fluidsubstance family, size, pressure, temperature, flow direction, seal/material compatibilitypurity, leakage and contamination controls
dataphysical/link/application profile, addressing, schema, bandwidth, latency, security and versiongateway transformations and loss manifest
controlcommand/feedback semantics, rate, authority, safe state, watchdog and arbitrationimplementation lock and independent safety boundary
optical/RF/acousticband, power, aperture, modulation, field of view, timing and interference limitsjurisdiction, exposure and coexistence constraints
payload/toolretention, pose/frame, loads, service ports, release method and hazard classpayload identity, mission grant and separation state
human/biologicalfit, contact pressure, hygiene, accessibility, consent and emergency releaseperson remains principal/beneficiary, never component property

#27.4 Effectivity expression and three-valued evaluation

Table
Effectivity evaluator contract
applies(node_or_edge, context) -> TRUE | FALSE | UNKNOWN | ERROR

Expression := allOf | anyOf | not | compare | present | versionRange |
              timeRange | jurisdictionIn | modeIn | configurationHas |
              packTermMatches | quantityWithin | relationshipExists

Rules:
  UNKNOWN never authorizes, installs, removes or releases an item.
  ERROR quarantines the affected compilation path.
  Evaluation receipt binds expression digest, context record IDs,
  evaluator version, result and unresolved inputs.

#27.5 Capability compilation

  1. Select the exact configuration, operating mode, mission phase, domain/environment, location and valid/known time.
  2. Match capability definitions whose structural, interface, software, calibration and pack requirements are realized.
  3. Evaluate health, fault, maintenance, resource, payload, communication, weather and infrastructure preconditions.
  4. Evaluate legal/organizational approval and function-scoped actor authority separately from physical availability.
  5. Resolve mutually exclusive modes, dependencies, alternatives, degradations and arbitration constraints.
  6. Emit designed, realized, available, authorized and engaged states independently with explanations and input IDs.
  7. Cache only under the digest of configuration, context, compiler, policy, pack lock and source checkpoint; otherwise recompute.
Table
No giant capability bitset
A bitset cannot explain whether towing, hovering, autonomous docking, filming or bidding is possible for this configuration, actor, environment and moment. Capability results are derived records with a proof graph, not identity attributes.

#27.6 Configuration diff and merge

OperationRequired semanticsInvalid shortcut
add occurrencenew occurrence ID, definition/instance identity, placement, ports, effectivity and evidenceCopying a part row without provenance
remove occurrenceremoved occurrence, reason, disposition, meters/condition and effective timeDeleting it from history
replacelinked remove+add, equivalence/substitution basis, serial/lot transfer and testsMutating serial number in place
move/reorientold/new placement and frame transform; evaluate connection/load changesChanging coordinates without event
connect/disconnecttyped ports, compatibility result, procedure, checks and evidenceImplicit relation inferred from proximity
software/calibrationold/new artifact, target, activation, compatibility, approval, rollback and testEditing a current-version string
material/consumablequantity balance, batch/mixture provenance, location and resulting stateTreating fuel or paint as reusable component
branch/mergemultiple predecessor snapshots, conflict resolution, independent source historiesLast-write-wins snapshot merge