textual-notation-of-model/packages/methods/de4sdv/de4sdv_increment_workflow.sysml

0 view(s) · 102 declared member(s)

The increment workflow: one step per method phase, typed by a step definition whose parameters are the artifacts it reads and produces. A MethodCheck usage inside a step definition, about one of its parameters, states a rule that a deterministic evaluation checks. A check result is not a conformance, acceptance, compliance or certification claim.

Source

1/* DE4SDV increment workflow: method steps, their artifacts and their checks.2 * Source: methodologies/sysmod-sysmlv2/increment-workflow.md, which states the3 * method rules the checks below implement. */4package DE4SDV_IncrementWorkflow {5  doc /* The increment workflow: one step per method phase, typed by a step6       * definition whose parameters are the artifacts it reads and produces. A7       * MethodCheck usage inside a step definition, about one of its parameters,8       * states a rule that a deterministic evaluation checks. A check result is9       * not a conformance, acceptance, compliance or certification claim. */1011  doc RequiredTraceChainOntologyDefinition /* The ordered trace chain every substantial increment should establish, even if some12   * links are draft: stakeholder concern, need, requirement, feature (for a varying13   * requirement only; a core requirement has none), architecture element,14   * logical-to-software signal mapping when a boundary is crossed,15   * physical/software realization, verification case, acceptance criterion, evidence16   * artifact, baseline decision. Intentionally missing links are recorded as gaps. */17  comment about RequiredTraceChainOntologyDefinition /* Historical vocabulary, kept for compatibility. It defines no18   * universal completion policy: each increment's charter and its native traces govern19   * instead. */2021  doc TraceLinkOntologyDefinition /* A relationship connecting source, rationale, requirement, model, evidence, or baseline22   * artifacts. */23  comment about TraceLinkOntologyDefinition /* Historical vocabulary, kept as documentation only: not a24   * string-endpoint record and not a completion witness. */2526  doc IncrementTraceabilityShellOntologyDefinition /* The traceability structure connecting an increment to its sources and downstream27   * artifacts. */28  comment about IncrementTraceabilityShellOntologyDefinition /* Historical vocabulary, kept as documentation only: no29   * string-shell record is reintroduced; IncrementTraceObligations and the native30   * relationships represent an increment's traces. */3132  private import ScalarValues::*;33  private import DE4SDV_MethodProcess::*;34  private import DE4SDV_MethodContext::*;35  private import DE4SDV_Stakeholders::*;36  private import DE4SDV_ProductLine::ProductLineCharacteristic;37  private import DE4SDV_TraceVocabulary::AllocatableFunction;38  private import DE4SDV_TraceVocabulary::LogicalAllocationElement;39  private import DE4SDV_TraceVocabulary::PhysicalAllocationElement;40  private import DE4SDV_TraceVocabulary::ComputeNodeAllocationElement;41  private import DE4SDV_TraceVocabulary::SoftwareToNodeAssignment;42  private import DE4SDV_ProductLine::ProductLineConfiguredProduct;4344  metadata def MethodCheck {45    doc /* A method rule about one parameter of a step definition. Its subjects are46         * the increment's elements that conform to that parameter's type and scope;47         * their number must lie within the parameter's multiplicity, and an empty48         * population with lower bound 0 means the check does not apply. A parameter49         * typed by a function, logical or physical element class counts the scope at50         * any depth and the elements the increment's own allocations name. Principle:51         * structural checks block; judgment checks (wording, verifiability) are advisory. */52    attribute check : String {53      doc /* Check identifier in the evaluation registry; an unknown identifier fails closed. */54    }55    attribute minimum : Natural default 1 {56      doc /* Minimum number of qualifying targets per subject. */57    }58    attribute advisory : Boolean default false {59      doc /* True: a failure is reported but never blocks the step. */60    }61  }6263  part def IncrementTraceObligations {64    doc /* Scope declaration of an increment's trace obligations: the increment65         * and its applicable phases. Required traces derive from the checks66         * that the workflow steps of those phases declare, not from67         * candidate-selected easy checks. The traces themselves are the68         * increment's native model relationships (owning membership, typing,69         * requirement subject and stakeholder membership, framed concerns),70         * never parallel reference slots in this declaration. Populating this71         * declaration is not completion evidence.72         * Reuse prior artifacts, preserve R/F/L/P, and do not invent realization73         * or execution for early framing. Missing required traces block the74         * exit of the phase they belong to unless an authorized visible75         * disposition permits it, such as a step parameter whose multiplicity76         * allows none. Unsupported or unavailable evaluation stays UNASSESSED,77         * never synthetic PASS. */78    ref part increment : EngineeringIncrement;79    attribute applicablePhases[*] : MethodPhase;80  }8182  part def IncrementCharter :> IncrementTraceObligations {83    doc /* Charter declaration of one increment: the inherited increment reference and84         * applicable phases, plus the plain attributes owner, expected artifacts and85         * expected review evidence, and the system of interest by reference. The86         * expected artifacts name the top-level packages the checks evaluate; content87         * elsewhere is never evaluated. The rest of the charter is native content of88         * the increment package. */89    attribute owner : String;90    attribute expectedArtifacts : String[1..*];91    attribute expectedReviewEvidence : String[1..*];92    ref part systemOfInterest[0..1] {93      doc /* The system of interest: the entity the increment's needs and requirements94           * take as subject, never the increment itself. An increment sets it by95           * reference to a usage (ref part :>> systemOfInterest = <usage>;) or by type96           * (ref part :>> systemOfInterest : <Definition>;). A subject matches it when97           * it is, narrows, or is typed by that usage's definition or a specialization98           * of it: the match is type-level, so another usage of the definition also99           * matches. */100    }101    action workflow : IncrementWorkflow {102      doc /* The workflow this increment follows; an increment may tailor it later by redefinition. */103    }104  }105106  abstract action def IncrementStep {107    doc /* One step of the increment workflow; phase is the method phase it performs. */108    attribute phase : MethodPhase;109  }110111  action def IncrementWorkflow {112    doc /* The steps of one increment in method order. Framing always applies; a later113         * step applies when the charter lists its phase in the applicable phases. The114         * increment ends at its baseline decision: rework iterates the same increment,115         * and a new increment starts only from a new engineering question, at framing.116         * The pattern follows SYSMOD's SYSMODDefaultProcess without specializing it;117         * formal alignment with SYSMOD comes later. */118    first start;119    then action frameIncrement : FrameIncrement;120    then action frameConcerns[0..1] : FrameConcerns;121    then action specifyOperationalContext[0..1] : SpecifyOperationalContext;122    then action classifyCapabilities[0..1] : ClassifyCapabilities;123    then action elaborateNeeds[0..1] : ElaborateNeeds;124    then action specifyRequirements[0..1] : SpecifyRequirements;125    then action defineFunctionalArchitecture[0..1] : DefineFunctionalArchitecture;126    then action defineLogicalArchitecture[0..1] : DefineLogicalArchitecture;127    then action definePhysicalRealization[0..1] : DefinePhysicalRealization;128    then action defineVariabilityAndConfiguration[0..1] : DefineVariabilityAndConfiguration;129    then action planVerificationAndEvidence[0..1] : PlanVerificationAndEvidence;130    then action decideBaseline[0..1] : DecideBaseline;131    then done;132133    flow from frameIncrement.problemStatement to elaborateNeeds.problemStatement;134    flow from frameConcerns.concerns to elaborateNeeds.concerns;135    flow from elaborateNeeds.needs to specifyRequirements.needs;136    flow from specifyRequirements.requirements to planVerificationAndEvidence.requirements;137  }138139  action def FrameIncrement :> IncrementStep {140    doc /* What are we changing or learning? Rule: every increment is declared with a141         * short identifier and a charter: problem statement, engineering question,142         * lifecycle decision, at least one assumption, stakeholder and viewpoint-framed143         * concern, scope and out-of-scope, and owner; it declares which phases apply.144         * Owner, expected artifacts and expected review evidence are plain attributes.145         * The expected artifacts name the packages the checks evaluate. Advisory: they146         * name every package holding increment content. */147    attribute :>> phase = MethodPhase::phase0_incrementFraming;148    out part increment : EngineeringIncrement;149    out part charter : IncrementCharter;150    out requirement problemStatement : ProblemStatement;151    out part engineeringQuestion : IncrementEngineeringQuestion;152    out part lifecycleDecision : IncrementLifecycleDecision;153    out part assumptions[1..*] : IncrementAssumption;154    out part scope : IncrementScope;155    out part outOfScopeItems[1..*] : OutOfScopeItem;156    out concern framedConcerns[1..*];157158    metadata incrementHasIdentifier : MethodCheck about increment {159      doc /* Exactly one increment usage carries the increment identifier as its short name; no registry claim. */160      :>> check = "incrementShortName";161    }162    metadata incrementHasCharter : MethodCheck about charter {163      doc /* Exactly one charter declaration references the increment; declaration only, not completion evidence. */164      :>> check = "charterReferencesIncrement";165    }166    metadata incrementHasProblemStatement : MethodCheck about problemStatement {167      doc /* Exactly one problem statement in the increment package has a native subject typed by the increment definition. */168      :>> check = "problemStatementSubject";169    }170    metadata incrementHasEngineeringQuestion : MethodCheck about engineeringQuestion {171      doc /* The increment package owns its engineering question; no claim that it is answered. */172      :>> check = "ownedByIncrementPackage";173    }174    metadata incrementHasLifecycleDecision : MethodCheck about lifecycleDecision {175      doc /* The increment package owns its lifecycle decision; a baseline decision of phase 11 does not count. No decision or acceptance claim. */176      :>> check = "ownedByIncrementPackage";177    }178    metadata incrementHasAssumption : MethodCheck about assumptions {179      doc /* The increment package owns at least one assumption; recorded, not validated. */180      :>> check = "ownedByIncrementPackage";181    }182    metadata incrementHasStakeholder : MethodCheck about problemStatement {183      doc /* The problem statement has a native stakeholder member; no assignment or authority claim. */184      :>> check = "stakeholderMember";185    }186    metadata incrementHasFramedConcern : MethodCheck about framedConcerns {187      doc /* A concern of the increment package is framed by a viewpoint of a view of that package. */188      :>> check = "framedByIncrementView";189    }190    metadata incrementHasScope : MethodCheck about scope {191      doc /* The increment package owns exactly one scope; no completeness claim. */192      :>> check = "ownedByIncrementPackage";193    }194    metadata incrementHasOutOfScopeItem : MethodCheck about outOfScopeItems {195      doc /* The increment package owns at least one out-of-scope item; no completeness claim. */196      :>> check = "ownedByIncrementPackage";197    }198    metadata incrementHasOwner : MethodCheck about charter {199      doc /* The charter carries one non-empty owner; no authority claim. */200      :>> check = "charterOwner";201    }202    metadata incrementDeclaresApplicablePhases : MethodCheck about charter {203      doc /* The charter declares at least one applicable MethodPhase; not a completion claim. */204      :>> check = "charterApplicablePhases";205    }206    metadata incrementDeclaresExpectedArtifacts : MethodCheck about charter {207      doc /* The charter lists at least one expected artifact; no existence claim. */208      :>> check = "charterExpectedArtifacts";209    }210    metadata incrementDeclaresExpectedReviewEvidence : MethodCheck about charter {211      doc /* The charter lists at least one expected review evidence item; no review outcome claim. */212      :>> check = "charterExpectedReviewEvidence";213    }214    metadata expectedArtifactsCoverIncrementContent : MethodCheck about charter {215      doc /* Advisory: the expected artifacts name every top-level package holding increment content:216           * the increment usage, elements connected by DerivesFromNeed to an element in scope,217           * verification cases verifying an in-scope requirement, requirements verified by an218           * in-scope verification case, allocations from an element in scope, and elements219           * referencing the increment usage. Content in a package they do not name is never220           * evaluated. No completeness claim. */221      :>> check = "charterExpectedArtifactsCoverContent";222      :>> advisory = true;223    }224  }225226  action def FrameConcerns :> IncrementStep {227    doc /* Who cares and why? Rules: at least one concern of the increment is228         * not typed by IncrementBoundaryConcern or a specialization of it. A229         * boundary concern alone is insufficient. Each concern has a native230         * stakeholder member, and a viewpoint of a view of the increment frames231         * it, by its own frame or by a frame of the viewpoint definition it is232         * typed by. A concern names as its stakeholders the parties whose233         * interest it states, not only the reviewers who will inspect the views234         * that answer it. The views of the increment are the views its packages235         * own, as in phase 11. The stakeholders are the native stakeholder236         * members of the concerns, the problem statement and the needs; no237         * check counts stakeholder parts. These are structural gates, not a238         * completeness or adequacy assessment of stakeholder coverage or239         * viewpoint selection. */240    attribute :>> phase = MethodPhase::phase1_concernFraming;241    in requirement problemStatement : ProblemStatement;242    out part stakeholders[1..*] : Stakeholder;243    out concern concerns[1..*];244245    metadata incrementHasNonBoundaryConcern : MethodCheck about concerns {246      doc /* At least one concern of the increment is not typed by IncrementBoundaryConcern or any247           * specialization of it. Boundary concerns may remain; no claim of complete stakeholder or248           * risk coverage, viewpoint-selection adequacy or review acceptance. */249      :>> check = "nonBoundaryConcernPresent";250    }251    metadata concernHasStakeholder : MethodCheck about concerns {252      doc /* Each concern of the increment has a native stakeholder member; no assignment or authority claim. */253      :>> check = "stakeholderMember";254    }255    metadata concernFramedByViewpoint : MethodCheck about concerns {256      doc /* Each concern of the increment is framed by a viewpoint of a view of the increment; no claim that the view addresses the concern. */257      :>> check = "framedByViewpoint";258    }259  }260261  action def SpecifyOperationalContext :> IncrementStep {262    doc /* What happens in the world? Rules: a member product's operational263         * context and story hold System 1 roles only; bench, reviewer and264         * evidence roles belong to the engineering and assurance system. Each265         * use case of the story binds its subject to the system of interest266         * and each actor to a context part around it. The context's own267         * systemOfInterest is the system of interest the charter declares. The268         * story is every use case the increment's packages own at any depth.269         * The checks read the context and the bindings of those use cases.270         * Review judges the roles: the kernel classifies no role as System 1 or271         * System 2. */272    attribute :>> phase = MethodPhase::phase2_operationalContext;273    in requirement problemStatement : ProblemStatement;274    out part operationalContext : SystemContext;275276    metadata incrementHasOperationalContext : MethodCheck about operationalContext {277      doc /* The increment has exactly one operational context; the count is the rule, no completeness claim. */278      :>> check = "populationMember";279    }280    metadata operationalContextHoldsSystemOfInterest : MethodCheck about operationalContext {281      doc /* The operational context redefines its systemOfInterest with the system of interest the charter declares, by usage, narrowing, binding or type lineage; no completeness claim. */282      :>> check = "contextSystemOfInterest";283    }284    metadata storyBindsSubjectToSystemOfInterest : MethodCheck about operationalContext {285      doc /* Each use case of the increment binds its subject to the operational context's system of interest; no claim about what the story says. */286      :>> check = "storySubjectBound";287    }288    metadata storyBindsActorsToContextParts : MethodCheck about operationalContext {289      doc /* Each actor of each use case of the increment is bound to a part of the operational context around its system of interest; no claim that a role is a System 1 role. */290      :>> check = "storyActorsBound";291    }292  }293294  action def ClassifyCapabilities :> IncrementStep {295    doc /* Which characteristics distinguish member products? Rule: the step296         * records only the feature-model delta, the feature candidates the297         * increment adds, and product-line scope it defers, such as a gap. The298         * delta may be empty. Core elements are common by default and get no299         * record; constraints go to the requirements and evidence to V&V. */300    attribute :>> phase = MethodPhase::phase3_capabilityClassification;301    in part operationalContext : SystemContext;302    out part characteristics[0..*] : ProductLineCharacteristic;303304    metadata characteristicIsFeatureDelta : MethodCheck about characteristics {305      doc /* Each product-line characteristic of the increment is a feature candidate or deferred product-line scope; a common-capability record is no feature-model delta. No claim that a candidate distinguishes member products. */306      :>> check = "featureDeltaOnly";307    }308  }309310  action def ElaborateNeeds :> IncrementStep {311    doc /* What stakeholder needs exist and how will the needs be validated?312         * Rules: each need has a statement, at least one stakeholder, an313         * ODE4HERA source and rationale, and at least one planned validation314         * scenario. Needs are elaborated from the concerns that viewpoints315         * frame and trace to them through stakeholder, source and rationale. A316         * need's stakeholders are the parties whose interest it states, those317         * the system of interest serves. A role that only reviews, verifies or318         * approves the need does not hold it; that role belongs to the need's319         * planned validation. An engineering role holds a need when the system320         * of interest provides something the role uses in its own work. A need321         * doesn't frame a concern: it would then be satisfied only when the322         * whole concern is addressed, while a need usually covers only part of323         * one. Advisory: a need takes the system of interest the charter324         * declares as subject, never the increment. */325    attribute :>> phase = MethodPhase::phase4_needs;326    in requirement problemStatement : ProblemStatement;327    in concern concerns[0..*];328    out requirement needs[1..*] : StakeholderNeedCandidate;329330    metadata needHasStatement : MethodCheck about needs {331      doc /* Each need owns a require constraint as its statement; no wording or verifiability claim. */332      :>> check = "requireConstraint";333    }334    metadata needHasStakeholder : MethodCheck about needs {335      doc /* Each need has a native stakeholder member; no assignment or authority claim. */336      :>> check = "stakeholderMember";337    }338    metadata needHasSource : MethodCheck about needs {339      doc /* Each need carries one non-empty ODE4HERA source; no source-correctness claim. */340      :>> check = "sourceAttribute";341    }342    metadata needHasRationale : MethodCheck about needs {343      doc /* Each need carries one non-empty ODE4HERA rationale; no soundness claim. */344      :>> check = "rationaleAttribute";345    }346    metadata needHasValidationScenario : MethodCheck about needs {347      doc /* Each need has a planned validation scenario association; planning only, no validation result. */348      :>> check = "hasValidationScenario";349    }350    metadata needSubjectIsSystemOfInterest : MethodCheck about needs {351      doc /* Advisory: each need's subject is the system of interest the charter declares (matched by its usage or its definition's lineage), never the increment; no satisfaction claim. */352      :>> check = "subjectIsSystemOfInterest";353      :>> advisory = true;354    }355  }356357  action def SpecifyRequirements :> IncrementStep {358    doc /* What shall the system or product line do and how will those requirements be359         * verified? Rules: only DerivesFromNeed traces a requirement to a need, plain360         * dependencies do not count; a requirement has a statement, exactly one native361         * subject and one primary verification method of the standard kinds. Advisory:362         * a requirement's subject is the system of interest the charter declares, never363         * the increment; a requirement states its success criteria. A requirement364         * varies with the features that bring its system of interest into a member365         * product. By the owner's decision of 2026-11-14 (rule-5 option A), the shared366         * assets are one superset: an element is in every member product unless one367         * link, owned in the feature-model document, binds it. The element carries368         * nothing.369         * A PLEML FeatureBinding binds an element that one feature brings, the element370         * as client. Bind the system of interest once; its requirements follow it. A371         * requirement gets its own link only for what its subject does not bring, and372         * a link that repeats its subject's does not earn its place. An element that373         * by itself needs an application and a middleware follows the adapter that374         * the derivation rules derive for the pair. This is the owner's decision of375         * 2026-11-15: one link of the derivation vocabulary names the derived variant,376         * which names every premise of its rule. An element carries at most one link,377         * and a combination that neither form covers goes to the owner. A requirement378         * whose subject has no link, and that has none of its own, is core. The379         * configuration evaluator reads both forms. Until it does and the existing380         * links have moved, the dependency form governs: a dependency of the381         * requirement or of its system of interest on the feature, on a variant bound382         * to it or derived from it, or on that variant's definition, or the typing of383         * the system of interest by such a definition, declared outside the384         * feature-model and configuration documents. Several of them name all their385         * features, and no check reads them. */386    attribute :>> phase = MethodPhase::phase5_requirements;387    in requirement needs[0..*] : StakeholderNeedCandidate;388    out requirement requirements[1..*] : RequirementCandidate;389390    metadata requirementHasStatement : MethodCheck about requirements {391      doc /* Each requirement owns a require constraint as its statement; no wording or verifiability claim. */392      :>> check = "requireConstraint";393    }394    metadata requirementDerivesFromNeed : MethodCheck about requirements {395      doc /* Each requirement derives from a need through DerivesFromNeed only; provenance, no satisfaction claim. */396      :>> check = "derivesRequirementFromNeed";397    }398    metadata requirementHasOneSubject : MethodCheck about requirements {399      doc /* Each requirement has exactly one native subject; no satisfaction claim. */400      :>> check = "oneNativeSubject";401    }402    metadata requirementSubjectIsSystemOfInterest : MethodCheck about requirements {403      doc /* Advisory: each requirement's subject is the system of interest the charter declares (matched by its usage or its definition's lineage), never the increment; no satisfaction claim. */404      :>> check = "subjectIsSystemOfInterest";405      :>> advisory = true;406    }407    metadata requirementHasVerificationMethod : MethodCheck about requirements {408      doc /* Each requirement records exactly one of inspect, demo, test or analyze; planning only, no result. */409      :>> check = "oneVerificationMethodKind";410    }411    metadata requirementStatesSuccessCriteria : MethodCheck about requirements {412      doc /* Advisory: each requirement states its success criteria; a test-verdict criterion, no verdict or acceptance claim. */413      :>> check = "successCriteriaAttribute";414      :>> advisory = true;415    }416  }417418  action def DefineFunctionalArchitecture :> IncrementStep {419    doc /* What functions, flows, states, and interfaces are needed? Rules: the420         * increment has at least one function, and each functional requirement of421         * the increment is allocated to at least one function by a native allocation422         * (allocatedTo); plain dependencies do not count. Advisory: each requirement423         * of the increment, functional or not, is allocated to a function or named as424         * relevant by an architecture element (hasRelevantArchitecture); one that is425         * neither is reported with what else holds it, an allocation that does not426         * count or its verification; each function carries a requirement. The427         * increment's functions are the AllocatableFunction usages its packages own428         * at any depth and the functions its own allocations name. An allocation429         * assigns responsibility only; flows, states and interfaces are not checked. */430    attribute :>> phase = MethodPhase::phase6_functionalArchitecture;431    in requirement requirements[0..*] : RequirementCandidate;432    in requirement functionalRequirements[0..*] : FunctionalRequirementCandidate;433    out action functions[1..*] : AllocatableFunction;434435    metadata functionalRequirementAllocatedToFunction : MethodCheck about functionalRequirements {436      doc /* Each functional requirement of the increment is allocated to at least one function; a responsibility assignment only, no satisfaction, realization or verification claim. */437      :>> check = "allocatedTo";438    }439    metadata incrementHasFunction : MethodCheck about functions {440      doc /* The increment has at least one function; the count is the rule, no completeness or necessity claim. */441      :>> check = "populationMember";442    }443    metadata requirementCarriedByArchitecture : MethodCheck about requirements {444      doc /* Advisory: each requirement of the increment, functional or not, is allocated to a function or named as relevant by an architecture element (hasRelevantArchitecture); one that is neither is reported with what else holds it: an allocation that grounds in no end pair, its verification alone, or no verification case yet. No satisfaction claim. */445      :>> check = "carriedByArchitecture";446      :>> advisory = true;447    }448    metadata functionCarriesRequirement : MethodCheck about functions {449      doc /* Advisory: each function of the increment receives an allocation from a requirement; no necessity or completeness claim. */450      :>> check = "receivesAllocation";451      :>> advisory = true;452    }453  }454455  action def DefineLogicalArchitecture :> IncrementStep {456    doc /* What technology-independent logical elements realize the functions? Rules:457         * each function of the increment is allocated to at least one logical element458         * (allocatedTo). The increment's logical elements are the459         * LogicalAllocationElement usages its packages own at any depth and the ones460         * its own allocations name. Advisory: each logical element carries a function.461         * Exchanges and interfaces are not checked. */462    attribute :>> phase = MethodPhase::phase7_logicalArchitecture;463    in action functions[1..*] : AllocatableFunction;464    out part logicalElements[1..*] : LogicalAllocationElement;465466    metadata functionAllocatedToLogicalElement : MethodCheck about functions {467      doc /* Each function of the increment is allocated to at least one logical element; a responsibility assignment only, no realization or transitivity claim. */468      :>> check = "allocatedTo";469    }470    metadata logicalElementCarriesFunction : MethodCheck about logicalElements {471      doc /* Advisory: each logical element of the increment receives an allocation from a function; no necessity or completeness claim. */472      :>> check = "receivesAllocation";473      :>> advisory = true;474    }475  }476477  action def DefinePhysicalRealization :> IncrementStep {478    doc /* What software, hardware, deployment, or tool elements realize the system479         * design? Phase 8 has two kinds of realization package. The software480         * realization, a package whose name ends in PhysicalSoftwareRealization, holds481         * the software, the platforms it runs on (operating systems, hypervisors,482         * virtual machines, bench hosts) and its deployment. The E/E realization, a483         * package whose name ends in PhysicalEERealization, holds the vehicle's484         * electrical/electronic topology: ECUs and controllers as network nodes, buses485         * and links, the frames on them, connectors and I/O. The physical/software486         * realization is phase 8 with both kinds. An ECU or controller that software487         * runs on is declared in the E/E realization; the software realization imports488         * it and does not declare it again. An import lets the software realization489         * refer to the ECU. It does not assign software to the ECU: assigning a490         * physical/software realization element to a compute node uses a typed491         * SoftwareToNodeAssignment allocation (source PhysicalAllocationElement to492         * target ComputeNodeAllocationElement), which records responsibility/placement493         * structure only and claims no deployment, execution or runtime behavior494         * (deployedTo stays retired). The allocation checks of phase 8 read physical495         * elements from both kinds alike, by their type in the packages the charter496         * names and among the targets of the increment's own allocations. The497         * compute-node checks read ComputeNodeAllocationElement declarations at any498         * depth in the charter's packages and among the targets of the increment's own499         * SoftwareToNodeAssignment allocations (owner decision of 2026-11-28): each500         * compute node is declared in a package whose name ends in501         * PhysicalEERealization (never in PhysicalSoftwareRealization) and is declared502         * once (both blocking); each SoftwareToNodeAssignment has a503         * PhysicalAllocationElement source and a ComputeNodeAllocationElement target504         * declared in a PhysicalEERealization package (blocking); advisory, each505         * compute node reports whether a SoftwareToNodeAssignment assigns software to506         * it or whether software realizations only import it to refer to it. Phase 8507         * packages merged before this rule keep their names and their content. An508         * increment with no E/E topology has only a software realization. No kind509         * exists for mechanical elements until an increment has them inside its510         * boundary. Rules: each logical element of the increment is allocated to at511         * least one physical element (allocatedTo). The increment's physical elements512         * are the PhysicalAllocationElement usages its packages own at any depth and513         * the ones its own allocations name. Advisory: each physical element carries a514         * logical element. Advisory, the system-to-software signal-mapping control: a515         * physical element that realizes a logical element and has a port with a516         * directed feature, of its own, of its definition, of a feature it narrows or517         * of a connected port, is a crossing, and each logical element it realizes has518         * a SystemToSoftwareSignalMappingCandidate allocation, owned by a package of519         * the increment, to a physical element of the increment that realizes it or a520         * port of one, whose LogicalToSoftwareSignalMappingRecords each state a521         * disposition, an owner and a next action, and when notApplicable why; each522         * record of a signal mapping states the semantic source, or the item at its523         * port is VSS-typed. An allocation is no deployment, execution or runtime524         * claim, and a mapping no runtime-interoperability claim; the525         * realization-readiness control stays with review. */526    attribute :>> phase = MethodPhase::phase8_physicalRealization;527    in part logicalElements[1..*] : LogicalAllocationElement;528    out part physicalElements[1..*] : PhysicalAllocationElement;529    out allocation signalMappings[0..*] : SystemToSoftwareSignalMappingCandidate;530    out part computeNodes[0..*] : ComputeNodeAllocationElement;531    out allocation nodeAssignments[0..*] : SoftwareToNodeAssignment;532533    metadata logicalElementAllocatedToPhysicalElement : MethodCheck about logicalElements {534      doc /* Each logical element of the increment is allocated to at least one physical element; a responsibility assignment only, no deployment, execution or runtime claim. */535      :>> check = "allocatedTo";536    }537    metadata physicalElementCarriesLogicalElement : MethodCheck about physicalElements {538      doc /* Advisory: each physical element of the increment receives an allocation from a logical element; no necessity or completeness claim. */539      :>> check = "receivesAllocation";540      :>> advisory = true;541    }542    metadata crossingHasSignalMapping : MethodCheck about physicalElements {543      doc /* Advisory: each crossing has a system-to-software signal mapping whose record states a disposition, an owner and a next action; a control record, no runtime-interoperability claim. */544      :>> check = "signalMappingRecorded";545      :>> advisory = true;546    }547    metadata signalMappingNamesSemanticSource : MethodCheck about signalMappings {548      doc /* Advisory: each record of a signal mapping states the semantic source, or the item at the mapping's port is typed by a VSS signal (COVESA VSS or the DE4SDV extensions); no claim that the item is or is not a vehicle signal. */549      :>> check = "semanticSourceNamed";550      :>> advisory = true;551    }552    metadata computeNodeDeclaredInEERealization : MethodCheck about computeNodes {553      doc /* Each compute node is declared in an E/E realization package (whose name ends in PhysicalEERealization), never in a software realization; structural placement only, no deployment or runtime claim. */554      :>> check = "computeNodeDeclaredInEERealization";555    }556    metadata computeNodeDeclaredOnce : MethodCheck about computeNodes {557      doc /* Each compute node is declared once; a second declaration of the same node is refused; structural uniqueness only, no completeness claim. */558      :>> check = "computeNodeDeclaredOnce";559    }560    metadata softwareToNodeAssignmentValid : MethodCheck about nodeAssignments {561      doc /* Each SoftwareToNodeAssignment assigns a PhysicalAllocationElement (source) to a ComputeNodeAllocationElement (target) declared in a PhysicalEERealization package; placement structure only, no deployment, execution or runtime claim. */562      :>> check = "softwareToNodeAssignmentValid";563    }564    metadata computeNodeHasSoftwareAssignment : MethodCheck about computeNodes {565      doc /* Advisory: each compute node reports whether a SoftwareToNodeAssignment assigns a physical/software element to it or whether software realizations only import it to refer to it; an import grants visibility only and is not software assignment. */566      :>> check = "computeNodeSoftwareAssignment";567      :>> advisory = true;568    }569  }570571  action def DefineVariabilityAndConfiguration :> IncrementStep {572    doc /* How does this vary across member products or configurations? Rules:573         * the increment declares at least one configured product, and exactly574         * one feature configuration configures each. A configuration575         * configures it when one of its part usages, its own or inherited and576         * not redefined, is typed by the part definition of that577         * configuration's product-model projection, bound by validated578         * identity, or by a specialization of it. A redefining part without a579         * type of its own keeps the type it redefines. A specialization that580         * adds System 2 instrumentation, such as a test article, is a581         * configured product of its own increment and never a member. No582         * check reads the variation points yet. */583    attribute :>> phase = MethodPhase::phase9_variabilityConfiguration;584    in part physicalElements[0..*];585    out part variationPoints[0..*];586    out part configuredProducts[1..*] : ProductLineConfiguredProduct;587588    metadata incrementHasConfiguredProduct : MethodCheck about configuredProducts {589      doc /* The increment declares at least one configured product; no runtime or membership claim. */590      :>> check = "populationMember";591    }592    metadata configuredProductConfiguredByOneConfiguration : MethodCheck about configuredProducts {593      doc /* Exactly one feature configuration configures each configured product of the increment, by the derivation rule of configuredBy; no validity, admission or membership claim. */594      :>> check = "configuredByOneConfiguration";595    }596  }597598  action def PlanVerificationAndEvidence :> IncrementStep {599    doc /* How will requirement satisfaction and stakeholder fitness-for-use be checked?600         * Rules: each verification case verifies a requirement of the increment, and601         * every in-scope requirement is verified by a verification case. Advisory: an602         * evidence record or status per case. */603    attribute :>> phase = MethodPhase::phase10_vvEvidence;604    in requirement requirements[0..*] : RequirementCandidate;605    out verification verificationCases[1..*];606607    metadata verificationCaseVerifiesRequirement : MethodCheck about verificationCases {608      doc /* Each verification case verifies a requirement of the increment; no result, evidence or acceptance claim. */609      :>> check = "verifiesIncrementRequirement";610    }611    metadata requirementVerifiedByVerificationCase : MethodCheck about requirements {612      doc /* Each in-scope requirement is verified by a verification case; no result, evidence or acceptance claim. */613      :>> check = "verifiedBy";614    }615    metadata verificationCaseHasEvidenceRecordOrStatus : MethodCheck about verificationCases {616      doc /* Advisory: each verification case has an evidence record or status; no adequacy or acceptance claim. */617      :>> check = "evidenceRecordOrStatus";618      :>> advisory = true;619    }620  }621622  action def DecideBaseline :> IncrementStep {623    doc /* What is accepted, deferred, or invalidated, and which published views show624         * it? Rules: the increment publishes at least one view; each view of the625         * increment has a viewpoint that frames a concern, and the view, or a view626         * it owns, exposes model content. The views of the increment are the views627         * its packages own, not views that a part or another view owns. The628         * increment has exactly one baseline decision, and it states its629         * disposition. Each open gap of the increment states the disposition that630         * the baseline decision gives it. Each record states its own disposition;631         * a value that only its definition sets does not count. The record of a632         * resolved gap leaves the model, so every gap of the increment is open.633         * The typing identifies the baseline decision, never a name, and no check634         * reads the baseline register. Advisory: each applicable phase with635         * content has at least one of its elements in a view of the increment,636         * and each concern typed by an SAF concern definition is framed by a637         * viewpoint of a view of the increment whose definition is an SAF638         * viewpoint definition of the concern's SAF domain. The checks judge639         * the model only. The pull request, its review and the640         * rendered diagrams are judged outside the model: CI checks the diagrams641         * and the view index, review the rest. */642    attribute :>> phase = MethodPhase::phase11_baseline;643    in part charter : IncrementCharter;644    in concern concerns[0..*];645    out view publishedViews[1..*];646    out part baselineDecision : IncrementBaselineDecision;647    out part openGaps[0..*] : IncrementGap;648649    metadata publishedViewFramesConcern : MethodCheck about publishedViews {650      doc /* Each view of the increment has a viewpoint, of its own or of its definition, that frames a concern; no claim that the view addresses the concern. */651      :>> check = "viewpointFramesConcern";652    }653    metadata publishedViewExposesContent : MethodCheck about publishedViews {654      doc /* Each view of the increment, or a view it owns at any depth, exposes model content; no rendering, publication or review claim. */655      :>> check = "exposesModelContent";656    }657    metadata incrementHasBaselineDecision : MethodCheck about baselineDecision {658      doc /* The increment has exactly one baseline decision; the count is the rule, no acceptance claim. */659      :>> check = "populationMember";660    }661    metadata baselineDecisionStatesDisposition : MethodCheck about baselineDecision {662      doc /* The baseline decision states its disposition (accepted, deferred or invalidated); no acceptance, evidence status or verdict claim. */663      :>> check = "dispositionStated";664    }665    metadata openGapStatesDisposition : MethodCheck about openGaps {666      doc /* Each open gap of the increment states the disposition that the baseline decision gives it; no claim that the gap is resolved. */667      :>> check = "dispositionStated";668    }669    metadata applicablePhaseContentPublished : MethodCheck about charter {670      doc /* Advisory: each applicable phase whose checks have subjects among its outputs has at least one of them in a671           * view of the increment: exposed by the view or a view it owns, or the view itself. Exposure is read from the672           * expose relationships, without filters; no rendering, review or completeness claim. */673      :>> check = "phaseContentPublished";674      :>> advisory = true;675    }676    metadata concernAnsweredInItsDomain : MethodCheck about concerns {677      doc /* Advisory: a concern typed by an SAF concern definition is framed by a viewpoint of a view of the increment678           * whose definition is an SAF viewpoint definition of the same SAF domain. The domain is the specialization of679           * the abstract domain definitions of SAF_Viewpoints, read by identity. A frame by a viewpoint of another680           * domain or of none is not refused; no claim that a view answers its concern adequately. */681      :>> check = "concernAnsweredInDomain";682      :>> advisory = true;683    }684  }685}686