textual-notation-of-model/packages/methods/de4sdv/de4sdv_trace_vocabulary.sysml
0 view(s) · 44 declared member(s)
Source
1/*2 * DE4SDV trace vocabulary: the connection definitions and records that trace3 * engineering elements along the method chain.4 *5 * - DerivesFromNeed: a requirement derives from a stakeholder need.6 * - allocatedTo: a requirement, function or logical element is allocated to a7 * function, logical element or physical element (native allocations).8 * - hasValidationScenario: a stakeholder need has a planned validation9 * scenario.10 * - hasRegulatorySource: a requirement has a controlled regulatory source.11 * - ComputeNodeAllocationElement and SoftwareToNodeAssignment: phase 812 * compute-node (ECU/controller) placement and software-to-node assignment13 * vocabulary (structural assignment only, not deployment or execution).14 *15 * The relation records declare each relationship's predicate, connection16 * definition, mechanism, strength, endpoint classes and inverse; the17 * retirement records name the retired relationship names and why they are18 * refused. The served trace contract is built from these records. Endpoint19 * class pins come from the generated projection layers, not from file paths in20 * this model, and every pin resolves through an ingestion-validated source file21 * and declaration, never by name. An allocation records a responsibility22 * assignment only: it asserts no satisfaction, transitivity, execution,23 * fulfillment, deployment or compliance.24 */25package DE4SDV_TraceVocabulary {26 private import ScalarValues::*;27 private import DE4SDV_MethodContext::*;28 private import DE4SDV_OperationalContext::*;2930 /* Requirement derivation discriminator: DE4SDV application connection31 * definition. A requirement usage connected as derivedRequirement32 * originates from the stakeholder need connected as need. The typed ends33 * carry the predicate's domain and range; the definition documentation34 * carries its native direction, claim strength, and claim boundary.35 * Design-input provenance only — no satisfaction, implication,36 * verification, evidence, or acceptance claim. */3738 connection def DerivesFromNeed {39 private doc ontologyDefinition /* DE4SDV application connection definition for design-input derivation: the40 * derivedRequirement originates from the stakeholder need. Provenance/traceability41 * semantics only - neither satisfaction nor logical implication between the connected42 * usages is claimed. The typed connection ends (need : StakeholderNeedCandidate,43 * derivedRequirement : RequirementCandidate) carry the predicate's domain and range in44 * the model itself. The standard Requirement Derivation Domain Library remains pinned45 * but unadopted: its originalImpliesDerived semantics change the claim (upstream46 * adoption gate still applies; no floating upgrade, no upstream contact without47 * authorization). */48 end need : StakeholderNeedCandidate;49 end derivedRequirement : RequirementCandidate;50 doc /* Design-input provenance: the derivedRequirement originates from51 * the stakeholder need. Native direction: need -> derivedRequirement.52 * Claim strength: derivation (provenance only: neither satisfaction53 * nor logical implication between the connected usages; no54 * allocation, verification, evidence, or acceptance claim). */55 }5657 action def AllocatableFunction {58 doc /* Functional responsibility identity for this versioned allocation profile. */59 }60 part def LogicalAllocationElement {61 doc /* Technology-neutral logical responsibility grouping. */62 }63 part def PhysicalAllocationElement {64 doc /* Concrete software, hardware or platform realization element; allocation is not deployment. */65 }66 part def ComputeNodeAllocationElement {67 doc /* Hardware compute node (ECU or controller) that software may be assigned to in phase 8. Declared in an E/E realization package (PhysicalEERealization), never in a software realization (PhysicalSoftwareRealization). Typing alone asserts no software assignment, deployment, execution or compliance. */68 }69 allocation def SoftwareToNodeAssignment {70 end source : PhysicalAllocationElement;71 end target : ComputeNodeAllocationElement;72 doc /* Assigns a physical/software realization element (source) to a compute node (target) declared in an E/E realization. Distinct from importing the node, which only grants visibility to refer to it. Responsibility/placement structure only: no deployment, execution, runtime scheduling, safety isolation or compliance claim; deployedTo stays retired. */73 }74 part def ValidationPlanningScenario :> Scenario {75 doc /* Stakeholder fitness-for-use validation planning only; not a native verification case, execution, result or acceptance. */76 }77 part def ControlledRegulatorySource {78 doc /* Controlled external origin reference that informed requirement engineering. Interpretation, applicability, obligations, required conditions, evidence and authorized compliance assessment are separate. */79 attribute sourceIdentifier : String;80 attribute sourceRevision : String;81 attribute sourceLocation : String;82 }8384 connection def RequirementFunctionAssignment {85 end source : RequirementCandidate;86 end target : AllocatableFunction;87 doc /* Profile end-pair carrier only. Executable allocatedTo facts require actual native AllocationUsage responsibility assignments. No redundant dependency is required. */88 }89 connection def FunctionLogicalAssignment {90 end source : AllocatableFunction;91 end target : LogicalAllocationElement;92 doc /* Profile end-pair carrier only; actual native allocations supply the witness. */93 }94 connection def LogicalPhysicalAssignment {95 end source : LogicalAllocationElement;96 end target : PhysicalAllocationElement;97 doc /* Responsibility assignment only, not deployment or observed operation. */98 }99 connection def ValidationPlanningAssociation {100 end source : StakeholderNeedCandidate;101 end target : ValidationPlanningScenario;102 doc /* One validation planning association. Inverse navigation is the same fact, not execution or a fitness-for-use verdict. */103 }104 connection def RegulatorySourceAssociation {105 end source : RequirementCandidate;106 end target : ControlledRegulatorySource;107 doc /* Source provenance only. Does not add a required satisfaction condition or establish applicability, correct interpretation, fulfillment, certification or homologation. Historical constrainedBy was provenance, never a native required constraint. */108 }109110 comment allocatedToVocabularyRole about RequirementFunctionAssignment, FunctionLogicalAssignment, LogicalPhysicalAssignment /* Successor111 * definition: one canonical allocatedTo predicate. A native AllocationUsage112 * assigns responsibility from its source usage to its target usage for113 * exactly one governed end pair: requirement to function, function to114 * logical element, or logical element to physical element. Endpoint115 * classes come from the validated kernel bindings of the endpoint lineage,116 * never from usage or allocation names. Allocation proves no satisfaction,117 * execution, deployment, fulfillment or transitivity; it is not a118 * composed requirement-to-architecture realization. The superseded names119 * are realizedBy and deployedTo, and the former Function-to-LogicalElement120 * signature is the second end pair of this version. */121122 comment hasValidationScenarioVocabularyRole about ValidationPlanningAssociation /* Successor123 * definition: a stakeholder need has a planned validation scenario. One124 * typed ValidationPlanningAssociation records the planning fact;125 * validationScenarioFor is inverse navigation over the same fact. It126 * records planning only: no execution, result, fitness-for-use verdict,127 * completed validation or stakeholder acceptance. Supersedes validatedBy128 * and merges validatesFitnessForUse. */129130 comment hasRegulatorySourceVocabularyRole about RegulatorySourceAssociation /* Successor131 * definition: a requirement has a controlled regulatory source, recorded132 * as requirement-source provenance only. Applicability, interpretation,133 * binding requirements or required conditions, fulfillment evidence and134 * authorized compliance assessment remain distinct; provenance neither135 * makes an applicable obligation optional nor proves compliance.136 * Supersedes constrainedBy. */137138 part def TraceRelationRecord {139 attribute predicate : String;140 attribute carrier : String;141 attribute mechanism : String;142 attribute strength : String;143 attribute sourceClass : String;144 attribute targetClass : String;145 attribute sourceUsage : String;146 attribute targetUsage : String;147 attribute inverse : String;148 }149 part def RetiredRelationRecord {150 attribute predicate : String;151 attribute reason : String;152 }153 part def TraceVocabularyVersionRecord {154 attribute version : String;155 attribute supersedes : String;156 }157 part version : TraceVocabularyVersionRecord {158 attribute :>> version = "de4sdv.relationship-successor/v1";159 attribute :>> supersedes = "Function-to-LogicalElement allocatedTo signature; historical provenance constrainedBy; stronger realizedBy/deployedTo active claims";160 }161162 part requirementAllocation : TraceRelationRecord {163 attribute :>> predicate = "allocatedTo";164 attribute :>> carrier = "RequirementFunctionAssignment";165 attribute :>> mechanism = "native-allocation";166 attribute :>> strength = "allocation";167 attribute :>> sourceClass = "Requirement";168 attribute :>> targetClass = "Function";169 attribute :>> sourceUsage = "RequirementUsage";170 attribute :>> targetUsage = "ActionUsage";171 attribute :>> inverse = "";172 }173 part functionAllocation : TraceRelationRecord {174 attribute :>> predicate = "allocatedTo";175 attribute :>> carrier = "FunctionLogicalAssignment";176 attribute :>> mechanism = "native-allocation";177 attribute :>> strength = "allocation";178 attribute :>> sourceClass = "Function";179 attribute :>> targetClass = "LogicalElement";180 attribute :>> sourceUsage = "ActionUsage";181 attribute :>> targetUsage = "PartUsage";182 attribute :>> inverse = "";183 }184 part physicalAllocation : TraceRelationRecord {185 attribute :>> predicate = "allocatedTo";186 attribute :>> carrier = "LogicalPhysicalAssignment";187 attribute :>> mechanism = "native-allocation";188 attribute :>> strength = "allocation";189 attribute :>> sourceClass = "LogicalElement";190 attribute :>> targetClass = "PhysicalElement";191 attribute :>> sourceUsage = "PartUsage";192 attribute :>> targetUsage = "PartUsage";193 attribute :>> inverse = "";194 }195 part validationPlanning : TraceRelationRecord {196 attribute :>> predicate = "hasValidationScenario";197 attribute :>> carrier = "ValidationPlanningAssociation";198 attribute :>> mechanism = "typed-connection";199 attribute :>> strength = "validation-planning";200 attribute :>> sourceClass = "Need";201 attribute :>> targetClass = "ValidationScenario";202 attribute :>> sourceUsage = "RequirementUsage";203 attribute :>> targetUsage = "PartUsage";204 attribute :>> inverse = "validationScenarioFor";205 }206 part regulatoryProvenance : TraceRelationRecord {207 attribute :>> predicate = "hasRegulatorySource";208 attribute :>> carrier = "RegulatorySourceAssociation";209 attribute :>> mechanism = "typed-connection";210 attribute :>> strength = "source-provenance";211 attribute :>> sourceClass = "Requirement";212 attribute :>> targetClass = "RegulatorySource";213 attribute :>> sourceUsage = "RequirementUsage";214 attribute :>> targetUsage = "PartUsage";215 attribute :>> inverse = "";216 }217218 part oldRealization : RetiredRelationRecord {219 attribute :>> predicate = "realizedBy";220 attribute :>> reason = "Retired stronger active claim; native responsibility assignments use allocatedTo without fulfillment.";221 }222 part oldDeployment : RetiredRelationRecord {223 attribute :>> predicate = "deployedTo";224 attribute :>> reason = "Retired stronger active claim; no deployment assertion is invented.";225 }226 part oldRegulatoryName : RetiredRelationRecord {227 attribute :>> predicate = "constrainedBy";228 attribute :>> reason = "Historical source provenance, not native required conditions; controlled-source successor is hasRegulatorySource, not an alias.";229 }230 part oldValidationForward : RetiredRelationRecord {231 attribute :>> predicate = "validatedBy";232 attribute :>> reason = "Planning successor is hasValidationScenario; no validation result implied.";233 }234 part oldValidationInverse : RetiredRelationRecord {235 attribute :>> predicate = "validatesFitnessForUse";236 attribute :>> reason = "Inverse planning navigation is validationScenarioFor over the same association; not a fitness-for-use verdict.";237 }238}239