Vibe-Coding: Feedback-Based Automated Verification with no Human Code Inspection, a Feasibility Study
Pith reviewed 2026-05-10 11:14 UTC · model grok-4.3
The pith
Fine-grained runtime constraint violations let LLMs iteratively produce valid adaptation managers for collective adaptive systems without any human code review.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The paper shows that, in the Dragon Hunt CAS case study, 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. 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.
What carries the argument
The integrated feedback loop that pairs the CAS adaptation loop with precise runtime checks against architectural constraints and Functional Constraints Logic (FCL) formulas, then feeds violation details back to the LLM for repair.
If this is right
- Domain experts without programming skills can still obtain working runtime-adaptive managers.
- Human code inspection is no longer required for verification in this setting.
- Precision of feedback reports matters more than the choice of LLM or initial prompt for success.
- The same loop can be applied to other collective adaptive systems whose constraints can be expressed in FCL.
Where Pith is reading between the lines
- The method might apply to LLM-generated code in non-adaptive domains if suitable constraint languages are developed.
- If FCL-style specifications prove reusable across projects, the upfront cost of writing them could be amortized over many generated systems.
- Scaling the approach to larger systems would require automated ways to maintain and update the constraint set as requirements evolve.
Load-bearing premise
That the chosen constraints and FCL formulas will catch every relevant runtime failure and that the LLM can always translate the violation reports into correct fixes without introducing new errors.
What would settle it
A trial in which the LLM receives repeated violation reports yet produces code that still fails at runtime or that introduces new failures the constraints do not detect.
Figures
read the original abstract
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.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper presents a feasibility study on vibe-coding for LLM-generated adaptation managers in Collective Adaptive Systems (CAS). It combines an adaptation loop with a feedback loop that checks correctness against generic architectural constraints and functional constraints expressed in a new first-order temporal logic called Functional Constraints Logic (FCL) over potentially finite traces. In the Dragon Hunt CAS case study, the authors report that fine-grained violation reports enable the LLM to produce valid managers within a few iterations, while coarse metric-based feedback often stalls. They conclude that feedback precision is the dominant factor, allowing domain experts without programming skills to create reliable systems without human code inspection.
Significance. If the empirical observations hold beyond the single case study, the work could reduce the human verification burden in developing runtime-adaptive systems and enable non-programmers to participate more directly. The introduction of FCL as a novel logic tailored to finite traces is a concrete technical contribution that may find use in other verification contexts. The paper is grounded in a concrete CAS example rather than purely abstract claims, which strengthens its practical relevance.
major comments (2)
- [Dragon Hunt CAS case study] Dragon Hunt CAS case study: the central claim that fine-grained feedback 'obviates the need for human code inspection' rests on the unshown assumption that the chosen architectural constraints plus FCL formulas detect every relevant runtime failure mode. No completeness argument, exhaustive enumeration of failure modes, or proof sketch is provided that the selected constraints cover the full space of possible failures for this domain (or for CAS in general). If an undetected failure exists, the loop cannot guarantee correctness and the LLM may still emit unsafe code.
- [Dragon Hunt CAS case study] Results presentation (case study section): iteration counts, success rates, exact FCL formulas used, number of runs, and any statistical measures (error bars, baselines, or variance) are not reported. Without these, it is impossible to judge whether the observed difference between fine-grained and coarse feedback is robust or reproducible, weakening the claim that precision is 'the dominant factor'.
minor comments (2)
- [FCL definition] The definition and semantics of FCL (first-order temporal logic over finite traces) would benefit from an explicit grammar or small example derivation to clarify how violation reports are generated and fed back to the LLM.
- [Related work] The manuscript would be strengthened by a short discussion of related work on runtime verification of adaptive systems and on LLM-based code repair loops, even if only to position the novelty of combining architectural constraints with FCL.
Simulated Author's Rebuttal
We thank the referee for the constructive and detailed comments on our feasibility study. We address each major comment below, clarifying the scope of our claims and committing to improvements in the revised manuscript.
read point-by-point responses
-
Referee: [Dragon Hunt CAS case study] Dragon Hunt CAS case study: the central claim that fine-grained feedback 'obviates the need for human code inspection' rests on the unshown assumption that the chosen architectural constraints plus FCL formulas detect every relevant runtime failure mode. No completeness argument, exhaustive enumeration of failure modes, or proof sketch is provided that the selected constraints cover the full space of possible failures for this domain (or for CAS in general). If an undetected failure exists, the loop cannot guarantee correctness and the LLM may still emit unsafe code.
Authors: We appreciate the referee's emphasis on this point. Our paper is framed as a feasibility study, not a general verification framework, and we do not claim or assume that the chosen constraints and FCL formulas detect every possible runtime failure mode. The central observation is that, for the specific Dragon Hunt CAS, these constraints provided sufficient feedback for the LLM to converge on a valid adaptation manager without human code inspection. We acknowledge that undetected failures could exist outside the covered constraints. In the revision we will add an explicit limitations subsection (likely in the case study or discussion) that states the assumptions about constraint coverage, notes the absence of a completeness argument, and moderates the language to indicate that human inspection is reduced rather than fully obviated when the constraints are adequate for the domain. revision: yes
-
Referee: [Dragon Hunt CAS case study] Results presentation (case study section): iteration counts, success rates, exact FCL formulas used, number of runs, and any statistical measures (error bars, baselines, or variance) are not reported. Without these, it is impossible to judge whether the observed difference between fine-grained and coarse feedback is robust or reproducible, weakening the claim that precision is 'the dominant factor'.
Authors: We agree that the current results section would benefit from greater transparency and detail to support reproducibility and assessment of robustness. The experiments consisted of multiple LLM runs comparing fine-grained versus coarse feedback. In the revised manuscript we will report the exact FCL formulas, per-run iteration counts, success rates (e.g., fraction of trials reaching a valid manager within a bounded number of iterations), number of runs performed, and observed variance. We will also include a brief discussion of experimental variability inherent to LLM sampling and note any simple baselines used. These additions will be presented in tables or enumerated lists within the case study section. revision: yes
Circularity Check
No circularity; empirical case-study observations with no self-referential derivations
full rationale
The paper is a feasibility study reporting empirical results from the Dragon Hunt CAS case study. Central claims concern the relative effectiveness of fine-grained constraint violations versus coarse metrics in enabling LLM fixes within the vibe-coding loop. These are presented as observations from running the combined adaptation+verification process, not as quantities derived from equations or parameters that reduce to the inputs by construction. No mathematical derivations, fitted inputs renamed as predictions, or self-citation chains appear in the abstract or provided text. The introduction of FCL is a definitional contribution rather than a circular one, and success is demonstrated experimentally on the chosen example rather than proven in a self-contained deductive chain. The study is therefore self-contained against external benchmarks.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption Architectural constraints plus FCL formulas are sufficient to detect all relevant failures of the generated adaptation managers.
- domain assumption The LLM can interpret precise violation reports and produce corrected code that satisfies the constraints.
invented entities (1)
-
Functional Constraints Logic (FCL)
no independent evidence
Reference graph
Works this paper leans on
-
[1]
Tomas Bures, Ilias Gerostathopoulos, Petr Hnetynka, Jaroslav Keznikl, Michal Kit, and Frantisek Plasil. 2013. DEECo – an Ensemble-Based Component System. InProc. of CBSE’13. ACM, 81–90
work page 2013
- [2]
-
[3]
Rocco De Nicola, Stefan Jähnichen, and Martin Wirsing. 2020. Rigorous engi- neering of collective adaptive systems: special section.International Journal on Software Tools for Technology Transfer22, 4 (2020), 389–397. doi:10.1007/s10009- 020-00565-0
-
[4]
Nicola Del Giudice, Michele Loreti, Michela Quadrini, and Aniqa Rehman. 2025. Monitoring Local and Global Properties of Collective Adaptive Systems. In Leveraging Applications of Formal Methods, Verification and Validation. Rigorous Engineering of Collective Adaptive Systems. Springer, 281–296
work page 2025
-
[5]
Yuyao Ge, Lingrui Mei, Zenghao Duan, Tianhao Li, Yujia Zheng, Yiwei Wang, Lexin Wang, Jiayu Yao, Tianyu Liu, Yujun Cai, Baolong Bi, Fangda Guo, Jiafeng Guo, Shenghua Liu, and Xueqi Cheng. 2025. A Survey of Vibe Coding with Large Language Models. arXiv:2510.12399 [cs.AI] https://arxiv.org/abs/2510.12399
-
[6]
Mikhail Y. Kovalyov and Erwin Pesch. 2010. A generic approach to proving NP-hardness of partition type problems.Discrete Applied Mathematics158, 17 (2010), 1908–1912. doi:10.1016/j.dam.2010.08.001
-
[7]
Michele Loreti and Aniqa Rehman. [n. d.]. A Logical Framework for Reasoning About Local and Global Properties of Collective Systems. InProc. of QEST 2022, Warsaw, Poland. doi:10.1007/978-3-031-16336-4_7
- [8]
- [9]
-
[10]
Michal Töpfer, Tomáš Bureš, František Plášil, and Petr Hnětynka. 2025. On Limits of LLMs in Adaptation of Ensemble-Based Architectures. (2025). doi:10. 2139/ssrn.5357551
work page 2025
- [11]
-
[12]
Karthik Vaidhyanathan and Henry Muccini. 2026. Software Architecture in the Age of Agentic AI. InSoftware Architecture. ECSA 2025 Tracks and Work- shops. Springer Nature Switzerland, Cham, 41–49
work page 2026
- [13]
-
[14]
Li Zhong and Zilong Wang. 2024. Can LLM Replace Stack Overflow? A Study on Robustness and Reliability of Large Language Model Code Generation.Proceed- ings of the AAAI Conference on Artificial Intelligence38, 19 (2024), 21841–21849. doi:10.1609/aaai.v38i19.30185 5
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.