WorksEngineering
Contract-Based Agentic Systems Engineering: Delegation as Quotient for Assured System Design
Abstract
A component an agent builds from a prompt can satisfy it and still break the system it joins, because the prompt omits what its neighbours assume of it. The artifact to hand over is computed, not written. A SysML v2 requirement with assumed and required constraints is an assume/guarantee contract, so when a system requirement is decomposed over fixed neighbours, the open component's requirement is the contract quotient, the weakest sound one, and again a SysML v2 requirement. Its required constraints carry the neighbours' assumptions, which a requirement for the mission alone drops and unit tests with mocked neighbours cannot reach. Signal Temporal Logic is closed under the quotient. We build the requirements, with derivation, allocation, satisfaction and verification, as a SysML~v2 model and compute the quotient from it. A case study delegates the local controller of a simulated warehouse robot, whose route crosses a worker's path and ends at a dock, to one language model under the quotient requirement, a mission-only requirement and a natural-language task, and scores the deliveries on live episodes against the system requirement from ground truth.
Correspondence
Funding information
This work was partially supported by the Lockheed Martin Chair in Systems Engineering and the NVIDIA Academic Grant Program using NVIDIA RTX PRO 6000 Blackwell GPUs and the NVIDIA DRIVE AGX Thor Developer Kit.
Code availability
C-BASE: https://github.com/SEIL-ISR/cbase
Introduction
Requirement-driven model-based systems engineering (MBSE) establishes a framework for organizing a system’s requirements and architecture in a single model. Requirements are then decomposed, allowing each system requirement to traverse down the architectural hierarchy to the components that must satisfy it. In SysML v2, a requirement is a model element with a subject, assumed constraints, and required constraints, and the model relates it to the architecture and to the evidence by derivation, allocation, satisfaction, and verification [15]. The components themselves are often designed by different parties, as when a prime contractor hands subsystems to suppliers under specifications and interface control documents. Each party receives a requirement that an engineer wrote by hand from the architecture, causing key missing functionality to be discovered at integration.
To elucidate the necessity of integration-aware constraints at the component level, we consider the development of a robot’s autonomy stack. The perception component of a mobile robot in a warehouse environment transforms camera images and lidar scans into the positions of nearby people, localization estimates the robot’s pose, a planner computes a feasible path, a local controller turns this into speed and turning commands, and an actuator executes them. We consider an autonomy stack with every component fixed except for the local controller, the implementation of which is delegated to a designer.
Each fixed component delivers assured output under an assumed condition on its environment. In closed-loop execution, such environmental properties are directly influenced by the behavior of the delegated component. In formal contract-based design, constraints on the operational environmental are referred to as the component’s assumption, and the output it then delivers under the premise that the assumptions are met is referred to as the guarantee [2, 3]. In the mobile robot autonomy stack, perception reports a person’s position within its stated error only while the robot turns slowly enough for the camera image and the lidar scan to line up, and the actuation follows a command only below its designated saturation. Both assumptions therefore constrain the commands of the local controller. The requirements for the local controller rarely states these assumptions explicitly, so a controller can meet its local requirements and still break a neighbor’s assumption, resulting in the system failing despite every component meeting its own specification. Unit tests that replace the neighbors with ideal stand-ins do not exercise such a failure, as an ideal stand-in has no assumption that the controller could break.
We consider designers that are generative agents, by which we mean a large language models that write a component’s operational code or selects its design from a task statement and revises it on feedback from tests. Agent toolkits for robotics already let an agent choose a robot’s tools and policies and let a language model write function bodies that automated checks accept or reject [16]. Such an agent designs exactly against the prompt it is handed. What the agent learns in training carries no knowledge of the contracts of a particular architecture, such specifications human engineers learn in design reviews. It is also capable of delivering candidates faster than an integration team can investigate, so an omission in the task statement is more likely to reach integration.
We argue that the requirement handed to a designer should be computed from the architecture model. SysML v2 reads a requirement as an implication, so that if all its assumed constraints hold, all its required constraints must hold [15]. Contract theory calls this an assume/guarantee contract in saturated form, under which a component owes nothing when a behavior breaks its assumption. A contract refines another when it accepts every environment the other accepts and promises no less. Delegation then poses the missing component problem of contract-based design, which asks for a requirement on the missing component whose composition with the fixed components’ contracts refines the system contract. We call such a requirement sound. Every implementation of a sound requirement composes with the fixed components into a system that meets the system requirement in every environment it admits, so the architecture is correct by construction. The contract quotient [10] of the system contract by the fixed components’ contracts is the most permissive sound requirement, so handing it over leaves the designer every implementation that any sound requirement allows. Its required constraints include the fixed components’ assumptions, which we call preservation obligations and which a requirement for the mission alone leaves out. Because the quotient is itself a SysML v2 requirement, the requirement derived from it can replace the hand-written one in the architecture model, with a derivation from the system requirement and an allocation to the missing component. The contract theory we build on does not fix the formalism in which constraints are written [3]. To model robot behavior we write them in Signal Temporal Logic (STL) [12], which is closed under the quotient and whose robustness semantics [8] scores every run by a signed margin. An engineer could write the neighbors’ assumptions into a task statement by hand, but the quotient computes them and updates them when the neighbors’ contracts change § 6.6. Figure 1 shows our framework for contract-based agentic systems engineering (C-BASE), which carries a delegation from the SysML v2 architecture model through the quotient, a language model and a harness to live evidence that it writes back into the model.
Figure 1. The C-BASE architecture. The orchestrator agent is responsible for contact organization and delegation. A delegate contract is computed via the quotient operation and the unimplemented behavior is then shipped as a work order to the design agent. A candidate component is then subject to verification. Upon satisfaction of the local behaviors derived from the quotient contract, a candidate component is integrated into the system. If the overall system with the delegated component satisfies the system-level contract, it is accepted into the overall system design.
The omission leads to integration failure in two ways. In the first, the delegated component treats a reported value as exact and current and so ignores a tolerance in a neighbor’s guarantee. The engineer guards against this by strengthening the quotient into a requirement over the controller’s observables (the signals it can see) that budgets every tolerance, and the contract kernel of C-BASE checks that this requirement refines the quotient. In the second, the delegated component breaks a neighbor’s assumption, which the preservation obligations forbid. Figure 2 shows both mechanisms in our case study, in which a warehouse robot must cross a leg of open floor and rest at a dock while keeping 0.40 m from a crossing worker. The delegated local controller maps the pose, the path, the lidar scan and the person points to a speed and a yaw rate, while perception, localization and the drive stay fixed. We make three
Figure 2. Since the most recent observation, reported with error , the robot has moved by up to and the person’s nearest point has closed in by up to , so the true clearance can breach 0.40 m while the reported does not. (b) The controller relies on perception, localization and the drive, and each of them assumes a bound on the yaw rate the controller commands.
contributions.
A delegation theory in the requirement semantics of SysML v2. Delegation poses the missing component problem, and the quotient of SysML v2 requirements solves it with a SysML v2 requirement that is the most permissive sound one, so the architecture is correct by construction. A requirement that omits the neighbors’ assumptions is unsound because it admits implementations that break the system, and no unit-test harness with ideal stand-ins for the neighbors can tell these implementations apart from sound ones. A refinement lemma makes the strengthening onto observables sound, and a tick-by-tick reading of live episodes, which counts a failure against a component only while its assumption has held, relates live scoring to the theorems (§ 3 and § 4).
C-BASE holds a delegation’s requirements in a SysML v2 model. Its contract kernel computes the quotient and checks the engineer’s strengthening onto observables. C-BASE then hands the result to a language model as its task, admits the deliveries in a unit-test harness with stand-ins for the neighbors and scores them live (§ 5).
A case study on a simulated warehouse robot whose local controller is delegated under the quotient-derived requirement, the mission-only requirement or a natural-language task. The fixed components are held to their contracts first, and the first failure of each live violation is attributed to its conjunct and owner (§ 6 and § 6.4).
Related Work
Integrated Data-Driven and Model-Based Systems Engineering (IDDMBSE) extends the MBSE V-process for autonomous cyber-physical systems with a data-driven loop at every step [1]. Its tool chain maps SysML architectures to executable ROS autonomy stacks and combines formal, data-driven and runtime verification. When we reformulate IDDMBSE in SysML v2, requirements become first-class model elements with assumed and required constraints which relates them to the architecture by derivation, allocation, satisfaction and verification [15]. Syside is a SysML v2 tool distribution from the vendor Sensmetry, with an editor and a modeler that validate models against the language’s rules, a compiler that evaluates their expressions and a Python API to them (Vaicenavičius et al., 2025). The ros2-sysmlv2 library defines the elements of a ROS 2 system in the language [6]. In this flow an engineer writes each component’s requirement, and verification checks the design against it. We compute one component’s requirement from the others’ and keep it in the SysML v2 model, derived from the system requirement.
Computing one component’s requirement from the others’ is the missing component problem, which goes back to submodule construction for communication protocols [13]. Interface automata made a component’s assumptions about its environment part of its interface [7], and assume/guarantee contracts divide the responsibility for a behavior between a component and its environment [2]. AGREE checks that the contracts written for the components of an AADL architecture model compose to the contract of the system [5]. The meta-theory of contracts of Benveniste et al. [3] treats assumptions and guarantees as assertions in a Boolean algebra. For assume/guarantee contracts the quotient solves the missing component problem, and Incer Romeo et al. [10] gave it in closed form for saturated contracts. Pacti computes the quotient for contracts whose assertions are polyhedral constraints [9].
Generative models now write both the architecture model and the components it describes. SysTemp generates SysML v2 models from a natural-language specification with a team of language-model agents, and a parser’s error report goes back to the writing agent until the model passes the grammar [4]. The generated model carries the requirements that the specification states, and the parser checks its syntax. Strands Robots builds a robot autonomy stack by agentic design, much as we do: an agent picks the robot tools and policies, and in the companion AI Functions a language model writes a function’s body, while checks run on what the agent returns [16]. Those checks are tool schemas, postconditions, success predicates over the simulator state and a model acting as judge, not assume/guarantee contracts with a composition and quotient calculus. No architecture model holds the components either, so nothing in the toolkits derives a component’s requirement from the system’s or checks that the neighbors’ assumptions are preserved.
Requirements as Contracts
Assume/Guarantee Contracts
We use the assume/guarantee contracts of Benveniste et al. [3]. A behavior is a signal that assigns a value to every system variable at every time in , and one episode of the running example is one behavior. An assertion is a subset of the set of behaviors, with union, intersection and complement written , and . We identify a component with the assertion of the behaviors it can exhibit, so components compose by intersection.
Definition 1 (refinement, composition, quotient). For saturated contracts and , refinement is iff and ; composition is ; and the quotient [10] is
Proposition 2 (universal property of the quotient, Incer Romeo et al. [10]). For every saturated contract , if and only if , and is saturated. The quotient is therefore the largest contract whose composition with refines .
Proof. Saturation holds because the guarantee contains the complement of the assumption. We prove the direction that Theorem 9 uses, from refinement of the quotient to refinement of the composition; the other direction is in Incer Romeo et al. [10]. Let and write . We show and . First, , the second inclusion by saturation of . Second, for a behavior , either , so , or and , which forces and hence .
SysML v2 Requirements
A SysML v2 requirement definition declares a subject, actors for the entities in its environment, and assumed and required constraints (clauses 7.21.1 and 7.21.2). “The effective constraint for the requirement is then a logical implication: if all the assumption constraints are true, all the required constraints must be true” (7.21.2, 8.4.17.1) (Object Management Group [15]). This implication holds on exactly the traces in , so a requirement definition with assumed constraints and required constraints denotes the saturated contract . In the architecture model of § 5 the subject of every requirement definition is an episode trace (§ 3.4), and the environment’s behavior is stated in the assumed constraints. A satisfy relationship (7.21.4) claims that the episode trace it names lies in the saturated guarantee, and a verification case (7.24) records the evidence for that claim in its verdict. The claim quantifies over every episode can produce, so drawn episodes cannot establish it, and Theorem 15 bounds instead the probability that produces a violating episode under the operating distribution.
SysML v2 defines no composition or quotient of requirements. Its Refinement metadata marks a dependency without contract semantics (9.3.2.2.3), and specialization is not refinement, since a specialized requirement definition may add assumed constraints and so accept fewer environments. We therefore apply the operations of Theorem 1 to the contracts that requirements denote, and because every saturated contract is denoted by a requirement definition, the quotient of two requirements is again a requirement.
Signal Temporal Logic as the Assertion Language
Let collect the real-valued variables of a behavior at time . STL formulas (Maler and Nickovic [12]) are generated by , where is the atomic predicate . The bounded until holds at when holds at some and holds throughout . Eventually is , and always is . A formula denotes the set of signals that satisfy it at , with every interval intersected with . The robustness of Fainekos and Pappas [8] is a signed margin: a positive robustness implies that satisfies at , and a negative one that it violates it. § 3.4 gives its form on sampled traces.
Proposition 3 (closure). If and are STL contracts over a common signal space, then and are STL contracts, with formulas obtained by substituting the constituent formulas into Theorem 1. Hence every requirement derived from STL contracts by repeated composition and quotient is an STL contract.
Proof. The operations of Theorem 1 are Boolean combinations of their operands, and the grammar is closed under negation and conjunction.
Sampled Fragment and Scoring Semantics
A trace samples one episode at its control ticks , which in the case study are 0.05 s apart on average. Some signals at a tick are computed from a window of the record before it. The signal is the age of the observation in hand times the largest speed commanded during that age (Table 1), and another is the largest over the 2.0 s before a stop. We treat these window signals as coordinates of , so every atom is affine in , although an atom that contains is nonlinear in the recorded data. In the case study every declared contract (the system’s and each fixed component’s) assumes a safety formula and guarantees a conjunction of safety formulas with at most one bounded until . The formulas and are Boolean combinations of affine atoms, and and are conjunctions of affine atoms. The quotient is built from these formulas by Theorem 1, and the dispatched requirement (the quotient strengthened onto the controller’s observables, § 4.3) keeps its assumption. That assumption contains, for each fixed component , the implication from its assumption to its guarantee .
| Symbol | Meaning | Symbol | Meaning |
| true clearance now, robot body to nearest point of the person’s body; its smallest value up to the next tick | required clearance | ||
| true clearance at the observation time of the report in hand | , | tolerances of the drive’s displacement and of the person’s closing | |
| reported clearance, to the nearest reported person point | closing speed of the person’s body | ||
| age | time since the observation in hand was measured; gap the time from the tick to the next control tick | , | magnitudes of the commanded speed and yaw rate (, in the listings) |
| bound on in view, the perception error | , | position and heading error of the pose estimate | |
| largest commanded speed in effect over the age and the drive’s 0.15 s lag before it, times the age; the same with the age counted to the next tick | , | distance and heading error to the dock, true or estimated (, ; g_est in the listings) | |
| closing of the nearest body point on the robot’s position at the observation, up to the tick; up to the next tick | rest | the robot has been still for the settle time |
Table 1. Notation of the case study. Signals are read at a control tick; lengths in m, times in s, rates in m/s and rad/s.
On a trace the robustness of an atom at is , negation takes the negative, conjunction and disjunction take the minimum and the maximum, takes the minimum over the ticks, and the bounded until has the robustness
Every atom is a non-strict inequality, so at robustness zero an atom holds while its negation, also at robustness zero, does not. The robustness therefore cannot decide a verdict at zero, and the kernel takes each verdict from the Boolean semantics and reports the robustness beside it. The declared conjuncts contain no negation, so for them a robustness of zero or more is equivalent to satisfaction. A contract holds when every conjunct does. Verdicts are read at the ticks. To attribute a live failure, an integration engineer counts a guarantee’s failure against its component only if the component’s assumption held at every tick up to and including the tick that decides the failure. We score live verdicts in the same way.
Definition 4 (prefix reading) Let a contract assume , where a declared contract has no implications. On a trace, holds so far at a tick if has held at every tick up to it and, for each , has held at every tick up to it or has already failed. We write at a tick if has held so far at every tick up to and including it. A safety conjunct of the guarantee is decided violated at the first tick at which it fails. An until is decided satisfied at the first tick of its interval at which holds with held before. Otherwise it is decided violated at the first tick at which fails or at the end of its interval (the trace’s last tick no later than ). A conjunct decided violated is violated if holds at the deciding tick, same-tick if first fails there and vacuous if it failed earlier, and every other conjunct is satisfied. The contract’s verdict is the most severe verdict among its conjuncts, in the order violated, same-tick, vacuous, satisfied.
On the trace of a complete episode every conjunct is decided, and an until is pending only on the prefix of an episode still running. The rule for the implications follows the attribution of § 4.4.
Proposition 5 (prefix reading refines the implication) Let a contract with guarantee formula assume a conjunction of safety formulas . If its prefix verdict on a trace is not violated, the trace satisfies . If it is violated, the trace satisfies exactly when fails, and then fails after the deciding tick.
Proof. If holds, holds at every tick, so a conjunct decided violated would make the verdict violated. When the verdict is not violated, no conjunct is decided violated: each safety conjunct holds at every tick and each until is decided satisfied, so holds. If fails, the implication holds vacuously. A violated verdict has a conjunct decided violated, so fails and the implication holds exactly when fails. Then , which held at the deciding tick, fails at a later one.
For the quotient and the dispatched requirement the prefix reading departs from the whole trace on one kind of trace. We call a trace excused if it satisfies and some fails at a tick at which has held so far.
Theorem 6 (prefix reading of a delegated requirement) Let a contract with guarantee formula assume , with every a conjunct of . A violated prefix verdict relates to the whole trace as in Theorem 5. A prefix verdict that is not violated is a satisfied verdict on the whole trace unless the trace is excused. On an excused trace the whose failed fails later, so the contract is violated on the whole trace, while the prefix reading counts no failure decided at or after the first tick at which a fixed component’s guarantee fails with its assumption held so far.
Proof. At a tick at which has held so far, the -th implication holds so far only if has held so far. So holds at every tick exactly when holds at every tick and each at every tick at which has held so far. Such a trace satisfies , since under every tick is one at which has held so far. A trace that satisfies and is not excused is therefore one on which holds at every tick, and the proof of Theorem 5 applies to it, as it does to the violated verdicts and to the traces on which fails. On an excused trace fails, so forces to fail after the tick at which failed, and , which contains , fails while holds. There fails at the first tick at which some fails with held so far, and a conjunct decided violated from then on is same-tick or vacuous.
Theorems 5 and 6 carry the theorems of § 4 over to live evidence. The counts of violations under the two readings differ by the episodes whose assumption fails after a violation and, for the dispatched requirement, by the excused episodes without an earlier violation. The unit-test harness requires the assumption at every tick, so on the harness the two readings agree.
The evaluator is the case study’s program that scores an episode against the kernel’s conjuncts. The architecture model states every contract on the whole trace, and there its verdicts equal the evaluator’s (§ 5). Read up to the tick that decides each verdict, the model and the prefix reading differ only on excused traces (Theorem 6). They differ on 44 of 600 random synthetic traces and on 40 with a second seed, and on no trace of another kind. § 6 reports prefix verdicts.
Delegation as the Quotient
We write for the system requirement read as a contract and for the composition of the contracts of the fixed components, who we also call the slot’s siblings. The slot is the position of the missing component in the architecture. A delivery is a candidate implementation of the slot, and it is admitted when it satisfies its requirement on every scenario of a unit harness that mocks its neighbors (§ 5). Table 1 gives the notation of the case study.
The Missing Component Problem and Its Canonical Solution
Definition 7 (missing component problem) Given a system contract and the contracts of the fixed components, a requirement for the missing component is a saturated contract . It is sound if . The missing component problem asks for the most permissive sound requirement, that is, a sound requirement that every sound requirement refines.
Soundness is what we mean by correct by construction. Unfolded through § 3.1 and Theorem 1, it states that lies in the guarantee of for every environment and all implementations and .
Definition 8 (delegated contract) The delegated contract for the missing component is the quotient .
Corollary 9 (delegation is canonical) is sound, and every sound requirement refines it, so solves the missing component problem.
Proof Apply Theorem 2 with and . Taking in its equivalence gives , and for a sound the equivalence gives .
The corollary is the cited universal property read for delegation, and this reading is our contribution. Since implies , every implementation that some sound requirement allows is an implementation of .
Preservation Obligations
Let be the system contract, let be the stated pair of the -th fixed component’s contract, and write . By Theorem 1 the composition has the guarantee and the assumption . Under the quotient’s assumption is false, so
The conjuncts of are the preservation obligations, and a task statement that gives only the mission conjunct omits them. In the running example they are the three bounds on the controller’s yaw rate that perception, localization and the drive assume. Each bound is a condition on the controller’s own outputs, so a candidate can be checked against it with no neighbor in the loop.
Definition 10 (mission-only requirement). Let be the guarantee of the fixed components taken as ideal, under which every report they hand the missing component is exact and current and every other guarantee holds as stated. The mission-only requirement for the missing component is the saturation . Ideal reports meet every error bound, so .
Theorem 11 (mission-only requirement is unsound). Suppose a behavior exists that is system-legal (), lies outside the ideal (), breaks the assumption of every fixed component whose guarantee it violates ( for every ), and fails the mission (). Then there are an implementation , a fixed-component implementation , and a legal environment whose composition contains and so violates the system guarantee. In particular .
Proof. Take , the largest implementation of . Since , lies outside the mission-only assumption and so . Take , the guarantee of and so its largest implementation; by the third hypothesis. Take . Then and . The composite implements , and refinement would confine its system-legal behaviors to the system guarantee, so it fails.
A delegation under the mission-only requirement is therefore not correct by construction. The implementation of the proof is a set of behaviors and need not be causal (§ 4.4). The witness of § 6.5 is a causal controller on the live system that keeps its own requirement in episodes in which it breaks the system’s.
The hypothesis admits both mechanisms of § 1. Either keeps every fixed guarantee and leaves the ideal within their tolerances through a stale or erroneous report, or breaks a fixed component’s assumption and loses its guarantee. An engineer who assumes the advertised guarantees in place of the ideal budgets the tolerances by hand and removes the first mechanism. The proof uses only , so the theorem holds with in place of for every behavior of the second kind. Under C-BASE the tolerances enter through the fixed components’ guarantees in the quotient’s assumption, and the strengthening of § 4.3 budgets them, as the person margin of § 6.2 does. The preservation obligations are what the quotient adds beyond any budget of tolerances.
We call a unit-test harness any procedure that observes an implementation only through its behaviors in the ideal set and checks a formula on the traces it generates. Running against ideal mocks of the fixed components is such a procedure, and checking with it is the unit-test practice that the mission-only requirement formalizes.
Corollary 12 (unit-test blindness). A unit-test harness generates no behavior of the kind in Theorem 11, and it gives the same verdicts to two implementations that agree on . Under the hypothesis of Theorem 11, the implementation of its conclusion can be chosen to agree on with an implementation of , so no unit-test harness separates the two, whatever formula it checks and however many traces it runs. A unit-test harness that checks admits every implementation of , including those that break on its traces.
Proof. The behaviors of Theorem 11 satisfy and so lie outside , and the verdicts of a procedure that observes only on depend on . Let . Then , so , and since . The proof of Theorem 11 uses only these two facts about its implementation, so it holds with this . The assertion lies inside the guarantee of , so , and . For every the composite implements , which refines by Theorem 9, so its system-legal behaviors lie in the system guarantee. Finally, every implementation of has , whatever it does about , so a harness that checks on traces in admits it.
A check of can reject an implementation of only on traces outside , such as those produced by mocks held at their contracts’ bounds rather than at the ideal. A harness that also checks rejects every implementation that breaks a preservation obligation on its traces, so the quotient makes these obligations checkable before integration.
From Quotient to a Dispatched Requirement
The mission conjunct of the quotient can refer to signals that the delegated component does not observe. The controller, for instance, receives the clearance to a person only as a report that is up to 0.40 s old and may overstate it by up to .
Definition 13 (dispatched requirement). A dispatched requirement is a saturated contract with whose guarantee core is written over the observables of the delegated component and the bounds declared by the fixed components’ guarantees.
Since , Theorem 2 gives , so the dispatched requirement is sound, and its implementations are among those of . For the clearance conjunct the strengthening rests on the following kinematic inequality.
Lemma 14 Let the environment assume and that a person out of view at a tick stays at least away up to the next tick. Let the drive guarantee that the robot moves at most from its position at the observation up to the next tick, and let perception guarantee while the person is in view. Then at every tick at which the person is in view, . In particular the conjunct implies under those assumptions.
Proof. Fix a physics step from the tick up to the next tick. Let be the nearest body point at that step, the robot’s position at the observation and the offset between a distance from the robot’s position and a clearance. By the triangle inequality the distance from the robot at that step to is at least the distance from to less the robot’s displacement since the observation. The distance from to is at least , by the definition of . Subtracting and substituting the three bounds gives a lower bound on the clearance at that step, and hence on its smallest value , and the conjunct’s right-hand side makes that bound at least . At a tick with the person out of view, is the environment’s assumption.
The until of the dispatched requirement keeps the speed bound and the margin of Theorem 14 until a rest at which the estimated distance and heading error to the dock lie within the system’s tolerances less the localization errors at rest. The bounded until is monotone in both operands, so under the fixed components’ guarantees the dispatched until implies the system’s, the preservation conjuncts carry over, and follows conjunct by conjunct. The kernel also checks both inclusions on the case-study instance, over sampled valuations of the tick signals and over short traces built from the lemma’s worst case.
Realizability, Evidence, and Risk
The kernel checks that the dispatched requirement is consistent, that is, that some behavior meets both its assumption and its guarantee core. A consistent quotient can still be unrealizable, because the algebra describes sets of behaviors with no causality condition, not what a component can produce from what it observes. In the case study a controller that keeps rad/s at every tick meets every preservation obligation, including the bound of 1.0 rad/s on the largest yaw rate over the 2.0 s before a stop, without anticipating its stops. The authors wrote a reference controller against the dispatched requirement before dispatch (§ 6.3), and it meets the whole dispatched requirement in the harness and on all 30 drawn episodes of the live system (§ 6.5).
A delivery is accepted on live episodes scored from ground truth, because by Theorem 12 no unit-test harness can stand in for them. The next lemma bounds what a run of satisfied episodes establishes.
Lemma 15 (zero-failure bound) If independent episodes drawn from the operating distribution all satisfy a requirement, then with confidence the probability of a violating episode is at most .
Proof. A violation probability gives zero failures in episodes with probability . The largest for which this exceeds is .
The evaluator also assigns each live failure to an owner, by a rule we adopt on top of the algebra. A failure of the system’s clearance is owned by the first clause to fail, in the prefix, among those Theorem 14 relies on: the environment assumption, the perception’s guarantee, the drive’s tracking and the person margin of . Failures at the same tick are ranked in that order, so when two fixed components fail at one tick the perception owns the failure. A failure of the speed bound alone is the delegated component’s. A missed dock is ranked by clause rather than by tick. It is the environment’s if its assumption failed by the deadline, else the drive’s if its yaw floor failed, else localization’s if its guarantee failed, else the delegated component’s. A fixed component’s failure is the delegated component’s instead, on the preservation conjunct for that component, when the delegated component broke that component’s assumption at or before the tick of the failure. If the environment assumption held and every fixed component kept its guarantee, then by refinement the delegated component violated a conjunct of , and the evaluator names which one.
C-BASE: The Architecture and the Design Pipeline
Figure 1 shows the parts of C-BASE. The SysML v2 architecture model holds the robot’s structure together with the delegation’s requirements, verification cases and results (§ 5.1). The contract kernel, our own JAX code, holds every contract as a pair of assertions in the fragment of § 3.4. It computes saturation, composition and the quotient, checks refinement on finite universes and scores traces by robustness. Its generator writes the contracts into the architecture model as requirement definitions, and the kernel reads them back through Syside’s Python API, checking each constraint against the formula text it carries, so the kernel and the model hold the same contracts. The work order, the harness and the evaluator are built from the kernel’s conjuncts, so the agent is scored on the formulas it receives. The orchestrator launches each step of the pipeline below. Its operators, in the case study the authors with a coding agent, declare the contracts and the strengthening onto observables.
A condition is the artifact handed to the language model: the dispatched requirement, the mission-only requirement or a natural-language task. A form is the kind of delivery asked for. The three forms are a whole controller, a governor, and a selection of a governor and its parameters from a menu. A governor takes the command of the stack’s route follower, which has no rule for people, and returns the command sent to the drive. A round is one call of the language model, and an arm is one delivery run live on a set of drawn episodes and scored. A delegation then runs as follows, with steps 3 and 4 the language model’s, step 6 the simulator’s and every other step deterministic code.
Compute and render. The kernel reads the system requirement and the fixed components’ contracts from the architecture model, takes the quotient of the system contract by the composed fixed components and checks that the strengthening onto the controller’s observables refines it. Each conjunct is rendered as a line of STL text, such as
always (not fov or w <= 0.8)for rad/s while a person is in view, with a sentence on its meaning and its reason, and the margin is given term by term.Write the work order, one JSON object with the function’s interface, the operating context in words, the requirement from the architecture model, a starting file with the stack’s route follower, the task and the earlier rounds with their candidates and counterexamples. Its response schema admits a candidate with its complete source or a decline with a reason.
Call the design agent, a language model served by Ollama, with the work order as its message and its decoding constrained to the response schema.
Receive the delivery, a complete Python file.
Gate it in the unit harness, a closed-loop simulation of the slot with the fixed components mocked as the condition’s assumption states them. The harness runs the delivery on every scenario of a table fixed before the run and scores every conjunct as in § 3.4. The delivery is admitted when the assumption held and the guarantee was met in every scenario. Otherwise each failing conjunct returns its worst scenario to the next round, with the formula and the signals at its worst tick, up to the form’s round limit.
Run it live. An admitted file runs unchanged in the slot of the assembled stack on the simulator, with the real perception, localization and drive and the simulator’s ground truth recorded.
Score and attribute. The evaluator scores the episode by the same conjuncts under the prefix reading and attributes the first violation to its conjunct and owner (§ 4.4).
Return the evidence. A script writes each arm’s evaluation into the architecture model’s result package as one result item per specification, with verdict counts, provenance and links to the requirement usage it verifies, its verification case and each violated constraint.
The Requirements in the Architecture Model
The delegation’s requirements sit in the model of the robot’s ROS 2 stack, built on the ros2-sysmlv2 library [6] and modeled after the specification’s Annex A [15] (Figure 3). Each contract of Table 2 is one requirement definition, and each conjunct is an assumed or required constraint over the ticks of the episode trace (§ 3.2). Always becomes a forAll over the ticks, and the bounded until becomes an exists over the tick indices with a forAll over the earlier ones (Listing 1). Each constraint also carries its formula as text, which is the line the work order quotes. The dispatched requirement assumes the environment and, for each fixed component, the implication from that component’s assumption to its guarantee. It requires the margin until docked, the speed rule and the three preservation conjuncts, and its numbered usage carries metadata that names the kernel computation it came from.
Figure 3. The requirements of the case study’s architecture model. Stakeholders and their concerns frame the robot’s specification. Derivations run from the system requirement to the three fixed components’ contracts and to the requirement dispatched to the controller slot, which strengthens the quotient (Theorem 13). Each requirement is allocated to and satisfied by a part, and the verification case of the quotient condition verifies the dispatched requirement, with its result item holding the verdicts.
| Clause | Bound | Set by |
| System assumes | ||
| approach | and | largest limb closing measured, 1.385 m/s |
| blind side | nobody within 0.40 out of view, now and to the next tick | the camera’s field of view |
| frames | a scan and a people record every 0.5 | sensor rates |
| walk | crosses once, within 0.72 of its segment, back at most 0.72 | the drawn walks |
| route | the route 1.4 from mapped surfaces | the warehouse layout |
| System guarantees | ||
| speed | at every tick | the mission |
| clearance to dock | the mission | |
| Perception assumes | ||
| yaw in view | while a person is in view | image-to-cloud skew |
| Perception guarantees | ||
| age | admission age and cloud period | |
| error | in view | the detector and the skew |
| Localization assumes | ||
| turn before stop | over the 2.0 before every stop | rest heading after turns, measured |
| Localization guarantees | ||
| position at rest | one map cell | |
| heading at rest | standstill search reach | |
| settling | still, below 0.01 m/s, within 1.5 of stillness | timing of the standstill correction |
| position moving | declared bound | |
| Drive assumes | ||
| yaw rate | the turn-rate saturation | |
| Drive guarantees | ||
| tracking | displacement at most over the age, to the next tick | breakaway and command lag |
| yaw floor | a command held 0.5 below 0.2 m/s turns the body | the dead band |
| yaw following | true yaw rate within 0.3 of the last 0.6 of commands | largest live excess, 0.214 rad/s, plus 0.05 rad/s |
Table 2. The contracts of the case study, one clause per row, with the mechanism that sets each bound. Notation as in Table 1; lengths in m, times in s, rates in m/s and rad/s. The architecture model names , and PerceptionContract, LocalizationContract and PlantContract; they are the fixed components’ contracts of § 4.
Satisfaction, Verification and Evidence
Each component’s part specializes both its structural definition and the episode trace, so a recorded episode is the part’s trace, and the part satisfies the requirement usage allocated to it. Each condition has a verification case whose objective verifies the condition’s requirement usage on the recorded episode, and further cases verify single conjuncts of the fixed components’ contracts. A result item counts the verdicts of one arm over its episodes and names the reading they were scored under, the evaluator’s prefix reading or the whole trace (§ 3.4).
Syside’s validator checks the model files with the library at zero errors and zero warnings, resolving every name and type. On hand-built traces its compiler evaluates every constraint to the value of its formula text read tick by tick, and on random traces to the verdict of the study’s evaluator. Copies of the model seeded with one defect each, among them the drive’s contract satisfied by the controller, are each caught by these checks or by a check that resolves every link as a model element. Every value the script writes into a result item equals its source. The supplementary material gives the counts.
requirement def DispatchedControllerRequirement {
subject trace : EpisodeTrace;
// cut: the doc, the assumed constraints and the four other required constraints
require constraint marginUntilDocked {
attribute formulaText : String = "(v <= 0.5 and c_rep >= 0.74 + s_r_gap + 1.5 * age + 1.5 * gap)
until[0, 90 s] (rest and g_est <= 0.05 and y_est <= 0.12)";
(1..size(trace.samples))->exists {in k : Integer;
trace.samples#(k).elapsedS <= 90.0
and trace.samples#(k).atRest
and trace.samples#(k).estimatedGoalDistanceM <= 0.05
and trace.samples#(k).estimatedGoalYawErrorRad <= 0.12
and (1..size(trace.samples))->forAll {in j : Integer;
j >= k or (trace.samples#(j).commandSpeedMps <= 0.5
and trace.samples#(j).reportedClearanceM >= 0.74
+ 1.5 * trace.samples#(j).observationAgeS
+ 1.5 * trace.samples#(j).gapToNextTickS
+ trace.samples#(j).robotStaleMotionToNextTickM)
}
}
}
}
requirement <'1.3'> controllerDispatched : DispatchedControllerRequirement {
@DerivedByQuotient {
formula = "the kernel quotient of SystemRequirement by the composition of PerceptionContract,
LocalizationContract and PlantContract, strengthened to observable signals ...";
}
}
LISTING 1 The dispatched requirement as the kernel’s generator writes it, and its numbered usage, abridged.
Case Study: A Delegated Robot Controller
The case study asks three questions. Does a delivery admitted under the mission-only requirement break the system requirement live because it ignores a tolerance in a neighbor’s guarantee, while a delivery admitted under the derived requirement keeps it? Does the derived requirement refuse a delivery that breaks a neighbor’s assumption, which the mission-only requirement admits? What does a language model deliver under each requirement and under a natural-language task, and how do its deliveries fare live?
System, Mission and Contracts
The robot is a Carter warehouse robot in NVIDIA Isaac Sim ([14]) with a Python navigation stack on ROS 2 ([11]), whose perception (a camera detector grounded on the lidar cloud), localization and drive are fixed and whose local controller is the slot. At 20 Hz the slot reads the planned path, the pose estimate, the person points with their observation age and the lidar scan, and publishes a speed and a yaw rate. It wraps the delivery in fixed code that brakes on a missing or stale observation, and what that code commands is scored as the delivery’s.
The robot must drive a 12 m route across open floor and rest at the dock at its end within 0.10 m and 0.15 rad by 90 s, never faster than 0.5 m/s. A worker starting 1.5 m beside the route crosses it at a drawn point and speed (0.5 to 0.85 m/s), straight or angled 0.35 rad toward the robot, triggered so that a robot that never yields meets the worker. This seeded population is a perturbing distribution of Theorem 15. The slot sees the oldest observation within the freshness bound, so the live system runs at the observation age that the perception contract allows, and ground truth is the simulator’s record of the robot’s pose and the worker’s root and 55 joints. Clearances are measured from the robot’s body, a 0.30 m disc, and the robot is at rest after 1.5 s with its commands and true speed below 0.02 m/s and 0.02 rad/s. Each bound of Table 2 comes from its mechanism, and a bound read from live records lies above the largest value seen, as the table shows for the worker’s closing and the drive’s yaw following.
Delegation Artifacts and Harness
The dispatched requirement keeps the assumption of and writes its guarantee over the slot’s inputs. Its until keeps the speed at most 0.5 m/s and the person margin (age + gap) m of Theorem 14 until a rest within 90 s. At that rest the estimated distance and heading error to the dock are within 0.05 m and 0.12 rad, the system’s dock tolerances less the localization errors at rest. Its preservation conjuncts are the three yaw-rate bounds that the fixed components assume (Table 2). The kernel checks and , with the contracts read from the architecture model, on finite universes built from the lemma’s worst case, and both inclusions hold. Neither holds for the mission-only requirement, which fails on the guarantee side as well as on the assumption side. The first inclusion also fails when any margin term, the preservation conjuncts, the speed rule, the dock margin or the rest in the dock is dropped from , and on a universe that breaks the lemma by 0.05 m. The supplement gives the universes and the counterexample counts.
The mission-only requirement renders onto the slot’s inputs with the fixed components ideal. It assumes the environment, the drive’s guarantee, an observation age of zero, exact person points and an exact pose, and requires the speed rule and a reported clearance of 0.40 m until an estimated rest within 0.10 m and 0.15 rad of the dock. The natural-language task states in words, with no formula, the system requirement and every fixed component’s bounds with the turning limit each one assumes. These are the facts from which the dispatched requirement is derived, and the task leaves the margin and the dock tolerances on the observables to the designer.
The harness simulates a straight 10 m route ending at the dock, on 482 scenarios fixed before every run. They cover walkers crossing straight or angled toward the robot over a grid of crossing points, sides, speeds and trigger offsets, the same walks with the person points reported closer than they are, and two scenarios without a person. The harness grew to these scenarios from a first version of 98, the straight walks and the empty scenarios, on which the witness of § 6.3 and the contract variants of § 6.6 were run. Under the quotient and natural-language conditions the mocks sit at the contract bounds: the observation is 0.40 s old, the person points are pushed 0.30 m away along their rays and are not reported out of view, and the drive saturates at 1.15 rad/s. The pose is off by 0.05 m at rest and by 0.45 m while moving, the largest error seen live within the bound of 0.50 m. Under the mission-only condition the mocks are exact, as that requirement assumes (Theorem 12). Each condition is scored by its own requirement, the natural-language one by on the mocked truth.
Contract Calibration and Experimental Protocol
Two controllers written by the authors serve as controls. The reference follows the route turning at most 0.8 rad/s and settles in the dock. It holds the robot while a reported person point lies ahead within a band around the route, widened by its pose error, so a worker about to cross holds the robot and one who has crossed lets it pass. The robot’s position across the route is known within 0.05 m at rest but only within 0.50 m while moving, so the reference carries the pose of its last rest forward on the drive’s unicycle model, in a memory that the slot passes back at every tick. It also stops when the dispatched margin is about to fail. The witness, written before any run to the letter of the mission-only requirement, brakes on the reported clearance with a hand-chosen allowance of 0.20 m, docks on the estimate while moving and turns at the stack’s 1.29 rad/s. It is the control for the harness’s discrimination and for the live evaluator, and the mission-only arm proper is the agent’s delivery under that condition.
Every bound of Table 2 has a verification case that prints its threshold before its result. The fixed components were held to their guarantees on calibration episodes, driven by the reference and kept out of every arm, and each one found outside its contract was repaired, or its contract was, before any delivery was judged. Calibration changed four bounds and repaired one component, the perception’s camera projection. The localization’s heading bound, for instance, holds only at rest, because the estimate lags the body by up to 0.229 rad in a turn in place. The supplement lists every correction with its finding.
The agent is qwen3.8:27b-q8_0, a model with 27 billion parameters at 8-bit weights, served by Ollama on the simulator’s workstation and sampled at temperature 0.4 with a seed recorded per round. It is asked for the three forms of § 5 in that order, with up to six rounds each, and the first admitted delivery ends the condition. The menu of the third form holds 384 governors, of which 288 keep no memory and 96 are band governors, the reference’s design with six of its parameters varied. Each request carries a record of the designs that earlier rounds and earlier sequences of its condition tried, with their outcomes, a view of the route and one from the robot’s camera, and after a tested round a plot of its counterexample. The supplement gives the remaining settings and every round.
Each admitted delivery runs live on the 30 standard scenarios, drawn once and shared with the controls. An episode in which the slot braked for missed control deadlines more than 200 times ran on an overloaded host, and it is run again on a quiet host, the re-run taking its place. The live evaluator reads the worker’s approach on the walker’s joints, which swing ahead of its root and change identity between ticks, and subtracts a reading allowance of 0.05 m, beside the 0.02 m person tolerance. The harness walker is a disc whose extent moves with its centre, so the harness under-predicts the live clearance.
Admission Under Each Requirement
The derived requirement admits only safe designs, and the mission-only requirement does not. Of the 384 governors in the menu, the dispatched requirement admits 12, and every one of them keeps the system requirement with the fixed components at their contract bounds, as soundness promises. The mission-only requirement admits 112, and 88 of them break the system requirement at those bounds. Its harness scores a controller against ideal neighbors, so it cannot tell the 24 safe entries it admits from the 88 unsafe ones.
The agent’s selections show the difference (Table 3). Under the derived requirement it selected one of the 12. Under the mission-only requirement its first selection happened to fall among the 24 safe entries, and three of twenty further selections with fresh seeds fell among the 88. We took the first of those three, a band governor 1.25 m wide that the harness breaks in 8 of its 482 scenarios at the bounds, to the live system as the unsafe delivery. Under the natural-language task it selected a governor that keeps the system requirement at the bounds. In no condition did the agent deliver a whole controller or governor that its harness admitted, in six rounds per form, and each condition then handed it the menu. The rounds and the counterexamples returned to the agent are in the supplement.
| Delivery | Admitted by its own harness | Safe at the bounds | Live, 30 standard | Live, at the edge | Closest |
| agent, derived requirement | yes | yes | 30 of 30 | 4 of 4 | 1.42 m |
| agent, mission-only | yes | yes | 30 of 30 | not run | 1.57 m |
| agent, mission-only, resampled | yes | no, breaks 8 of 482 | 30 of 30 | 16 of 22 | 0.14 m |
| agent, natural language | yes, by its own scoring | yes | 30 of 30 | not run | 1.22 m |
| reference, hand-written | yes, under all three | yes | 30 of 30 | not run | 1.56 m |
| witness, written to the mission-only letter | yes, by the first mission-only harness | no | 0 of 30 | not run | contact in 29 |
Table 3. The deliveries and the controls. Admission is by the harness of each delivery’s own condition. A design is safe at the bounds when it keeps the system requirement with the fixed components at their contract bounds. The live columns count the episodes in which the system requirement held on the truth, over the 30 standard scenarios and at the setting of § 6.5 where the neighbors work at the edge of their contracts, and the last column gives the closest the robot came to the worker in any episode.
Live Results
Every delivery kept the worker safe on the 30 standard scenarios, the unsafe one included, so ordinary testing does not separate them. The design selected under the derived requirement kept the system requirement and the dispatched requirement in all 30 episodes and came no closer than 1.45 m to the worker, which by Theorem 15 bounds the probability of a violating episode by 0.095 at confidence 0.95. The other three selections kept the system requirement in all 30 as well. The first mission-only selection missed the dispatched requirement in 1 episode, and the resampled and the natural-language selections in 9 each, on the dock tolerance and the person margin, obligations the mission-only requirement never states.
Where the neighbors work at the edge of their contracts, the unsafe delivery came within 0.14 m of the worker against the required 0.40 m, and the delivery selected under the derived requirement stayed more than 1.4 m away.
Figure 4 shows the three deliveries on one draw at this setting. The harness finds such a setting inside the fixed components’ contracts, with the localization at its moving error bound, the reported person point pushed toward its error bound and the worker crossing the route at 0.6 m/s. There the unsafe delivery broke the system’s clearance inside the environment assumption in 6 of 22 episodes and docked in every one, and the derived requirement’s delivery kept both requirements in every episode on the same draws. The setting was searched for, so 6 of 22 is the rate there and not over ordinary scenarios. Each breach is a behavior of the kind Theorem 11 describes. The environment assumption held, every fixed component kept its guarantee without behaving ideally, and the delivery had passed the mission-only harness.

Figure 4. The three deliveries live on one draw at the setting of § 6.5, one row per delivery and four frames matched by the walker’s progress, from a run recorded for this figure and outside the counts of the text. In the two middle frames the evaluator’s geometry is drawn into the camera view: the robot’s body disc, the required 0.40 m clearance as the dashed circle, the walker’s nearest body point with the clearance to it, and the robot’s positions over the preceding 5 s. The deliveries selected under the derived requirement and under the natural-language task stopped before the walker stepped out, 1.47 m and 1.25 m from her at the closest. The mission-only delivery drove on for three more seconds and stopped 1.27 m further along, in her path; at the closest approach her foot lies inside the circle, 0.25 m in the frame and 0.22 m between frames, the one red mark of the figure.
The witness, which the first version of the mission-only harness admitted and the derived requirement refuses, broke the clearance in all 30 standard episodes, with contact in 29.
Preservation Obligations, Contract Variants and the Perception Slot
A controller that breaks the localization’s assumption passes the mission-only harness, and the derived requirement refuses it. The localization promises its rest accuracy only after a turn under 1.0 rad/s. A controller that spins at 1.2 rad/s and holds still before the dock is admitted by the mission-only harness in every scenario and refused by the dispatched requirement in every scenario, on that obligation. Live, in 9 of 9 episodes, the spin engaged the localization’s declared lock at the rest after it, the estimate docked while the robot stood 0.26 m from the dock, and the mission reported success on a false dock. The reference on the same draws never engaged the lock and docked by the truth every time. The reference itself was caught the same way. As first written it turned at 1.9 rad/s, which the mission-only requirement admitted and the dispatched requirement refused, and it now turns at most 0.8 rad/s.
Change one neighbor’s contract and the derived requirement follows it, still admitting only safe designs, while the mission-only requirement does not move (Table 4). On the first harness and the 288 governors without a memory, we relaxed the perception’s freshness bound to 0.80 s, tightened it to 0.20 s, and coarsened the localization’s rest error to 0.20 m, one change at a time. The quotient tracks the set of safe governors exactly in every variant. The dispatched requirement admits a subset of it that shrinks to nothing when the perception slows, which is the cost of its strengthening. The mission-only requirement admits the same 120 governors whatever the neighbors do, 96 of them unsafe at the declared bounds. On the full harness it admits 112 of the 384 governors of the menu instead (§ 6.4). The refinement order among the variants’ requirements is in the supplement.
| Variant | Changed bound | GT | Q | D | M |
| as declared | age 0.40 s, rest error 0.05 m | 24 | 24 | 12 | 120 |
| slower perception | age 0.80 s | 12 | 12 | 0 | 120 |
| faster perception | age 0.20 s | 24 | 24 | 12 | 120 |
| coarser map | rest error 0.20 m | 0 | 0 | 0 | 120 |
Table 4. The 288 governors without a memory admitted as one fixed component’s contract changes, on the first harness of 98 scenarios. GT counts the governors that keep the system requirement with the fixed components at the variant’s bounds, Q those the quotient admits and D those the dispatched requirement admits, both at those bounds, and M those the mission-only requirement admits against ideal neighbors, which do not change.
Delegating the perception instead of the controller gives the same result. With the reference as the fixed controller, the quotient makes freshness within 0.40 s and a person error within 0.30 m the perception slot’s obligations. A slot written to the letter of the mission-only requirement delivers reports older than that bound under the declared overload and never docks. The agent’s grounding code written against the slot’s quotient kept the system requirement and the dispatched requirement in all 30 live episodes, with its observation at most 0.40 s old at every control tick. It was admitted after its first live run exposed a dropped lidar cloud, which the harness then gained as a declared scenario. The delivery rounds and the slot’s dropped records are in the supplement.
Conclusion
In requirements-driven MBSE, delegating a component when the rest of the architecture is fixed poses the missing component problem, and its solution is the quotient of the system requirement by the fixed components’ contracts. In SysML v2 that quotient is again a requirement, the most permissive sound one, so the designer keeps the most freedom while the architecture stays correct by construction. C-BASE computes it with a contract kernel, keeps it in the architecture model, hands it to a language model as a work order, admits deliveries in a harness and scores them live. On a simulated warehouse robot, the language model’s selection under the quotient kept the system requirement on every live episode, and so did the perception grounding it wrote against that slot’s quotient. After a dropped cloud became a harness scenario, the model rewrote the grounding and the harness admitted it again. A reference written against the quotient kept the system requirement on every live episode, while the witness, the literal mission-only controller admitted by the mission-only harness it was written against, brought the robot below the required clearance on every live episode. A controller that broke the localization’s assumption by turning fast before its dock left the robot more than 0.25 m from the dock on all nine episodes of that arm, while its own estimate reported the dock reached. On the same draws the reference never engaged the localization’s lock.
Significance and Practitioner Points
For practitioners, the requirement handed to a supplier, a team, or a generative agent for one component of a system can be derived from the system requirement and the requirements of the other components by one algebraic operation. The result is an ordinary SysML v2 requirement that sits in the model with its derivation, allocation, satisfaction and verification links. The derived requirement states, as explicit constraints, what the other components assume of the delegated one, which is exactly what task descriptions omit and what integration testing discovers late. For researchers, this article grounds the contract quotient in the requirement semantics of SysML v2 and reports a controlled comparison of quotient-derived, mission-only and natural-language delegation to a language model on a robot navigation stack in simulation.
Acknowledgements
The authors thank Sensmetry for providing academic licenses for the Syside Automator and Modeler tools.
Conflict of Interest
The authors declare no conflict of interest.
Data Availability Statement
The SysML v2 model, the contract kernel, and the campaign records described in this article will be made available on publication.
References
- [1]John S. Baras, Sai Sandeep Damera, Ryan Matheu, Clinton Enwerem, and Praveen M. S. Kumar. IDDMBSE: Integrating data-driven and model-based systems engineering for trusted autonomous cyber-physical systems, 2026. URL https://arxiv.org/abs/2606.06727.
- [2]Albert Benveniste, Benoît Caillaud, Alberto Ferrari, Leonardo Mangeruca, Roberto Passerone, and Christos Sofronis. Multiple viewpoint contract-based specification and design. In Formal Methods for Components and Objects (FMCO 2007), volume 5382 of Lecture Notes in Computer Science, pages 200–225. Springer, 2008.
- [3]Albert Benveniste, Benoît Caillaud, Dejan Nickovic, Roberto Passerone, Jean-Baptiste Raclet, Philipp Reinkemeier, Alberto Sangiovanni-Vincentelli, Werner Damm, Thomas A. Henzinger, and Kim G. Larsen. Contracts for system design. Foundations and Trends in Electronic Design Automation, 12(2–3):124–400, 2018. doi: 10.1561/1000000053.
- [4]Yasmine Bouamra, Bruno Yun, Alexandre Poisson, and Frédéric Armetta. SysTemp: A multi-agent system for template-based generation of SysML v2, 2025. URL https://arxiv.org/abs/2506.21608.
- [5]Darren Cofer, Andrew Gacek, Steven Miller, Michael W. Whalen, Brian LaValley, and Lui Sha. Compositional verification of architectural models. In NASA Formal Methods (NFM 2012), volume 7226 of Lecture Notes in Computer Science, pages 126–140. Springer, 2012. doi: 10.1007/978-3-642-28891-3_13.DOI
- [6]Sai Sandeep Damera and John S. Baras. ros2-sysmlv2: A SysML v2 domain library for ROS 2 robotics system architectures. Open-source library, https://github.com/SEI-ISR/ros2-sysmlv2, and Sysand package sei-isr/ros2-sysmlv2, https://sysand.com/projects/seil-isr/ros2-sysmlv2/, 2026. Version 0.1.1, Apache-2.0 license, accessed 2026-10-15.
- [7]Luca de Alfaro and Thomas A. Henzinger. Interface automata. In Proceedings of the 8th European Software Engineering Conference held jointly with the 9th ACM SIGSOFT International Symposium on Foundations of Software Engineering (ESEC/FSE-9), pages 109–120. ACM, 2001. doi: 10.1145/503209.503226.DOI
- [8]Georgios E. Fainekos and George J. Pappas. Robustness of temporal logic specifications for continuous-time signals. Theoretical Computer Science, 410(42):4262–4291, 2009. doi: 10.1016/j.tcs.2009.06.021.DOI
- [9]Inigo Incer, Apurva Badithela, Josefine B. Graebener, P iergiuseppe Mallozzi, Ayush Pandey, Nicolas Rouquette, Sheng-Jung Yu, Albert Benveniste, Benoît Caillaud, Richard M. Murray, Alberto Sangiovanni-Vincentelli, and Sanjit A. Seshia. Pacti: Assume-guarantee contracts for efficient compositional analysis and design. ACM Transactions on Cyber-Physical Systems, 9(1):3:1–3:35, 2025. doi: 10.1145/3704736.DOI
- [10]Inigo Incer Romeo, Alberto Sangiovanni-Vincentelli, Chung-Wei Lin, and Eunsuk Kang. Quotient for assume-guarantee contracts. In 16th ACM/IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE 2018). IEEE, 2018.
- [11]Steven Macenski, Tully Foote, Brian Gerkey, Chris Lalancette, and William Woodall. Robot Operating System 2: Design, architecture, and uses in the wild. Science robotics, 7(66):eabm6074, 2022.DOI
- [12]Oded Maler and Dejan Nickovic. Monitoring temporal properties of continuous signals. In Formal Techniques, Modelling and Analysis of Timed and Fault-Tolerant Systems (FORMATS/FTRTFT 2004), volume 3253 of Lecture Notes in Computer Science, pages 152–166. Springer, 2004. doi: 10.1007/978-3-540-30206-3_12.DOI
- [13]Philip Merlin and Gregor V Bochmann. On the construction of submodule specifications and communication protocols. ACM Transactions on Programming Languages and Systems (TOPLAS), 5(1):1–25, 1983.DOI
- [14]NVIDIA Corporation. NVIDIA Isaac Sim: Robotics simulation and synthetic data generation. https://developer.nvidia.com/isaac/sim, 2026. Accessed 2026-06-11.
- [15]Object Management Group. OMG Systems Modeling Language (SysML), Version 2.0. OMG Specification formal/2026-03-02, Object Management Group, 2025. Formally adopted June 2025. Available at https://www.omg.org/spec/SysML/2.0/.
- [16]Strands Labs. Strands robots and strands AI functions: agent toolkits for robot autonomy stacks and checked function synthesis. GitHub repositories, https://github.com/strands-labs and https://github.com/strands-labs/robots, 2026. Repository revisions of 2026-09-17 (robots) and 2026-09-12 (ai-functions), accessed 2026-10-15.


