Saved in:
Bibliographic Details
Main Authors: Töpfer, Michal, Plášil, František, Bureš, Tomáš, Hnětynka, Petr
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2602.18607
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915810850635776
author Töpfer, Michal
Plášil, František
Bureš, Tomáš
Hnětynka, Petr
author_facet Töpfer, Michal
Plášil, František
Bureš, Tomáš
Hnětynka, Petr
contents In CAS adaptation, a challenge is to define the dynamic architecture of the system and changes in its behavior. Implementation-wise, this is projected into an adaptation mechanism, typically realized as an Adaptation Manager (AM). With the advances of generative LLMs, generating AM code based on system specification and desired AM behavior (partially in natural language) is a tempting opportunity. The recent introduction of vibe coding suggests a way to target the problem of the correctness of generated code by iterative testing and vibe coding feedback loops instead of direct code inspection. In this paper, we show that generating an AM via vibe coding feedback loops is a viable option when the verification of the generated AM is based on a very precise formulation of the functional requirements. We specify these as constraints in a novel temporal logic FCL that allows us to express the behavior of traces with much finer granularity than classical LTL enables. Furthermore, we show that by combining the adaptation and vibe coding feedback loops where the FCL constraints are evaluated for the current system state, we achieved good results in the experiments with generating AMs for two example systems from the CAS domain. Typically, just a few feedback loop iterations were necessary, each feeding the LLM with reports describing detailed violations of the constraints. This AM testing was combined with high run path coverage achieved by different initial settings.
format Preprint
id arxiv_https___arxiv_org_abs_2602_18607
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Feedback-based Automated Verification in Vibe Coding of CAS Adaptation Built on Constraint Logic
Töpfer, Michal
Plášil, František
Bureš, Tomáš
Hnětynka, Petr
Artificial Intelligence
In CAS adaptation, a challenge is to define the dynamic architecture of the system and changes in its behavior. Implementation-wise, this is projected into an adaptation mechanism, typically realized as an Adaptation Manager (AM). With the advances of generative LLMs, generating AM code based on system specification and desired AM behavior (partially in natural language) is a tempting opportunity. The recent introduction of vibe coding suggests a way to target the problem of the correctness of generated code by iterative testing and vibe coding feedback loops instead of direct code inspection. In this paper, we show that generating an AM via vibe coding feedback loops is a viable option when the verification of the generated AM is based on a very precise formulation of the functional requirements. We specify these as constraints in a novel temporal logic FCL that allows us to express the behavior of traces with much finer granularity than classical LTL enables. Furthermore, we show that by combining the adaptation and vibe coding feedback loops where the FCL constraints are evaluated for the current system state, we achieved good results in the experiments with generating AMs for two example systems from the CAS domain. Typically, just a few feedback loop iterations were necessary, each feeding the LLM with reports describing detailed violations of the constraints. This AM testing was combined with high run path coverage achieved by different initial settings.
title Feedback-based Automated Verification in Vibe Coding of CAS Adaptation Built on Constraint Logic
topic Artificial Intelligence
url https://arxiv.org/abs/2602.18607