Vibe-Coding: Feedback-Based Automated Verification with no Human Code Inspection, a Feasibility Study

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Töpfer, Michal, Plášil, František, Bureš, Tomáš, Hnětynka, Petr
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917413556060160
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 Vibe coding inherently assumes iterative refinement of LLM-generated code through feedback loops. While effective for conventional software tasks, its reliability in runtime-adaptive systems is unclear -- especially when generated code is not manually inspected. This paper studies feedback-based automated verification of LLM-generated adaptation managers in Collective Adaptive Systems (CAS). We focus on the key challenges of verification in the loop: how to detect failures of generated code at runtime and how to report them precisely enough for an LLM to fix them. We combine the adaptation loop with a vibe-coding feedback loop where correctness is checked against (i) generic architectural constraints and (ii) functional constraints formalized in Functional Constraints Logic (FCL), a novel first-order temporal logic over potentially finite traces. Conducting the Dragon Hunt CAS case study, we show that fine-grained constraint violations provide actionable feedback that typically yields a valid adaptation manager within a few iterations, while simple coarse metric-based feedback often stalls. Our findings suggest that feedback precision is the dominant factor for reliable vibe coding in systems designed by domain experts with no programming skills, thereby obviating the need for human code inspection.
format Preprint
id arxiv_https___arxiv_org_abs_2604_14867
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Vibe-Coding: Feedback-Based Automated Verification with no Human Code Inspection, a Feasibility Study
Töpfer, Michal
Plášil, František
Bureš, Tomáš
Hnětynka, Petr
Software Engineering
Artificial Intelligence
Vibe coding inherently assumes iterative refinement of LLM-generated code through feedback loops. While effective for conventional software tasks, its reliability in runtime-adaptive systems is unclear -- especially when generated code is not manually inspected. This paper studies feedback-based automated verification of LLM-generated adaptation managers in Collective Adaptive Systems (CAS). We focus on the key challenges of verification in the loop: how to detect failures of generated code at runtime and how to report them precisely enough for an LLM to fix them. We combine the adaptation loop with a vibe-coding feedback loop where correctness is checked against (i) generic architectural constraints and (ii) functional constraints formalized in Functional Constraints Logic (FCL), a novel first-order temporal logic over potentially finite traces. Conducting the Dragon Hunt CAS case study, we show that fine-grained constraint violations provide actionable feedback that typically yields a valid adaptation manager within a few iterations, while simple coarse metric-based feedback often stalls. Our findings suggest that feedback precision is the dominant factor for reliable vibe coding in systems designed by domain experts with no programming skills, thereby obviating the need for human code inspection.
title Vibe-Coding: Feedback-Based Automated Verification with no Human Code Inspection, a Feasibility Study
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2604.14867