From Architecture to Autonomy:
Why Agentic Software Engineering Demands MOSA, ISO 15288/MBSE, and Supply-Chain Guardrails
Executive Summary
AI coding agents will write software for defense systems whether or not programs plan for it. The way to use that speed safely is to give the agent boundaries it cannot negotiate: a modular architecture that limits where it can make changes; a system model that states the physical and safety limits; executable specifications that test its work, and supply-chain controls that vet every software component it pulls in. A human still reviews and approves the result.
Why Agentic Software Development Needs Engineering Guardrails
In modern civil engineering, automated cranes and prefabrication robotics can assemble multi-story structures at blistering speed. That automation, however, is safe only because municipal building codes, seismic load envelopes, and structural steel bolt-hole tolerances were mathematically validated before the machinery was switched on. If an automated crane system decides to drill custom holes or substitute an unrated composite bracket just to finish a floor two days faster, it has not made the project more agile. It has created a risk of structural failure.
Defense programs that are software intensive have faced similar concerns through successive technology shifts.The introduction of Agile raised fears that it would dismantle configuration baselines. When containerization and DevSecOps pipelines arrived, compliance officers feared continuous delivery would bypass statutory controls. Today, autonomous coding agents — capable of inspecting repositories, planning multi-file refactors, and executing builds inside isolated sandboxes — present the same dilemma at far higher velocity.
Agentic software engineering offers immense promise for programs adopting the Department of Defense (DoD) Software Acquisition Pathway (DoD Instruction 5000.87). Yet an unconstrained agent assigned to a mission-critical repository naturally takes the path of least resistance: it invents non-standard interfaces, creates tightly coupled dependencies, pulls in unvetted or malicious open-source packages, and introduces licensing risks that compromise federal data rights.
An unconstrained agent assigned to a mission-critical repository naturally takes the path of least resistance
That tension now has policy weight. Department of War Instruction (DoWI) 8430.01, Accelerated Mission Software took effect on September 8, 2026. The instruction pushes programs toward faster, automated delivery. It also requires machine-readable evidence of what is in software, how it was built, and how it was secured; it treats AI-generated code as unverified input; and it requires human review and approval of AI-generated changes that are security- or safety-critical. The supply-chain implications of that instruction are covered in the blog post “Your Agents Are Choosing Dependencies. DoWI 8430.01 Says You Own the Result.” This whitepaper covers the engineering side.
To harness agentic speed without sacrificing engineering rigor, programs must connect four foundational disciplines into a closed-loop pipeline: Modular Open Systems Approach (MOSA), ISO 15288/Model-Based Systems Engineering (MBSE), Specification-Driven Development (SDD), and automated software supply-chain governance.
Bringing It to the Tactical Edge: The S-MET
To see how this works in practice, consider a class of operational defense platform: the U.S. Army’s Small Multipurpose Equipment Transport (S-MET).
Known as the infantry’s robotic “mule,” the S-MET is an uncrewed ground vehicle (UGV) built to move alongside dismounted squads in austere, off-road terrain and relieve soldiers of physical loads that degrade combat effectiveness. The first increment, built by General Dynamics Land Systems, carries about 1,000 pounds of equipment, and the Army cites a range of about 60 miles over three days. In September 2024 the Army awarded the second increment, S-MET II, to American Rheinmetall Vehicles and HDT Expeditionary Systems.
A note on this example: the Army has not described S-MET software or requirements this way, and nothing here implies that the Army or any S-MET vendor uses this approach. The vehicle below is a notional S-MET-class robot with an added autonomy module. The architecture, interface choices, and every number are illustrative.
Now imagine the Army wanting more from a platform like this: obstacle detection, waypoint navigation, and other autonomous behaviors. Here, software speed meets architectural governance.
The Failure Mode: Unconstrained Agents in Mission Systems
Imagine prompting an autonomous coding agent with an enhancement task for the notional platform: “Integrate a new solid-state LiDAR feed into the local obstacle-detection node and request evasive steering, through the existing steering interface, around sudden route blockages.”
Left unconstrained, the agent approaches the assignment purely as a local software optimization exercise:
- Interface Drift: It creates a bespoke JSON-over-HTTP (a general-purpose web message format) payload schema between the autonomy module and the drive-by-wire controller, breaking compatibility with the Army’s Robotics and Autonomous Systems - Ground (RAS-G) Interoperability Profile (IOP), the standard message set that lets ground robots, controllers, and payloads work together.
- Violating Physical Constraints: It writes a multi-threaded perception loop that consumes 90% of the onboard compute board’s thermal margin, failing to account for Size, Weight, Power, and Cooling (SWaP-C) limitations.
- Supply-Chain and Licensing Contamination: To process point-cloud data quickly, it downloads a public, unvetted GitHub library governed by a restrictive GPL-3.0 license. In doing so, it introduces known Common Vulnerabilities and Exposures (CVEs) and may impose license obligations that conflict with the program’s licensing and data-rights strategy. (GPL is a “copyleft” license: it can require you to release your own source code.)
The answer is not to ban autonomous agents. It is to place the agent inside a bounded sandbox — an isolated environment where it can run code without affecting other systems — defined by the system architecture. Everything it produces must then pass rule-based, repeatable checks before a human reviews it. The agent is not repeatable. The gates around it are.
The agent is not repeatable. The gates around it are.
1. MOSA: Defining the Agent’s Blast Radius
Federal law (10 U.S.C. 4401) directs major defense acquisition programs, and other defense programs as well, to be designed with a Modular Open Systems Approach “to the maximum extent practicable.” DoWI 8430.01 carries MOSA into software design as well. Applied to the notional vehicle, MOSA means a strict separation between the Base Mobility Platform (chassis, engine, drive-by-wire braking and steering) and an Autonomy Module (perception sensors, path planning, obstacle avoidance).
The connection between them is designated as a Modular System Interface (MSI).
In an agentic systems engineering workflow, MOSA defines the agent’s blast radius, meaning the scope of potential damage if it makes a mistake:
- The coding agent is granted write permissions exclusively within the Autonomy Module’s repositories (perception and path planning).
- The MSI connecting the Autonomy Module to the vehicle platform is marked read-only.
- The agent cannot alter vehicle actuation commands or redefine network protocols. It writes the perception and planning logic that decides when to request a maneuver, such as evasive steering, and sends that request across the locked interface. It never writes the code that carries the maneuver out.
These limits are enforced by tooling, not by the prompt: repository permissions, code-owner rules on the interface definitions, read-only mounts in the sandbox, and branch protection. A prompt that says “do not touch the interface” is a request. A read-only mount is a control.
2. ISO 15288 and MBSE: The Authoritative System Ground Truth
Defense systems engineering is anchored in ISO/IEC/IEEE 15288, which defines the standard lifecycle technical processes from architecture and requirements definition to verification and validation, while Model-Based Systems Engineering (MBSE) captures those processes in formal models rather than static documents. However, systems engineers traditionally maintain those architecture models in the Systems Modeling Language (SysML) within tools like Cameo, while software teams operate in Jira and Git. This disconnect breaks mission engineering. Software does not exist in an abstract cloud; it operates within physical, electrical, and regulatory envelopes.
SysML v2 was formally adopted by the Object Management Group (OMG) in 2025. It adds a standardized textual syntax and a standard Systems Modeling application programming interface (API), so automated pipelines can query the model directly as a machine-readable data source. DoWI 8430.01 likewise directs the department to provide authoritative digital engineering environments for software systems. In the notional vehicle, the model holds:
- Physical and Environmental Constraints: The model defines maximum payload, allowable bus latency (for example, Controller Area Network (CAN) bus steering updates posted within 10 milliseconds), and thermal operating envelopes.
- System Safety Allocations (MIL-STD-882E, the military system-safety standard): The model explicitly allocates hazard mitigations. If communication between the perception system and the drive-by-wire controller times out for more than 150 milliseconds, the mobility platform must execute an autonomous fail-safe emergency stop.
- Behavioral State Machines: The model specifies the formal state transitions between Teleoperation, Follow, and Autonomous Waypoint Navigation modes.
The system model establishes the authoritative ground truth. It prevents the AI agent from guessing at operating limits or inventing arbitrary recovery logic. All values in this example are illustrative.
3. Spec-Driven Development: Compiling Models into Machine Contracts
To make the MBSE baseline actionable for an autonomous agent, Specification-Driven Development (SDD) acts as the compiler. The architectural allocations in the SysML v2 model are exported into executable, machine-readable specifications committed to the software repository:
- Executable Interface Definitions: The MSI is exported as machine-checkable definitions. For RAS-G IOP, that means the profile’s Joint Architecture for Unmanned Systems (JAUS) service and message definitions, which are published in XML, plus generated stubs (code skeletons) for the Autonomy Module’s C++ code. Where onboard software uses the Robot Operating System 2 (ROS 2), a translation layer, or bridge, converts between ROS 2 and the IOP messages. The Army’s IOP Conformance Verification Tool, available to registered users, checks JAUS messages and protocol state. Where it is available, it is a ready-made contract test (an automated check that code honors an agreed interface). Where it is not, teams can use the same pattern to generate the checks from the interface definitions.
- Behavioral Assertions: SysML state transitions are translated into automated Given-When-Then test scenarios, written in a plain-English format called Gherkin (with illustrative values):
Scenario: Obstacle detected within emergency braking threshold
Given the vehicle is navigating in Autonomous Waypoint mode at 8 mph
When the perception node detects a positive obstacle at a distance of <= 5 meters
Then an emergency brake command is issued
within 50 milliseconds of the detection timestamp
And the vehicle stops before reaching the obstacle
This enables the Spec-to-Eval loop:
- Test Generation: A test agent consumes the specifications and drafts an automated contract test suite. Engineers review it once, then lock it under code-owner control so the coding agent cannot edit it.
- Code Generation: The coding agent writes the C++/ROS 2 implementation inside an isolated sandbox container.
- Autonomous Self-Healing: The agent runs the test harness. If an obstacle scenario fails to brake in time, or an interface field mismatches the schema, the agent reads the compiler and test logs, refactors its code, and re-executes until all contract tests pass.
The agent’s behavior is not repeatable. The gates are rule-based and repeatable. The specification, interface, and test files sit under code-owner control, so the agent cannot weaken them to get a pass.
The agent’s behavior is not repeatable. The gates are rule-based and repeatable.
4. Sonatype: Software Supply-Chain and Provenance Guardrails
Passing functional contract tests solves only half the challenge. An autonomous agent building perception algorithms for a ground robot requires third-party dependencies (for example, computer vision libraries, mathematical solvers, and utility packages).
If left ungated, an agent can succumb to “package hallucination,” pull in vulnerable open-source components, or introduce restrictive copyleft licenses that breach commercial data rights or federal IP boundaries.
Sonatype’s platform establishes the perimeter and policy controls throughout agentic software engineering workflows:
- The First Mile (AI Developer): Rather than letting the agent pick libraries from stale training data, the agent connects to AI Developer for Sonatype Lifecycle through the Model Context Protocol (MCP), a standard way for AI tools to call outside services. Before adding a dependency to the project’s build manifest, the agent asks for component intelligence: Is this version vulnerable or malicious, how well maintained is the component, and what is the safest version to use? Components with known problems are flagged before the agent commits to them.
- Perimeter Defense (Sonatype Nexus Repository and Sonatype Firewall): Agents operating in federal environments should be unable to pull directly from the public internet, which is a network rule the environment enforces. Nexus Repository serves as the dedicated private registry, the one controlled source for packages. Firewall blocks known-malicious packages and quarantines unvetted or suspicious ones at the proxy boundary, so they do not reach the build through the registry.
- Continuous Integration and Continuous Delivery (CI/CD) Gating (Sonatype Lifecycle): Inside the agent’s containerized build loop, Lifecycle’s command-line tool (nexus-iq-cli) runs automatically. If an agent-selected component violates policy (for example, a vulnerability with a Common Vulnerability Scoring System (CVSS) score of 7.0 or higher, or a copyleft license such as GPL), the evaluation fails. Lifecycle reports the violation and recommended remediation, such as a safe version to move to, so the agent can correct its own dependency choices.
- Auditability (Sonatype SBOM Manager): After the build passes the functional and supply-chain gates, SBOM Manager catalogs a standardized CycloneDX software bill of materials (SBOM). That gives the authorizing official the machine-readable composition evidence DoWI 8430.01 requires, and that the Army’s August 2024 SBOM policy puts into contracts for covered software. It is also the kind of evidence a continuous authorization to operate (cATO) process depends on.
- Air-Gapped and Classified Deployment (SAGE): For programs working in classified enclaves or sensitive compartmented information facilities (SCIFs), the Sonatype Air-Gapped Environment (SAGE) packages Lifecycle, Nexus Repository, Firewall, and SBOM Manager with the SAGE Data Service, which supplies vulnerability, malware, and license intelligence through validated update bundles carried across the boundary. The MCP server can run inside SAGE as well, so the agent’s dependency decisions and the gates behind them stay within the enclave. The agent’s language model must run there too: DoWI 8430.01 bars non-public department information from generative AI services that are not hosted on, and approved for, DoW systems.
These controls have limits. They act on known intelligence and on the policies a program sets, and waivers exist. They do not find flaws in the agent’s own logic, prove that code is safe, or stop an agent from fetching code by a route that bypasses the registry. That is why network rules, locked interfaces, and the human review gate described below all remain essential.
The Essential Human-in-the-Loop Gate
While the agent generates code, executes builds, and self-heals inside its sandbox, it does not have authority to merge directly into the production baseline.
The output of this closed-loop pipeline is an auditable pull request (PR). The PR arrives for the Lead Software Engineer and Systems Engineer accompanied by:
- Green contract test results proving alignment with the MBSE specification.
- Verified compliance with the MOSA Modular System Interface (the locked contract in Figure 1).
- Clean Sonatype Lifecycle scan results showing no un-waived policy violations.
- A verifiable SBOM cataloged in SBOM Manager.
- A record of the AI models and versions used to generate the code, which DoWI 8430.01 requires.
This is policy as well as good practice. DoWI 8430.01 treats AI-generated code as unverified input, keeps the developer and the government responsible for it, and requires human review and approval of AI-generated changes that are security- or safety-critical. On a vehicle that moves under its own power, nearly every change to the autonomy module qualifies.
Authorizing Officials (AOs) cannot accept black-box code whose origin they cannot inspect. An auditable PR gives them evidence to assess: its boundaries were dictated by an authoritative system model, it was tested against open specifications, and it passed continuous supply-chain checks.
By anchoring autonomous agents to MOSA, guiding them with MBSE and SDD, and securing them with Sonatype, the federal enterprise can adopt agentic speed without giving up the mission assurance warfighters depend on.