<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sven A. Schäfer</title>
    <description>The latest articles on DEV Community by Sven A. Schäfer (@sven-a-schaefer).</description>
    <link>https://dev.to/sven-a-schaefer</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3674164%2F74c8f1cb-52e2-4d34-945d-a919a1e82e9e.png</url>
      <title>DEV Community: Sven A. Schäfer</title>
      <link>https://dev.to/sven-a-schaefer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sven-a-schaefer"/>
    <language>en</language>
    <item>
      <title>Formal Semantics as the Missing Control Layer for AI-Assisted Software Engineering</title>
      <dc:creator>Sven A. Schäfer</dc:creator>
      <pubDate>Tue, 06 Jan 2026 22:05:29 +0000</pubDate>
      <link>https://dev.to/sven-a-schaefer/formal-semantics-as-the-missing-control-layer-for-ai-assisted-software-engineering-2ked</link>
      <guid>https://dev.to/sven-a-schaefer/formal-semantics-as-the-missing-control-layer-for-ai-assisted-software-engineering-2ked</guid>
      <description>&lt;p&gt;Recent research from 2025 increasingly points in a common direction:&lt;br&gt;
AI alone is not the paradigm shift in software engineering — formal semantics is.&lt;/p&gt;

&lt;p&gt;Across requirements engineering, formal methods, program verification, and AI-native tooling, a shared pattern emerges. Large language models can significantly assist software construction only when meaning is made explicit, structured, and formally constrained. Without such constraints, AI-driven development struggles with reproducibility, explainability, and long-term maintainability.&lt;/p&gt;

&lt;p&gt;This article synthesizes recent peer-reviewed papers, empirical studies, and formal-methods research to show how explicit semantics, formal specifications, and deterministic acceptance mechanisms together form the foundation for a more reliable, scalable form of AI-assisted software engineering. While no single work proposes a complete end-to-end paradigm, the individual building blocks are now clearly visible.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Requirements Are Not Documentation — They Are Control Structures&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A central shift in the 2025 literature is the reframing of requirements. Rather than being treated as descriptive artifacts, requirements are increasingly understood as structuring and controlling inputs for AI systems.&lt;/p&gt;

&lt;p&gt;Ferrari and Spoletini’s two-way roadmap on formal requirements engineering and large language models positions formal requirements as a means to improve controllability, explainability, and verifiability when using LLMs in software development. Their work argues that formalized requirements provide a structural interface between human intent and machine generation.&lt;/p&gt;

&lt;p&gt;This position is empirically reinforced by Caporusso and Perdue’s ISCAP 2025 study. They demonstrate that a requirements-first workflow, in which structured specifications are generated before invoking LLMs for code, leads to measurably higher quality outputs compared to direct prompt-to-code approaches.&lt;/p&gt;

&lt;p&gt;Complementing this, Lu et al.’s multi-agent vision for requirements development and formalization proposes a system where requirements are actively refined and formalized before downstream code generation. While primarily conceptual, the work underscores that “requirements → formalization” is being treated as a first-class quality lever.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The emerging pattern is not AI versus formal methods, but AI embedded within formal control.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Another consistent theme in 2025 research is a clear division of responsibility between AI systems and formal mechanisms.&lt;/p&gt;

&lt;p&gt;AI excels at proposing candidate artifacts — contracts, postconditions, annotations, or documentation. However, the decision about correctness, validity, or acceptance must remain deterministic and formal.&lt;/p&gt;

&lt;p&gt;Teuber and Beckert illustrate this separation in their work on LLM-supported Java verification. In their setup, LLMs generate candidate JML specifications, while deductive verification acts as an acceptance gate within the evaluated scope.&lt;/p&gt;

&lt;p&gt;Related work by Zhang, Wang, and Zhai shows that even relatively small models can infer meaningful postconditions. While this research focuses on feasibility rather than full formal verification, it supports the broader claim that LLMs can produce formal specification elements suitable for downstream checking.&lt;/p&gt;

&lt;p&gt;Recio Abad and colleagues extend this idea by using formal JML specifications as context to improve LLM-generated Java documentation. Their results show that formal inputs discipline AI outputs, even when the generated artifacts themselves are not formal proofs.&lt;/p&gt;

&lt;p&gt;Across these works, a consistent structure appears:&lt;br&gt;
AI proposes — formal mechanisms decide.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Semantic consistency is a system-level property, maintained through explicit semantic models and deterministic validation mechanisms.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Beyond individual artifacts, several 2025 contributions address semantic consistency at the system level.&lt;/p&gt;

&lt;p&gt;In model-based systems engineering, Cibrián et al. demonstrate that semantic constraints can be explicitly encoded at the metamodel level and automatically validated across complex SysML v2 model landscapes.&lt;/p&gt;

&lt;p&gt;Parallel insights emerge from the AI-native compiler discourse. Cogo, Oliva, and Hassan identify reproducibility and interoperability as core unresolved challenges when translating high-level intent into executable systems.&lt;/p&gt;

&lt;p&gt;A complementary perspective comes from outside software engineering: the 2025 Think7 policy work on Rules as Code. In governance contexts, intent and regulation are increasingly transformed into machine-executable representations to improve transparency, traceability, and consistency.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Purely intent-driven approaches tend to encounter structural limits once systems grow in complexity.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The contrast becomes especially clear when examining purely conversational programming paradigms.&lt;br&gt;
Become a member&lt;/p&gt;

&lt;p&gt;Bamil’s work on vibe coding explicitly acknowledges challenges related to reproducibility, maintainability, and explainability when code is produced primarily through conversational interaction.&lt;/p&gt;

&lt;p&gt;Empirical work by Sarkar and Drosos further shows that developers using conversational programming tools must rely heavily on iterative inspection and manual verification to build trust. Similarly, Sapkota et al. distinguish vibe coding from more agentic approaches and emphasize that lack of formal acceptance criteria remains a core limitation.&lt;/p&gt;

&lt;p&gt;Taken together, the current body of work supports several carefully bounded conclusions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Explicit, formal semantics is a central enabler for scalable and reliable AI-assisted software engineering.&lt;/li&gt;
&lt;li&gt;LLMs are well-suited to propose formal artifacts, with formal validation providing the final grounding.&lt;/li&gt;
&lt;li&gt;Deterministic acceptance mechanisms are technically feasible and already demonstrated in specific domains.&lt;/li&gt;
&lt;li&gt;Semantic consistency can be enforced at the system level, provided that meaning is explicitly modeled.&lt;/li&gt;
&lt;li&gt;No existing work covers the full paradigm end-to-end, but the necessary formal components are clearly identifiable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The emerging picture from 2025 research is not one of automation replacing discipline, but of discipline enabling automation.&lt;/p&gt;

&lt;p&gt;AI can accelerate software construction — but only when embedded in a framework of explicit semantics, formal specifications, and deterministic acceptance. This perspective aligns with applied efforts such as &lt;a href="https://secos.rocks" rel="noopener noreferrer"&gt;Secos Rocks&lt;/a&gt;, which investigates semantics-first and contract-driven approaches to AI-supported software construction.&lt;/p&gt;

&lt;p&gt;The future of AI-assisted software engineering is therefore not prompt-driven improvisation, but semantics-centered construction.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;p&gt;Ferrari, A.; Spoletini, P. (2025).&lt;br&gt;
Formal requirements engineering and large language models: A two-way roadmap.&lt;br&gt;
&lt;a href="https://www.sciencedirect.com/science/article/pii/S0950584925000369" rel="noopener noreferrer"&gt;Information and Software Technology Volume 181, May 2025, 107697.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Caporusso, N.; Perdue, J. (2025).&lt;br&gt;
Preserving Requirements-Driven Development in the Age of AI: An Empirical Evaluation of the Impact of Software Specifications in LLM-Assisted Coding.&lt;br&gt;
&lt;a href="https://iscap.us/proceedings/2025/pdf/6416.pdf" rel="noopener noreferrer"&gt;Proceedings of ISCAP 2025.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Lu, Y.; et al. (2025).&lt;br&gt;
Requirements Development and Formalization for Reliable Code Generation: A Multi-Agent Vision.&lt;br&gt;
&lt;a href="https://arxiv.org/abs/2508.18675" rel="noopener noreferrer"&gt;arXiv:2508.18675.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Teuber, S.; Beckert, B. (2025).&lt;br&gt;
Next Steps in LLM-Supported Java Verification.&lt;br&gt;
&lt;a href="https://arxiv.org/abs/2502.01573" rel="noopener noreferrer"&gt;arXiv:2502.01573.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Zhang, G.; Wang, Z.; Zhai, J. (2025).&lt;br&gt;
Breaking the Myth: Can Small Models Infer Postconditions Too?&lt;br&gt;
&lt;a href="https://arxiv.org/abs/2507.10182" rel="noopener noreferrer"&gt;arXiv:2507.10182.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Recio Abad, J.; et al. (2025).&lt;br&gt;
Formal Methods Meets Readability: Auto-Documenting JML Java Code.&lt;br&gt;
&lt;a href="https://arxiv.org/abs/2506.09230" rel="noopener noreferrer"&gt;arXiv:2506.09230.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cibrián Sánchez, E.; et al. (2025).&lt;br&gt;
Ensuring Semantic Consistency in SysML v2 Models Through Metamodel-Driven Validation.&lt;br&gt;
&lt;a href="https://ieeexplore.ieee.org/document/11077130" rel="noopener noreferrer"&gt;IEEE Access 2025.3587786.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cogo, F. R.; Oliva, G. A.; Hassan, A. E. (2025).&lt;br&gt;
Compiler.next: A Search-Based Compiler to Power the AI-Native Future of Software Engineering.&lt;br&gt;
&lt;a href="https://arxiv.org/abs/2510.24799" rel="noopener noreferrer"&gt;arXiv:2510.24799.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Rapson, J.; et al. (2025).&lt;br&gt;
Rules as Code for a More Transparent and Efficient Global Economy.&lt;br&gt;
&lt;a href="https://www.think7.org/publications/rules-as-code-for-a-more-transparent-and-efficient-global-economy/" rel="noopener noreferrer"&gt;Think7 (G7) Policy Brief.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Bamil, V. (2025).&lt;br&gt;
Vibe Coding: Toward an AI-Native Paradigm for Semantic and Intent-Driven Programming.&lt;br&gt;
&lt;a href="https://arxiv.org/abs/2510.17842" rel="noopener noreferrer"&gt;arXiv:2510.17842.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Sarkar, A.; Drosos, I. (2025).&lt;br&gt;
Vibe Coding: Programming Through Conversation with Artificial Intelligence.&lt;br&gt;
&lt;a href="https://arxiv.org/abs/2506.23253" rel="noopener noreferrer"&gt;arXiv:2506.23253.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Sapkota, S.; et al. (2025).&lt;br&gt;
Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AI.&lt;br&gt;
&lt;a href="https://arxiv.org/abs/2505.19443" rel="noopener noreferrer"&gt;arXiv:2505.19443.&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>softwareengineering</category>
      <category>architecture</category>
      <category>systemdesign</category>
    </item>
    <item>
      <title>Why Vibe Coding Isn’t the Real Breakthrough — and What Comes Next</title>
      <dc:creator>Sven A. Schäfer</dc:creator>
      <pubDate>Mon, 22 Dec 2025 20:50:36 +0000</pubDate>
      <link>https://dev.to/sven-a-schaefer/why-vibe-coding-isnt-the-real-breakthrough-and-what-comes-next-569a</link>
      <guid>https://dev.to/sven-a-schaefer/why-vibe-coding-isnt-the-real-breakthrough-and-what-comes-next-569a</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;AI is disruptive because it turns human intent into executable output at near-zero marginal cost, decoupling cognitive work from specialized tools, skills, and organizational scale.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That shift matters because it moves the bottleneck from making things to deciding things. When output becomes cheap, what remains expensive is the precision of intent: the constraints, boundaries, responsibilities, and invariants that keep a system coherent over time. That is a fundamental change. It affects law, finance, medicine, research — and software engineering. But not every application of AI participates in that disruption.&lt;/p&gt;

&lt;p&gt;▶ AI is disruptive, but Vibe Coding isn’t.&lt;/p&gt;

&lt;p&gt;Vibe Coding uses AI to optimize existing practices without fundamentally rethinking how software is conceived or built. Most AI tools in software development focus on acceleration. They help developers write code faster. They reduce boilerplate. They autocomplete functions, refactor blocks, generate tests, and explain unfamiliar code. All of this is useful. Much of it is impressive.&lt;/p&gt;

&lt;p&gt;▶ But acceleration is not the same as disruption.&lt;/p&gt;

&lt;p&gt;Vibe coding — prompting an AI to generate code and iterating until it works — accelerates the last mile. It applies AI to code production while leaving everything else unchanged. Making development more efficient isn’t the breakthrough.&lt;/p&gt;

&lt;p&gt;▶ To be clear: vibe coding works. But …&lt;/p&gt;

&lt;p&gt;Teams ship features faster. Prototypes appear in hours instead of days. Solo developers can build things that once required teams. Tools like Copilot, Q Developer, and Ghostwriter generate code quickly from informal prompts, conversations, or high-level scenarios.&lt;br&gt;
Become a member&lt;/p&gt;

&lt;p&gt;But across major platforms, the same pattern emerges: pull-request gates, automated reviews, security scans, test generation, agent feedback loops. These are compensating mechanisms. They exist because AI-generated output is fast — but not inherently correct. More guardrails. More reviews. More AI to check AI. Useful — but they don’t change the underlying game.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The real shift begins when intent becomes explicit, formal, and executable.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Constraints, responsibilities, and system boundaries that are defined upfront in a machine-verifiable way. AI no longer guesses what one means — it operates within strict, normative rules. Invalid states are excluded by design. Auditable, reproducible systems become the default, not the exception.&lt;/p&gt;

&lt;p&gt;This isn’t about coding faster. It’s about deciding earlier and more precisely — so AI can materialize software as intended, not merely as inferred.&lt;/p&gt;

&lt;p&gt;If you want to break the cycle of managing ambiguity and chasing correctness downstream, you need more than better AI. You need a new foundation: formal, executable intent. That is the real breakthrough.&lt;/p&gt;

&lt;p&gt;A shift away from coding toward specification.&lt;br&gt;
A shift away from code dependency toward executable requirements as first-class artifacts.&lt;/p&gt;

&lt;p&gt;Vibe Coding speeds up the old game.&lt;br&gt;
Executable intent changes the game.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Approaches like &lt;a href="https://secos.rocks" rel="noopener noreferrer"&gt;Secos Rocks&lt;/a&gt; envision a world where software is defined by explicit, formal intent rather than incidental implementation details.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Teams define what a system must be — clearly, formally, and testably. The specification becomes the source of truth. Delivery is reproducible by default, auditable by construction, and scalable through semantic definitions and formal requirements rather than individual effort.&lt;/p&gt;

&lt;p&gt;This shifts the center of gravity from implementation detail to domain clarity. Meaning, behavior, dependencies, governance, and environments are captured as first-class artifacts. AI automates materialization; humans define intent, constraints, and responsibility.&lt;/p&gt;

&lt;p&gt;Software is no longer defined by how it is coded, but by what is made explicit. When requirements are executable, validation, auditability, and governance become intrinsic properties of the build.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;This is how future software gets built.&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
