Manuscript Offprint

arXiv:2608.28880

FlowCheck: Helping End-Users Specify and Verify Intent in Vibe-Coded Web Apps

Reya Vir, Lydia Chilton, Zhuo Zhang, Eugene Wu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Reya Vir

DAPLab Columbia University

New York, USA

reyavir@cs.columbia.edu

Zhuo Zhang

DAPLab Columbia University

New York, USA

zz3474@columbia.edu

Lydia Chilton

DAPLab Columbia University

New York, USA

chilton@cs.columbia.edu

Eugene Wu

DAPLab Columbia University

New York, USA

ewu@cs.columbia.edu

Abstract

Vibe-coded applications often contain silent behavioral failures in which the interface appears functional even though user-visible information does not flow to the expected state or output. We introduce FlowCheck, a constraint language to specify these user-visible information flows directly through the application interface, where constraints can also be displayed and inspected without reading code, and are structured enough for reliable LLM generation. FlowCheck translates the constraints into deterministic CodeQL analyses, and we evaluate it across four applications generated via Claude Code, and compare with three coding models as bug-finding baselines. We find that FlowCheck correctly translates and flags all 30 of our injected constraint violations with no false positives. In contrast, frontier models (Claude Opus 4.7, DeepSeek V3, and Gemini Pro) showed significantly lower accuracy when prompted to find bugs in the same code, with none achieving full accuracy. This approach lets vibe coders state intent in terms of the interface they understand, and checks it deterministically against the code they do not.

CCS Concepts: • Software and its engineering → Software verification and validation; Domain specific languages; • Human-centered computing → Interactive systems and tools.

Keywords: Vibe Coding, LLM Code Generation, End-User Programming, Static Analysis, Software Verification

ACM Reference Format:

Reya Vir, Lydia Chilton, Zhuo Zhang, and Eugene Wu. 2026. FlowCheck: Helping End-Users Specify and Verify Intent in Vibe-Coded Web Apps. In Proceedings of the 2nd ACM SIGPLAN International Workshop on Language Models and Programming Languages (LMPL '26),

Figure

This work is licensed under a Creative Commons Attribution 4.0 International License.

LMPL '26, Oakland, CA, USA

© 2026 Copyright held by the owner/author(s).

ACM ISBN 979-8-4007-2986-7/2026/10

https://doi.org/10.1145/3843750.3843844

October 4–9, 2026, Oakland, CA, USA. ACM, New York, NY, USA, 14 pages. https://doi.org/10.1145/3843750.3843844

1 Introduction

Large language model (LLM) coding agents have democratized software development. End users with little programming experience can now “Vibe code” complex applications and iterate on their features via natural language. These Vibe Coders evaluate progress primarily by interacting with the application rather than inspecting its implementation. This shifts the bottleneck from writing code to determining whether the generated application behaves as intended.

Coding agents remain unreliable. They may misunderstand requests, omit necessary state updates, introduce incorrect data flows, or break previously working behavior. Prior work has documented incomplete implementations, regressions, and incorrect agent-generated code [7, 33]. Beyond code-level errors, large-scale analysis of real coding-agent sessions shows that agents frequently break down on what users actually want [29]. These Silent Behavioral Failures—the application runs but its observable behavior violates user intents—are especially difficult to detect when the application compiles, renders normally, and produces plausible feedback. A button may report success even though no data was saved, or a displayed value may update without reflecting the state it is supposed to represent.

Existing debugging techniques like unit, integration, and end-to-end testing can validate behavior, but require users to identify test cases and encode the expected result as an executable oracle. LLM-based testing and debugging reduce the authoring burden, but we find these are probabilistic and limited in the types of failures they can identify. Traditional static analysis and program verification techniques are deterministic for predefined program properties, but are designed for programmers rather than vibe coders.

Vibe coders therefore need a way to express what they expect in terms of the interface they understand and to deterministically check whether the implementation supports that behavior. We focus on web applications, where user

Reya Vir, Lydia Chilton, Zhuo Zhang, and Eugene Wu

intents can be expressed as constraints over flows between user actions, interface-level updates, persistent state, and backend calls. For example, a user may expect that clicking a button should update a displayed total based on an input, or that submitting a form will persist its contents.

We introduce FlowCheck, a system that expresses and checks data and control flow constraints over visible interface elements and application effects—for instance, that an action should not update a particular component, values should derive from specific inputs, state must persist across reloads, or an action must trigger an API call. We define a constraint language that users can express and visualize directly in the application interface, and that can be easily generated by LLMs. The constraints compile to static analysis queries (CodeQL) over the application's event handlers, control and data flow, and interface and storage accesses.

Example 1.1. The user asks an agent to add a promotional-code feature to a vibe-coded shopping application. The agent creates a promo input and an "Apply" button. When the user enters a valid code, the interface displays "Discount applied!" even though the new total is neither persisted nor shown:

function applyPromo() {
    const getId = id => document.getElementById(id);
    const code = getId('promo-input').value;

if (code === 'SAVE20') {
        // read and update cart state
        let tot = parseFloat(localStorage.getItem('cartTotal'));
        tot *= 0.8;

// Update success message in UI
        getId('promo-msg').innerHTML = 'Discount_applied!';

// BUG: did not persist nor display updated total
        // localStorage.setItem('cartTotal', tot); // missing
    }
}

Although the app runs and the message suggests the feature works, it violates the user's expectation that applying the code changes the cart total, even on refresh. In FlowCheck, users can specify that clicking the button should cause the promo code to update the displayed and persisted total. The analysis identifies that the message is updated but the discounted value does not flow to either destination.

Unlike LLM-as-judge approaches, FlowCheck returns the same result for identical code and constraints, without executing the app. Here, our focus is on properties that can be statically analyzed, as they are lightweight and can be used within agent loops. We find that constraints are useful targets for agents to generate to aid testing their code, and violations provide details of the failure and intended behavior, which guides debugging and avoids relying on vibe-coder guesses. Our paper makes the following contributions:

  1. We develop a taxonomy of silent behavioral failures from a formative study spanning four applications, three coding

models, and four iteration steps. From these, we identified 23 distinct failures, where nearly half (48%) can be expressed and checked fully using our static constraints.

  1. We introduce a constraint language and interface through which end users express expected behavior using visible elements, actions, and effects.

  2. We present a deterministic static-analysis system that translates these constraints into CodeQL queries and checks the required control-flow and data-flow relationships.

  3. We evaluate FlowCheck on 30 injected failures across four web applications (14–21 constraints each), where it achieves 100% detection accuracy, compared to at most 26/30 (87%) for the best LLM baseline (Claude, best prompt). We further show that agents can author valid constraints in our language, and that using them to check code raises the agents' bug-catch rate on a test app, an early sign the language is learnable and usable by LLMs.

References (22)