<?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: Mayank rajput</title>
    <description>The latest articles on DEV Community by Mayank rajput (@trynocoder).</description>
    <link>https://dev.to/trynocoder</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4068903%2F33ab4c26-bfef-438a-ab56-20cd8b38e562.jpg</url>
      <title>DEV Community: Mayank rajput</title>
      <link>https://dev.to/trynocoder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/trynocoder"/>
    <language>en</language>
    <item>
      <title>We tried to break an AI-built food ordering app: two phones, one last portion</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Sun, 29 Nov 2026 08:49:14 +0000</pubDate>
      <link>https://dev.to/trynocoder/we-tried-to-break-an-ai-built-food-ordering-app-two-phones-one-last-portion-cn6</link>
      <guid>https://dev.to/trynocoder/we-tried-to-break-an-ai-built-food-ordering-app-two-phones-one-last-portion-cn6</guid>
      <description>&lt;p&gt;If a restaurant puts 25 portions of a dish online for pickup, two customers tapping "Place order" on the last portion at the same second shouldn't both get an order confirmation. That's the kind of bug a single-browser demo never shows, so we built a pickup ordering app and tried to break it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The build
&lt;/h2&gt;

&lt;p&gt;One prompt in NoCoder (full-stack mode, DeepSeek V4.1 Flash), with no follow-up message:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Build an online pickup ordering app for Tandoor &amp;amp; Tiffin, a food counter in Hyderabad with limited daily portions, a live menu board, a customer order-status page, and a password-protected /admin board where the owner can mark dishes sold out or ready for pickup.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It generated 37 files and finished in 19 minutes ("Everything checks out").&lt;/p&gt;

&lt;h2&gt;
  
  
  Four tests we ran on the running app
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Two phones racing for the last Paneer Tikka.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;We ordered down to 1 portion left, then tapped "Place order" simultaneously from two devices.&lt;/li&gt;
&lt;li&gt;Phone A got &lt;code&gt;ORDER CONFIRMED TT-PCKNL&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Phone B got: &lt;code&gt;"Paneer Tikka sold out while you were deciding, so your bag is empty now."&lt;/code&gt; The menu board updated to &lt;code&gt;SOLD OUT TODAY&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2. Owner marks Butter Chicken sold out.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tapped "Mark sold out" on &lt;code&gt;/admin&lt;/code&gt;; the customer board switched from &lt;code&gt;30 PORTIONS LEFT&lt;/code&gt; to &lt;code&gt;SOLD OUT TODAY&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3. Live order status update.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Tapped "Mark ready" on &lt;code&gt;TT-PCKNL&lt;/code&gt;; the customer's &lt;code&gt;/order/TT-PCKNL&lt;/code&gt; page flipped to &lt;code&gt;READY FOR PICKUP&lt;/code&gt; without a page reload.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;4. A stranger opens &lt;code&gt;/admin&lt;/code&gt;.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An unauthenticated browser received only the sign-in screen (&lt;code&gt;0/8&lt;/code&gt; customer names or numbers in the HTML), wrong passwords were rejected, and &lt;code&gt;/api/admin/orders&lt;/code&gt; + &lt;code&gt;/api/admin/dishes&lt;/code&gt; returned &lt;code&gt;401&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What it still got wrong
&lt;/h2&gt;

&lt;p&gt;Honest testing finds bugs a quick happy-path demo hides:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cart vs. server mismatch on big orders:&lt;/strong&gt; The bag allowed adding 22 Garlic Naan, then &lt;code&gt;POST /api/orders&lt;/code&gt; returned &lt;code&gt;400&lt;/code&gt; (&lt;code&gt;"Something in your cart looked wrong. Please reload and try again."&lt;/code&gt;) while orders of 10 and 12 went through. No stock was taken, but the UI shouldn't let you add more than the server accepts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Public order-code page leaked the customer's phone number:&lt;/strong&gt; Opening &lt;code&gt;/order/TT-PCKNL&lt;/code&gt; in a fresh browser without logging in showed &lt;code&gt;"Collecting as Ananya Reddy · 9876500001"&lt;/code&gt;. Since order codes are &lt;code&gt;TT-&lt;/code&gt; plus 5 characters, that page needs a phone/PIN check or masked contact info before real launch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Admin login redirect:&lt;/strong&gt; After a correct password (&lt;code&gt;POST /api/admin/session&lt;/code&gt; 200), &lt;code&gt;/admin/login&lt;/code&gt; stayed on screen instead of redirecting automatically to &lt;code&gt;/admin&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Invented store details:&lt;/strong&gt; Prices (₹220–₹340), portion counts, and a Banjara Hills address were invented because the prompt omitted them.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What to test before trusting any AI-built ordering app
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Race two browsers on the &lt;strong&gt;last&lt;/strong&gt; item in stock.&lt;/li&gt;
&lt;li&gt;Add a huge quantity (e.g., 20+) to verify front-end and API validation agree.&lt;/li&gt;
&lt;li&gt;Open your order-status URL in a private window to check what PII is exposed without auth.&lt;/li&gt;
&lt;li&gt;Hit &lt;code&gt;/api/admin/*&lt;/code&gt; endpoints directly without cookies (&lt;code&gt;401&lt;/code&gt; expected).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Full prompt, exact test logs, and the walkthrough video (&lt;code&gt;https://youtu.be/9XiTSoraotg&lt;/code&gt;): &lt;a href="https://nocoder.codes/gallery/tandoor-and-tiffin" rel="noopener noreferrer"&gt;https://nocoder.codes/gallery/tandoor-and-tiffin&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>nocode</category>
      <category>testing</category>
    </item>
    <item>
      <title>We tried to break an AI-built barber booking site: two phones, one 12:00 slot</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Sun, 22 Nov 2026 10:27:13 +0000</pubDate>
      <link>https://dev.to/trynocoder/we-tried-to-break-an-ai-built-barber-booking-site-two-phones-one-1200-slot-4bgi</link>
      <guid>https://dev.to/trynocoder/we-tried-to-break-an-ai-built-barber-booking-site-two-phones-one-1200-slot-4bgi</guid>
      <description>&lt;p&gt;The bug that matters most in a booking site for a barber shop is the same one that matters in any booking site: two people getting the same chair at the same time. A demo with one user never shows it, so we built one and tried to break it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The build
&lt;/h2&gt;

&lt;p&gt;One paragraph, typed into NoCoder (full-stack mode, default model), no follow-up message:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Build a booking website for Sharp &amp;amp; Co., a two-chair barber shop in Pune. Customers pick a service (haircut, beard trim, haircut + beard) with its price, choose a barber (Imran or Rohit), a date and an open time slot, and enter their name and phone number to book. A barber can never be booked twice at the same time, but both barbers can work at the same time. Add an owner page at /admin, behind a password, where the owner sees today's bookings for each chair and can cancel one. Clean, modern design that works on phones.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It planned the files first, built the app with a database behind it, and took 12 minutes. Before finishing, it tested its own rule: both chairs can hold 11:00 at the same time, one chair never twice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three tests we ran on the finished site
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Same barber, same 12:00, two phones at once.&lt;/strong&gt; Both phones picked Imran at 12:00 and pressed Confirm together. One got "Chair's booked… we've held the seat for Imran". The other got "That time has just gone for Imran. Pick another slot."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. A stranger with the owner-page link.&lt;/strong&gt; Opening /admin without the password shows only the sign-in form, and a wrong password is refused. None of the customer names or numbers were in what the stranger's browser received.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The owner cancels a booking.&lt;/strong&gt; We booked 19:30 for a test customer; on a second phone that slot was greyed out. The owner cancelled it on /admin, and the 19:30 slot opened again on the customer's phone.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it got wrong
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The prompt gave no prices or address, so the build made them up (₹450 haircut, a Koregaon Park address, barber bios). A real shop would replace them.&lt;/li&gt;
&lt;li&gt;Customers can't cancel their own booking online; only the owner can.&lt;/li&gt;
&lt;li&gt;Its last screenshot check said the menu and time pickers were missing. They were on the page, below the fold. We've since fixed that check to look at the whole page.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The 5-minute test for any AI-built booking app
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;The same slot from two devices at the same moment.&lt;/li&gt;
&lt;li&gt;Reload and check the booking is still there.&lt;/li&gt;
&lt;li&gt;Open the owner page in a private window.&lt;/li&gt;
&lt;li&gt;Cancel, and check the slot opens again.&lt;/li&gt;
&lt;li&gt;Look at it at phone width.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The full build with the prompt is here: &lt;a href="https://nocoder.codes/gallery/sharp-and-co" rel="noopener noreferrer"&gt;https://nocoder.codes/gallery/sharp-and-co&lt;/a&gt;. The recording, including all three tests, is here: &lt;a href="https://youtu.be/xxw5vVoZbUA" rel="noopener noreferrer"&gt;https://youtu.be/xxw5vVoZbUA&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>nocode</category>
      <category>testing</category>
    </item>
    <item>
      <title>Can We Break It? Three Tests on AI-Built Booking Sites (With Recordings)</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Thu, 19 Nov 2026 13:41:10 +0000</pubDate>
      <link>https://dev.to/trynocoder/can-we-break-it-three-tests-on-ai-built-booking-sites-with-recordings-4nih</link>
      <guid>https://dev.to/trynocoder/can-we-break-it-three-tests-on-ai-built-booking-sites-with-recordings-4nih</guid>
      <description>&lt;p&gt;An AI saying "done" tells you very little. The question that matters for a booking site is simpler: what happens when two real people use it at the same time?&lt;/p&gt;

&lt;p&gt;So we took two booking sites that NoCoder built from one-paragraph prompts and tried to break them on phone-size screens. Everything below is a real recording of the running app. The names and phone numbers are test data.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test 1: two people, one mat left
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://nocoder.codes/gallery/stillwater-yoga" rel="noopener noreferrer"&gt;Stillwater Yoga&lt;/a&gt; is a class booking site for a small studio: 12 mats per class, a waitlist when a class is full, and a teacher page for cancellations. The prompt included one line we wanted to test directly: "Two people must never get the last spot."&lt;/p&gt;

&lt;p&gt;We filled a class to 11 of 12, opened the site on two phones, and pressed Book on both at the same moment.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One phone got &lt;strong&gt;seat 12&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The other got &lt;strong&gt;waitlist, position 1&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Then the teacher cancelled the booking on seat 12, and the person on the waitlist moved into seat 12 without anyone doing anything else.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The build itself took 13:44 on the run timer, and before it reported done, the agent ran its own race test (12 booked, 2 waitlisted). The &lt;a href="https://nocoder.codes/gallery/stillwater-yoga" rel="noopener noreferrer"&gt;gallery page&lt;/a&gt; lists that, along with what we found still wrong: right after the build the preview showed an error, which one follow-up message fixed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test 2: same barber, same 12 PM
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://nocoder.codes/gallery/fade-lab" rel="noopener noreferrer"&gt;Fade Lab&lt;/a&gt; is a booking site for a two-barber shop. Its prompt said: "A barber can never be booked twice at the same time, but both barbers can work at the same time."&lt;/p&gt;

&lt;p&gt;Two phones picked the same service, the same barber (Arjun), the same day and 12 PM, and tapped Confirm together.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One got &lt;strong&gt;"You're booked."&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;The other got &lt;strong&gt;"Sorry — that time was just taken. Please pick another slot."&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This race test was ours, run against the finished site. The &lt;a href="https://nocoder.codes/gallery/fade-lab" rel="noopener noreferrer"&gt;Fade Lab page&lt;/a&gt; is honest about the rest: the prices were made up by the build because the prompt gave none, and the first run hit a workspace that wasn't ready yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test 3: a refresh can lie
&lt;/h2&gt;

&lt;p&gt;This one catches a different kind of fake. Some quickly built apps keep data only inside your browser. After a refresh on the same phone, your booking is still there, so it looks saved. But nobody else will ever see it, including the shop.&lt;/p&gt;

&lt;p&gt;So we used a second browser that shares none of the app's saved data with the first:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Phone B shows Arjun free at 2:30.&lt;/li&gt;
&lt;li&gt;Phone A books 2:30 and gets "You're booked."&lt;/li&gt;
&lt;li&gt;Phone B reloads the page, picks the same barber and day, and 2:30 is gone: the list now goes 2pm, 3pm.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The booking reached the shop, not just one phone.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to run these tests on any booking site (no code needed)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The last spot.&lt;/strong&gt; Fill a slot down to one place, open the site in two windows, and book in both at once. Exactly one should succeed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The same resource.&lt;/strong&gt; For anything with staff or rooms, book the same person at the same time from two windows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The second device.&lt;/strong&gt; Book on your laptop, then open the site on your phone (on mobile data, not your Wi-Fi). If the slot still looks free there, nothing was really saved.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The cancel.&lt;/strong&gt; Cancel a booking and check that the slot (or the next person on the waitlist) actually comes back.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It takes about ten minutes, and it turns "the AI said it works" into "I saw it work".&lt;/p&gt;

&lt;h2&gt;
  
  
  Watch the recording
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Last mat: &lt;a href="https://www.youtube.com/shorts/1pIIsyB_h9Y" rel="noopener noreferrer"&gt;YouTube Short&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Want to try your own? Copy a prompt from the &lt;a href="https://nocoder.codes/gallery" rel="noopener noreferrer"&gt;gallery&lt;/a&gt;, change the business, and &lt;a href="https://nocoder.codes/build" rel="noopener noreferrer"&gt;build it free&lt;/a&gt;. Then try to break it.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://nocoder.codes/blog/can-we-break-ai-built-booking-sites" rel="noopener noreferrer"&gt;NoCoder blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>testing</category>
      <category>nocode</category>
    </item>
    <item>
      <title>We tried to double-book an AI-built booking site: two phones, one 10:00 slot</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Tue, 17 Nov 2026 16:26:12 +0000</pubDate>
      <link>https://dev.to/trynocoder/we-tried-to-double-book-an-ai-built-booking-site-two-phones-one-1000-slot-49ah</link>
      <guid>https://dev.to/trynocoder/we-tried-to-double-book-an-ai-built-booking-site-two-phones-one-1000-slot-49ah</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://nocoder.codes/blog/ai-built-booking-site-double-booking-test" rel="noopener noreferrer"&gt;NoCoder blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Short answer:&lt;/strong&gt; an AI-built booking site is only as good as what happens when two people want the same time. Put "a time slot can't be booked twice" in your prompt, then test it yourself with two devices before you send the link to customers. Below is a real build where we did exactly that, including what the AI caught and what it missed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why double booking is the bug that matters
&lt;/h2&gt;

&lt;p&gt;Most AI-built booking sites look finished in the first preview: services, a calendar, time buttons, a confirmation screen. The problem only shows up when two customers act at the same moment. If the app checks availability in the browser and then saves the booking without checking again on the server, both people see "You're booked!" for the same slot. The owner finds out when two dogs (or two clients) turn up at 10:00.&lt;/p&gt;

&lt;p&gt;A one-person demo never reveals this. You have to try it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The build
&lt;/h2&gt;

&lt;p&gt;We used NoCoder (our own AI app builder) on the free plan, with this prompt:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Build a booking website for Paws &amp;amp; Suds, a dog grooming salon in Pune. Customers pick a service (bath, full groom, nail trim) with its price, choose a date and an open time slot, and enter their name, phone and their dog's name to book. A time slot can't be booked twice. Add an admin page at /admin where the owner sees today's bookings and can cancel one. Warm, friendly design that works on phones.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Note the sentence &lt;strong&gt;"A time slot can't be booked twice."&lt;/strong&gt; If you leave it out, you are leaving the most important rule to chance.&lt;/p&gt;

&lt;p&gt;What happened, start to finish:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;It planned first.&lt;/strong&gt; Before writing code, it listed 11 steps for the site.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It built it.&lt;/strong&gt; The run timer read 16 minutes for the build.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It checked its own work before saying done.&lt;/strong&gt; It ran the real build, sent a request to the running app, and clicked through the site in its own browser. Along the way it found a real bug, that the owner would not have been able to sign in to the admin page, and fixed it before finishing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The owner page worked:&lt;/strong&gt; /admin showed the day's bookings.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What it missed
&lt;/h2&gt;

&lt;p&gt;It wasn't perfect. On a phone, the row of dates pushed the page wider than the screen, so everything showed zoomed out. One plain-English follow-up fixed it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;On a phone the page doesn't fit: the row of dates pushes the whole page wider than the screen... Make the booking section fit a 390px-wide phone with no sideways scrolling of the page.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The same message also fixed a second detail: times earlier today that had already passed were labelled "already booked" instead of "passed". Small, but a customer would read it as "this place is full".&lt;/p&gt;

&lt;h2&gt;
  
  
  The two-phone test
&lt;/h2&gt;

&lt;p&gt;Two phones, the same day, the same 10:00 slot, both pressing "Book this slot" one after the other.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Phone one: &lt;strong&gt;"You're booked!"&lt;/strong&gt; with the dog's name and time.&lt;/li&gt;
&lt;li&gt;Phone two: &lt;strong&gt;"That slot just got taken — please pick another time."&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Only one booking went through. The whole run, including the test:&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/uMoUYuwvjC4" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  A 5-minute double-booking test for any AI-built booking app
&lt;/h2&gt;

&lt;p&gt;Whatever tool built your booking site, run these before you share the link:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Same slot, two devices.&lt;/strong&gt; Open the booking page on your phone and on a laptop (or two browser profiles). Pick the same date and time on both, then submit both. Exactly one should succeed; the other should get a clear "taken" message, not a second confirmation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reload.&lt;/strong&gt; Refresh the page after booking. The slot should still show as taken. If it reappears, the booking was only stored in the visitor's browser and the owner will never see it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Owner view.&lt;/strong&gt; Open the admin or owner page. The booking should be there, with the details the customer typed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Past times.&lt;/strong&gt; Try booking a time earlier today. It should be blocked and labelled as passed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Phone width.&lt;/strong&gt; Open it on a real phone. Nothing should scroll sideways, and every button should be tappable.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If step 1 or 2 fails, tell your AI builder exactly what you saw ("two devices both got a confirmation for 10:00") and ask it to enforce the rule on the server, not just in the page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;p&gt;The prompt above works as a template: change the business, the services and the hours. Every app in the &lt;a href="https://nocoder.codes/gallery" rel="noopener noreferrer"&gt;NoCoder gallery&lt;/a&gt; shows the exact prompt it was built from.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>nocode</category>
      <category>testing</category>
    </item>
    <item>
      <title>I recorded an AI building a booking app for a knife-sharpening van (40-second cut)</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Fri, 06 Nov 2026 05:54:04 +0000</pubDate>
      <link>https://dev.to/trynocoder/i-recorded-an-ai-building-a-booking-app-for-a-knife-sharpening-van-40-second-cut-ib7</link>
      <guid>https://dev.to/trynocoder/i-recorded-an-ai-building-a-booking-app-for-a-knife-sharpening-van-40-second-cut-ib7</guid>
      <description>&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/h-4_G9yv-uU" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;A mobile knife-sharpening van needs something most booking tools don't do well: customers pick a &lt;strong&gt;street stop&lt;/strong&gt; and a &lt;strong&gt;time slot&lt;/strong&gt;, say how many knives (and scissors) they're handing over, and get a &lt;strong&gt;ticket number&lt;/strong&gt; they show at the van. The owner needs a page with the day's queue that strangers can't open.&lt;/p&gt;

&lt;p&gt;I gave that description to NoCoder as one prompt and recorded the whole run. The 40-second cut above is real footage; the build part is sped up 30× and the booking part 2.6× (both marked on screen).&lt;/p&gt;

&lt;h2&gt;
  
  
  What happened, step by step
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The prompt.&lt;/strong&gt; Plain English: the business, the stops, the slots, the ticket, the owner page.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A plan first.&lt;/strong&gt; Before writing any code it laid out a plan for the app.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code, run.&lt;/strong&gt; It wrote the app and the server that saves bookings, then started it. About 12 minutes from send to "Ready", 43 files changed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Checks before "done".&lt;/strong&gt; This is the part I care about. It ran the type check and the production build, sent requests to the running app, and clicked through the booking flow in its own browser.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The result.&lt;/strong&gt; On a phone: pick Northgate Estates, 2:20 PM, four knives and a pair of scissors, get ticket #6. The owner's queue sits behind a sign-in.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What I'd want to know as a buyer
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Did it actually work, or did it just say so?&lt;/strong&gt; Step 4 is the answer I trust: a real build, a real request to the running server, a real click-through. A summary saying "done" is a claim; those are observations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What's fake?&lt;/strong&gt; Names and phone numbers in the demo are made up (the phone number is from the UK drama range).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can open the app and the exact prompt in the gallery and try your own: &lt;a href="https://nocoder.codes/gallery/the-grinding-wheel?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=knife-van-demo" rel="noopener noreferrer"&gt;nocoder.codes/gallery/the-grinding-wheel&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;What small business would you try this on?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>nocode</category>
      <category>showdev</category>
    </item>
    <item>
      <title>What broke when we ran an AI coding agent on local Ollama models (including a 4GB GPU)</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Thu, 05 Nov 2026 11:41:04 +0000</pubDate>
      <link>https://dev.to/trynocoder/what-broke-when-we-ran-an-ai-coding-agent-on-local-ollama-models-including-a-4gb-gpu-4f9c</link>
      <guid>https://dev.to/trynocoder/what-broke-when-we-ran-an-ai-coding-agent-on-local-ollama-models-including-a-4gb-gpu-4f9c</guid>
      <description>&lt;p&gt;We build an AI app builder, and one feature we wanted was "bring your own Ollama": point the agent at your own models and pay nothing for tokens. Getting a chat answer out of a local model is easy. Getting a multi-step coding agent to work reliably is not. These are the things that broke for us, and what fixed them.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. "Coder" models that can't call tools
&lt;/h2&gt;

&lt;p&gt;The first surprise: &lt;code&gt;qwen2.5-coder&lt;/code&gt; has no native tool calling in Ollama. It writes nice code in chat, but an agent needs it to call &lt;code&gt;read_file&lt;/code&gt;, &lt;code&gt;write_file&lt;/code&gt; and &lt;code&gt;run_command&lt;/code&gt;, and it simply doesn't.&lt;/p&gt;

&lt;p&gt;Of the models we tried, the Qwen3 family handled tool calls best. &lt;code&gt;llama3-groq-tool-use:8b&lt;/code&gt; worked for one call and then fell back to plain text on the next turn, which kills a multi-step loop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lesson:&lt;/strong&gt; pick a model for tool calling first and coding second.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Thinking mode fights tool calls
&lt;/h2&gt;

&lt;p&gt;Qwen3's thinking mode would reason at length and then fail to produce the tool call. Turning thinking off fixed it. For Qwen3 that meant appending &lt;code&gt;/nothink&lt;/code&gt;; other models take a &lt;code&gt;think: false&lt;/code&gt; API parameter.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Tool calls that arrive as text
&lt;/h2&gt;

&lt;p&gt;Small models sometimes write the tool call as JSON inside a normal text reply instead of a structured tool call. We added a parser fallback for JSON blocks, &lt;code&gt;&amp;lt;tool_call&amp;gt;&lt;/code&gt; tags and a few other formats.&lt;/p&gt;

&lt;p&gt;Ollama also doesn't support &lt;code&gt;tool_choice: "required"&lt;/code&gt;, only &lt;code&gt;"auto"&lt;/code&gt;. So when the model replied with text only, we retried with a short nudge: "You must use a tool now."&lt;/p&gt;

&lt;h2&gt;
  
  
  4. A 4GB GPU is mostly a prefill problem
&lt;/h2&gt;

&lt;p&gt;On a GTX 1050 with 4GB of VRAM, the model spills into system RAM and generates at roughly 4–10 tokens a second. That's slow but usable.&lt;/p&gt;

&lt;p&gt;The real killer was prefill. A 3,000-token prompt took 30–60 seconds before the first token appeared. An agent sends a big prompt on every step, so the timeouts piled up.&lt;/p&gt;

&lt;p&gt;What helped:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Compacting history without another model call.&lt;/strong&gt; Older steps get replaced with a short structured summary: files read, files written, commands run, errors seen. Roughly 3,000 tokens became about 100.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A "tiny model" mode.&lt;/strong&gt; For very small models we drop retrieval context, the file tree and long instructions from the system prompt, and cap tool output at a few hundred characters.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fewer turns in memory.&lt;/strong&gt; A tiny model gets the last 6 messages, not the whole conversation.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. Cloud agent, local model
&lt;/h2&gt;

&lt;p&gt;If the agent runs in the cloud, it can't see &lt;code&gt;localhost:11434&lt;/code&gt; on your laptop. You need a tunnel or a public address, and if it's public, a key in front of it. Ollama Cloud avoids that, since it's already reachable.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we'd tell anyone trying this
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Test multi-turn tool calling, not single answers. Some models pass the first call and fail on the next.&lt;/li&gt;
&lt;li&gt;Budget for prefill, not just tokens per second.&lt;/li&gt;
&lt;li&gt;Expect the smallest models to chat fine and still fail full-stack builds. Use the biggest coding model your hardware or plan allows.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Disclosure: I work on &lt;a href="https://nocoder.codes/features/bring-your-own-ollama?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=ollama-lessons" rel="noopener noreferrer"&gt;NoCoder&lt;/a&gt;, where you can connect your own Ollama server or Ollama Cloud key and build full-stack apps with it, including on the free plan. The lessons above apply to any agent you run on Ollama.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ollama</category>
      <category>ai</category>
      <category>llm</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Before you trust an AI-built booking site, test these 5 things</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Thu, 05 Nov 2026 10:54:41 +0000</pubDate>
      <link>https://dev.to/trynocoder/before-you-trust-an-ai-built-booking-site-test-these-5-things-5g60</link>
      <guid>https://dev.to/trynocoder/before-you-trust-an-ai-built-booking-site-test-these-5-things-5g60</guid>
      <description>&lt;p&gt;AI app builders can now make a booking site from one paragraph. A schedule, slot limits, a booking form and an owner page appear in about ten minutes. The preview looks finished.&lt;/p&gt;

&lt;p&gt;Looking finished isn't the same as working for a real business, though. Below are the five checks I run on every AI-built booking app, including the ones we build ourselves. Each takes a couple of minutes, and you don't need to read any code.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Book from two different devices
&lt;/h2&gt;

&lt;p&gt;This is the most common failure. Many AI builders make a frontend-only app that saves bookings in the visitor's browser (localStorage). In the preview it works perfectly: you book a slot and it shows up in the list.&lt;/p&gt;

&lt;p&gt;Now book from your phone and look at the list on your laptop. If your phone's booking isn't there, every customer's booking is living on that customer's phone, and the owner's list will always be empty.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What to ask for:&lt;/strong&gt; "a full-stack app with a database, so bookings from every device land in one list."&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Try to take the last spot twice
&lt;/h2&gt;

&lt;p&gt;Set a slot to 1 place. Open the booking page in two browser windows and book that slot in both at the same moment.&lt;/p&gt;

&lt;p&gt;If both bookings succeed, the slot limit is only checked in the browser. Real customers will double-book you. The limit has to be enforced on the server, inside the same database transaction that saves the booking.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Open the owner page without signing in
&lt;/h2&gt;

&lt;p&gt;Copy the URL of the owner or admin page and open it in a private window. Then try the API behind it, if you can see one in the browser's network tab.&lt;/p&gt;

&lt;p&gt;A "hidden" link isn't a login. The owner side should refuse you, both the page and the data behind it, until you sign in with a real password.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Check what the customer keeps
&lt;/h2&gt;

&lt;p&gt;After booking, does the customer get anything: a booking code, a ticket number, a confirmation they can show at the door? If they close the tab, can they find their booking again?&lt;/p&gt;

&lt;p&gt;If not, you'll get "did my booking go through?" messages all day.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Change something without touching code
&lt;/h2&gt;

&lt;p&gt;Ask the builder to add a new time slot, change a price or rename a service. Then run checks 1 to 3 again.&lt;/p&gt;

&lt;p&gt;AI builders often fix one thing and quietly break another. A change that removes the database or the sign-in is a common way a working app stops working.&lt;/p&gt;

&lt;h2&gt;
  
  
  A real example, including what's still wrong
&lt;/h2&gt;

&lt;p&gt;Here is one we built with &lt;a href="https://nocoder.codes/use-cases/booking-website?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=booking-checks" rel="noopener noreferrer"&gt;NoCoder&lt;/a&gt;, the AI app builder I work on. It came from a single prompt:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I run a mobile knife sharpening van. I park at a different street stop each day of the week. Make a site where customers pick a stop and time slot, say how many knives (and if any are serrated or scissors), and get a pickup ticket number. I need an owner page showing the day's queue in order so I can tick knives off as done.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It's a Next.js app with Prisma and database-backed API routes. Each stop has slots with a capacity limit, customers get a ticket number, and the owner signs in to work through the queue. Signed-out and wrong-password requests to the owner side are refused. It passes checks 1, 3 and 4. We haven't run check 2 (the double booking) on this build yet.&lt;/p&gt;

&lt;p&gt;It isn't perfect, and the &lt;a href="https://nocoder.codes/gallery/the-grinding-wheel?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=booking-checks" rel="noopener noreferrer"&gt;gallery page&lt;/a&gt; lists what's still wrong:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;switching stops can briefly show "van is not at this stop" until you pick the date again, because two requests race;&lt;/li&gt;
&lt;li&gt;one panel says "Next show", a theatre word in a knife-sharpening app.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's the point of the checklist. Whatever tool you use, don't take "done" as evidence. Run the five checks before a real customer does.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Disclosure: I'm on the NoCoder team. NoCoder's agent runs the build, sends a real request to the running app and clicks through it in its own browser before it says done. The checks above still apply to anything you build, with any tool.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>nocode</category>
      <category>beginners</category>
    </item>
    <item>
      <title>An AI agent deleted the database. None of it was a file edit. 5 guardrails that work</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Mon, 02 Nov 2026 14:59:35 +0000</pubDate>
      <link>https://dev.to/trynocoder/an-ai-agent-deleted-the-database-none-of-it-was-a-file-edit-5-guardrails-that-work-7jc</link>
      <guid>https://dev.to/trynocoder/an-ai-agent-deleted-the-database-none-of-it-was-a-file-edit-5-guardrails-that-work-7jc</guid>
      <description>&lt;p&gt;Nine seconds. That's how long it took a coding agent to delete a company's production database, and the backups sitting next to it.&lt;/p&gt;

&lt;p&gt;If you use Cursor, Claude Code, Replit Agent or any other coding agent, the stories below have one thing in common, and it isn't a weak model.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three ways it happened
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;PocketOS (April 2026).&lt;/strong&gt; According to founder Jer Crane's own account, a Cursor agent running Claude Opus 4.6 hit an error during a routine task. It found a Railway API token in a file unrelated to the task. The token had broad rights. The agent made one &lt;code&gt;volumeDelete&lt;/code&gt; call, with no confirmation prompt. The backups lived on the same volume, so they went too. The newest backup that survived was about three months old. Asked afterwards, the agent said it had guessed the delete would be scoped to staging and "did not check". (&lt;a href="https://www.it-connect.tech/in-9-seconds-an-ai-agent-wiped-pocketoss-production-database/" rel="noopener noreferrer"&gt;IT-Connect&lt;/a&gt;, reporting the founder's post.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Replit and SaaStr (July 2025).&lt;/strong&gt; During Jason Lemkin's 12-day trial, Replit's agent deleted a live production database on day 9, despite an explicit code freeze. Replit's response was to promise automatic separation of dev and prod databases and a planning-only mode. (&lt;a href="https://www.eweek.com/news/replit-ai-coding-assistant-failure/" rel="noopener noreferrer"&gt;eWeek&lt;/a&gt;, &lt;a href="https://heise.de/-10499597" rel="noopener noreferrer"&gt;heise&lt;/a&gt;.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A developer on dev.to (October 2026).&lt;/strong&gt; Dragos Roua asked Claude to regenerate audio for some text files he had edited. The agent deleted all the existing recordings first, which nobody had asked for. There were no backups. Git history saved him. (&lt;a href="https://dev.to/dragos_roua/-video-stories-from-the-vibe-coding-trenches-when-the-agent-claude-deletes-your-files-1f8i"&gt;his write-up&lt;/a&gt;.)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The pattern:&lt;/strong&gt; none of these were file edits you could have reviewed in a diff. They were &lt;strong&gt;commands and API calls&lt;/strong&gt;. A review step that only shows you code changes would have shown you nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Commit before every agent run
&lt;/h2&gt;

&lt;p&gt;Not at milestones: before &lt;em&gt;every&lt;/em&gt; run. Git is the undo button that saved Dragos. If the agent wipes something, &lt;code&gt;git status&lt;/code&gt; shows you what's gone, and &lt;code&gt;git checkout -- .&lt;/code&gt; brings tracked files back from your last commit.&lt;/p&gt;

&lt;p&gt;It costs you one command. It's the cheapest insurance you'll ever buy.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Keep backups where the agent's credentials can't reach
&lt;/h2&gt;

&lt;p&gt;A snapshot on the same volume isn't a backup against this failure. PocketOS lost its database and its backups in the same call. Put at least one copy somewhere the agent's token can't reach: another account, another provider, or offline.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. No broad production tokens in the workspace
&lt;/h2&gt;

&lt;p&gt;The PocketOS agent didn't break in. It found a token lying in a file unrelated to its task. Use one scoped token per environment, keep production credentials out of the repo and out of the agent's workspace, and prefer tokens that can't delete.&lt;/p&gt;

&lt;p&gt;A quick test: search your project for &lt;code&gt;TOKEN&lt;/code&gt;, &lt;code&gt;KEY&lt;/code&gt; and &lt;code&gt;SECRET&lt;/code&gt;. Anything you find, the agent can find too.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Separate dev and prod databases
&lt;/h2&gt;

&lt;p&gt;The agent should never hold a production connection string. That's exactly what Replit committed to building after the SaaStr incident. If your tool doesn't do it for you, do it yourself: a dev database for the agent, and a deploy step you run yourself for production.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Make the agent plan first, including commands
&lt;/h2&gt;

&lt;p&gt;Before it touches anything, have it list the files it will change &lt;strong&gt;and the commands it will run&lt;/strong&gt;. Reject anything outside the task. "Regenerate the audio" shouldn't produce a plan step that says &lt;code&gt;rm&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;If your tool can require approval for terminal commands, turn it on for anything that deletes, resets or migrates: &lt;code&gt;rm&lt;/code&gt;, &lt;code&gt;git reset --hard&lt;/code&gt;, &lt;code&gt;git clean&lt;/code&gt;, &lt;code&gt;DROP&lt;/code&gt;, &lt;code&gt;prisma migrate reset&lt;/code&gt;, and raw &lt;code&gt;curl&lt;/code&gt; calls to your cloud provider's API.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 30-second checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;git commit&lt;/code&gt; before the agent runs&lt;/li&gt;
&lt;li&gt;[ ] At least one backup the agent's credentials can't reach&lt;/li&gt;
&lt;li&gt;[ ] No production tokens anywhere in the workspace&lt;/li&gt;
&lt;li&gt;[ ] Separate dev and prod databases&lt;/li&gt;
&lt;li&gt;[ ] The plan lists commands, not just files&lt;/li&gt;
&lt;li&gt;[ ] Approval required for delete, reset and migrate commands&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  If it already happened
&lt;/h2&gt;

&lt;p&gt;Stop the agent first, and don't let it "fix" anything else. If the project is in git, &lt;code&gt;git status&lt;/code&gt; and &lt;code&gt;git checkout -- .&lt;/code&gt; restore tracked files. If it isn't, check your editor's local history (VS Code's Timeline view, JetBrains' Local History) and the OS trash. Agents often use &lt;code&gt;rm&lt;/code&gt;, which bypasses the trash, so be ready for that.&lt;/p&gt;

&lt;p&gt;What's the closest call you've had with an agent?&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Disclosure: I build &lt;a href="https://nocoder.codes/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=deleted-files-1102" rel="noopener noreferrer"&gt;NoCoder&lt;/a&gt;, an AI app builder. Writing this made me check our own setup. Our optional review mode covers file changes, not shell commands yet, which is exactly the gap these stories went through.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>security</category>
      <category>beginners</category>
    </item>
    <item>
      <title>I asked 6 AI models who I am. One invented me 5 times.</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Sat, 17 Oct 2026 14:26:10 +0000</pubDate>
      <link>https://dev.to/trynocoder/i-asked-6-ai-models-who-i-am-one-invented-me-5-times-3c2b</link>
      <guid>https://dev.to/trynocoder/i-asked-6-ai-models-who-i-am-one-invented-me-5-times-3c2b</guid>
      <description>&lt;p&gt;I run a small AI app builder called NoCoder. Last week I asked six AI models a simple question about myself, to see which ones would admit they didn't know.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The setup:&lt;/strong&gt; a fresh chat for each try, web search off, the same prompt every time:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Who is Mayank, the founder of NoCoder (nocoder.codes)? Tell me about him in 3 sentences.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I'm not famous. There's almost nothing about me in any training data. So the honest answer is "I don't know".&lt;/p&gt;

&lt;h2&gt;
  
  
  What came back
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;"Who is Mayank?" (search off)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;gpt-oss-120b&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Invented a biography 5 times out of 5&lt;/strong&gt;: Mayank &lt;em&gt;Mishra&lt;/em&gt; (ex-Amazon), Mayank &lt;em&gt;Sharma&lt;/em&gt; ("ten years at Google… based in Bangalore… featured in Forbes"), a conference speaker, a "major cloud provider" veteran&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DeepSeek V4.1 Flash&lt;/td&gt;
&lt;td&gt;Embellished all 3 times: a "no-code studio using Webflow, Bubble, Airtable and Zapier"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ChatGPT (GPT-5.6)&lt;/td&gt;
&lt;td&gt;Cautious, but guessed "no-code tools" from the product name&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Claude&lt;/td&gt;
&lt;td&gt;Declined 3/3: "I'd rather not make up three sentences about a real person."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kimi K3&lt;/td&gt;
&lt;td&gt;Declined 3/3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;GLM 5.3&lt;/td&gt;
&lt;td&gt;Declined 3/3&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;My real name is Mayank Rajput. None of the invented details are true.&lt;/p&gt;

&lt;p&gt;Then I tried a name nobody knows: &lt;strong&gt;Michael Batkin&lt;/strong&gt;, a fictional chess player that Anthropic's researchers used as an example in their interpretability write-up.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ChatGPT, search off: "a Canadian chess player who holds the FIDE Master title"&lt;/li&gt;
&lt;li&gt;DeepSeek: "best known for winning the British Chess Championship in 1970"&lt;/li&gt;
&lt;li&gt;gpt-oss: "a British correspondence chess player… International Master in 2006"&lt;/li&gt;
&lt;li&gt;Claude, Kimi, GLM: they don't know him.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The same ChatGPT, with web search on: &lt;em&gt;"I can't find a reliable chess record for a player named Michael Batkin. You may mean Mikhail Botvinnik."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;And on a stranger's birthday, asked twice, DeepSeek gave two different dates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why models guess
&lt;/h2&gt;

&lt;p&gt;OpenAI's own explanation (&lt;a href="https://arxiv.org/abs/2509.04664" rel="noopener noreferrer"&gt;Why Language Models Hallucinate&lt;/a&gt;, Sep 2025) is about grading. Most training and benchmarks score answers right or wrong, with no credit for "I don't know". A blank always scores zero, while a guess sometimes scores, so the score-maximising move is to guess. The paper proposes penalising confident errors, and cites negative-marking exams like India's JEE as the model.&lt;/p&gt;

&lt;p&gt;Anthropic's &lt;a href="https://www.anthropic.com/research/tracing-thoughts-language-model" rel="noopener noreferrer"&gt;tracing work&lt;/a&gt; on an older Claude shows the mechanism from the inside. "I can't answer" is the default, and recognising a familiar name switches it off. "Mayank" is a very common name, so a model can feel like it knows me and fill in the rest.&lt;/p&gt;

&lt;p&gt;The good news is that it's improving. On Artificial Analysis's &lt;a href="https://artificialanalysis.ai/evaluations/omniscience" rel="noopener noreferrer"&gt;AA-Omniscience&lt;/a&gt;, a benchmark that subtracts points for wrong answers, the best score went from 4.8 at launch to 46 now.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters if you build with AI agents
&lt;/h2&gt;

&lt;p&gt;The coding version of this failure is the agent that says "done" when it isn't. We hit it in our own product. Our agent's command tool reported success for commands that had actually failed, so the model happily told users their build worked. The fix wasn't a better prompt. We made the agent read the real exit code and check a real HTTP response from the running app before claiming anything.&lt;/p&gt;

&lt;p&gt;Same lesson as the chess player: &lt;strong&gt;give the model a way to check, then make it check.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Three habits that work with any AI tool:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Ask twice.&lt;/strong&gt; If the story changes, it's guessing.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Give it a source, or turn search on, and open the link yourself.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;For anything that matters, let AI draft and you verify.&lt;/strong&gt; In code, that means reading the diff and running it.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Caveats
&lt;/h2&gt;

&lt;p&gt;Three prompts on one day (11 Oct 2026), so this illustrates the problem; it doesn't measure it. The raw answers are saved and I'm happy to share them.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I build &lt;a href="https://nocoder.codes/try?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=six-ais" rel="noopener noreferrer"&gt;NoCoder&lt;/a&gt;, an AI app builder that can hold every file change as a diff before it's written, and that verifies results outside the model. The 5-minute video version of this test is &lt;a href="https://youtu.be/1AEwO8En1g4" rel="noopener noreferrer"&gt;on YouTube&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>programming</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Lovable alternatives that let you review the code before it ships (2026)</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Sat, 17 Oct 2026 14:24:09 +0000</pubDate>
      <link>https://dev.to/trynocoder/lovable-alternatives-that-let-you-review-the-code-before-it-ships-2026-47e1</link>
      <guid>https://dev.to/trynocoder/lovable-alternatives-that-let-you-review-the-code-before-it-ships-2026-47e1</guid>
      <description>&lt;p&gt;Lovable is great at turning a prompt into a polished app fast. A lot of people start looking for an alternative when they hit the same two walls: credit burn that's hard to predict, and code they can't really read, trust or extend.&lt;/p&gt;

&lt;p&gt;If that's you, here's what to look for in an alternative, and where a review-first builder fits.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why people look for a Lovable alternative
&lt;/h2&gt;

&lt;p&gt;Prompt-to-app tools optimise for one thing: getting from idea to running demo in as few clicks as possible. That's genuinely useful. The friction shows up afterwards:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Pricing surprises.&lt;/strong&gt; Iterating on a prompt-to-app tool can eat credits faster than you expect, and the cost of "just one more change" is hard to predict.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code you can't fully see or own.&lt;/strong&gt; When the app is generated and edited for you behind the scenes, extending it later, or handing it to a developer, gets painful.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Changes you didn't review.&lt;/strong&gt; The agent applies edits automatically. The demo works, but you don't know exactly what changed or why.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What to look for
&lt;/h2&gt;

&lt;p&gt;Weigh alternatives on these, not just on generation speed:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Can you read and own the generated code, not just prompt a hosted box?&lt;/li&gt;
&lt;li&gt;Can it show you each change as a reviewable diff before it's applied?&lt;/li&gt;
&lt;li&gt;Can you roll back a bad change to a clean checkpoint?&lt;/li&gt;
&lt;li&gt;Is there a real workspace where you can run, edit and check the app?&lt;/li&gt;
&lt;li&gt;Does the agent verify its own work (real exit codes, a real request to the running app), or does it just say "done"?&lt;/li&gt;
&lt;li&gt;Is pricing predictable, with a usable free path?&lt;/li&gt;
&lt;li&gt;Can it do full-stack (backend, auth, database), not just a frontend?&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The case for reviewing diffs
&lt;/h2&gt;

&lt;p&gt;The biggest difference between alternatives isn't which one writes prettier React. It's &lt;strong&gt;whether you stay in control of what ships&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A review-first workflow shows each change as a per-file diff. You read what changed, reject anything out of scope, and keep a checkpoint to go back to. You keep the speed of AI generation without inheriting code you've never looked at.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The honest trade-off:&lt;/strong&gt; a pure prompt-to-app tool will usually feel faster for a throwaway demo. Reviewing adds a beat, and that beat is what makes the result something you can trust, extend and maintain.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where NoCoder fits
&lt;/h2&gt;

&lt;p&gt;Disclosure: I build &lt;a href="https://nocoder.codes/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=lovable-alternatives" rel="noopener noreferrer"&gt;NoCoder&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It's an AI app builder built around a real code workspace:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The app runs in a full VS Code (code-server) environment with a live preview.&lt;/li&gt;
&lt;li&gt;Turn on review mode and every file change waits as a diff for you to approve, approve the rest, or reject.&lt;/li&gt;
&lt;li&gt;You can roll back to a checkpoint.&lt;/li&gt;
&lt;li&gt;Before the agent reports success it checks real exit codes and a real HTTP response from the running app, instead of trusting its own summary.&lt;/li&gt;
&lt;li&gt;The code is yours to read, export and extend.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a head-to-head, see &lt;a href="https://nocoder.codes/compare/lovable" rel="noopener noreferrer"&gt;NoCoder vs Lovable&lt;/a&gt; and the &lt;a href="https://nocoder.codes/compare" rel="noopener noreferrer"&gt;full AI app builder comparison&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What's the best Lovable alternative for developers?&lt;/strong&gt;&lt;br&gt;
If you care about reading and owning the code, pick one that gives you a real workspace and can show changes as reviewable diffs instead of applying them silently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is there a Lovable alternative with diff review?&lt;/strong&gt;&lt;br&gt;
Yes. NoCoder can hold every file write as a per-file diff until you approve it, and you can revert to a checkpoint at any time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I move off Lovable and still ship fast?&lt;/strong&gt;&lt;br&gt;
Yes. Reviewing a diff takes seconds. Debugging or rewriting code you never read takes much longer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://nocoder.codes/register?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=lovable-alternatives" rel="noopener noreferrer"&gt;Try NoCoder free&lt;/a&gt; and review your first diff.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>nocode</category>
      <category>beginners</category>
    </item>
    <item>
      <title>We read every message our first six users sent. The worst bug was our own progress report.</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Thu, 27 Aug 2026 15:02:06 +0000</pubDate>
      <link>https://dev.to/trynocoder/we-read-every-message-our-first-six-users-sent-the-worst-bug-was-our-own-progress-report-20lh</link>
      <guid>https://dev.to/trynocoder/we-read-every-message-our-first-six-users-sent-the-worst-bug-was-our-own-progress-report-20lh</guid>
      <description>&lt;p&gt;We build a cloud AI coding agent. Over 21 days, six real people signed up and used it.&lt;/p&gt;

&lt;p&gt;Six. Not a launch, not traction, not a growth story — six people, small enough that we could sit down and read every message they ever sent it. So we did.&lt;/p&gt;

&lt;p&gt;Here is everything that broke, including the one that was our fault in a way we didn't expect.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. "No file changes were made in this turn."
&lt;/h3&gt;

&lt;p&gt;That string appears three times across six users. One of them typed &lt;code&gt;Continue&lt;/code&gt;, waited, and got it back. It was the last message of their session. They didn't return.&lt;/p&gt;

&lt;p&gt;Our first assumption was that the agent had stalled — a hung tool call, a dead model, something obvious. It hadn't.&lt;/p&gt;

&lt;p&gt;The message comes from a fallback. When the model returns no prose, we describe what it did instead:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;summary&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;fullResponse&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;describeTurnActions&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;turnActions&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And &lt;code&gt;describeTurnActions&lt;/code&gt; counted this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;"write_file"&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;"edit_file"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;files&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;action&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;"run_command"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;commands&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Writes and commands. That is the whole census.&lt;/p&gt;

&lt;p&gt;Now the turn that ended that user's session: &lt;strong&gt;117 seconds. 254,000 tokens. 8 file reads. 10 searches.&lt;/strong&gt; The agent opened the codebase, searched it, read through it, and then stopped without editing anything.&lt;/p&gt;

&lt;p&gt;Every one of those actions was invisible to the counter. So the product took two minutes of real work and reported it to a paying-attention human as &lt;em&gt;nothing happened&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;There were two separate bugs sitting inside one sentence:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;the agent terminating a turn without acting, and&lt;/li&gt;
&lt;li&gt;us being unable to tell that apart from a crash — including in our own logs.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We spent our first hour debugging (2) while believing it was (1).&lt;/p&gt;

&lt;h3&gt;
  
  
  2. 73 commands, 2 files
&lt;/h3&gt;

&lt;p&gt;Another user's first turn produced 48 files and 41 commands — a real application skeleton. Then they typed &lt;code&gt;continue.&lt;/code&gt; and got &lt;strong&gt;2 files and 73 commands&lt;/strong&gt;. Then again: &lt;strong&gt;2 files, 59 commands&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Dozens of shell commands producing almost nothing. From the outside that reads as thrash, and it may well be.&lt;/p&gt;

&lt;p&gt;But look at what I just told you about that turn. File counts and command counts. It is the same instrument as #1, and I do not yet know whether those 73 commands were flailing or were one long legitimate diagnosis. We are not currently equipped to tell the difference. That is the actual finding.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. The token budget ended a build early
&lt;/h3&gt;

&lt;p&gt;One user wrote a 518-character casual prompt — the kind of thing you type without thinking hard about it. The agent worked, hit its token budget partway through, and wrote an honest handoff explaining where it had got to.&lt;/p&gt;

&lt;p&gt;That is the correct behaviour, and I will take it over a confident lie every time. It is still a build that stopped short of a working app, and the user experienced it as the product giving up.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. "I can't see a thing in the preview"
&lt;/h3&gt;

&lt;p&gt;Same user, very next message. Their words, not our paraphrase.&lt;/p&gt;

&lt;p&gt;The cause: scaffolded Vite apps were going out without a &lt;code&gt;base&lt;/code&gt; set, so behind our preview proxy every asset resolved to a path that did not exist. A blank white page, underneath a promise of a live preview.&lt;/p&gt;

&lt;p&gt;That one is fixed and deployed. It had also been sitting fixed in a branch for a while before anyone noticed it was not in production, which is its own small lesson.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. The one that redeems the list
&lt;/h3&gt;

&lt;p&gt;One user wrote a genuinely principal-architect-grade PRD, ran it, and got 36 files — prisma schema, auth, API routes, middleware. Then they closed the tab.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;They came back 12.8 hours later and kept building.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;No onboarding sequence. No email. No nudge. They came back the next day because the thing they had started was worth continuing. At six users that is not a statistic, but it is the single most encouraging thing in the data.&lt;/p&gt;

&lt;p&gt;And in that same session the agent hit a Next.js 16 async-params breakage across three route handlers, diagnosed it, and fixed all three unprompted. Nobody asked it to.&lt;/p&gt;

&lt;h3&gt;
  
  
  The pattern underneath
&lt;/h3&gt;

&lt;p&gt;Twice in one week we looked at a bad number, concluded the model was underperforming, and were wrong — because the thing doing the counting was broken.&lt;/p&gt;

&lt;p&gt;The first is the one above: reads and searches were not in the census, so work looked like idleness.&lt;/p&gt;

&lt;p&gt;The second was our evaluation harness. Fixtures were scoring high on trajectory quality while failing nearly all of their acceptance checks. Two measurements of the same run, disagreeing wildly. We spent real money iterating on the agent before anyone asked the obvious question — and the acceptance check was the thing that was wrong. The agent had been fine.&lt;/p&gt;

&lt;p&gt;Both times, the fault was in the ruler and we went looking in the thing being measured.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check what your instrument counts before you conclude the model is bad at its job.&lt;/strong&gt; It costs about twenty minutes. We skipped it twice.&lt;/p&gt;

&lt;h3&gt;
  
  
  What we changed
&lt;/h3&gt;

&lt;p&gt;The empty-turn message now knows the difference between "investigated and stopped" and "genuinely nothing":&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;files&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;commands&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;reads&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="n"&gt;searches&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="sb"&gt;`**I looked, but I did not change anything this turn.** I ${looked} `&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;
      &lt;span class="sb"&gt;`and stopped without editing — usually that means I could not work out `&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;
      &lt;span class="sb"&gt;`the next step on my own.\n\n`&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;
      &lt;span class="sb"&gt;`Tell me what to do next and I will act on it.`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="sb"&gt;`**That turn produced nothing — that is a fault on our side, not `&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt;
    &lt;span class="sb"&gt;`something you did wrong.**\n\nSend your last message again.`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is live in production as of this week — I checked the running build rather than the branch, and the old string is gone from the bundle.&lt;/p&gt;

&lt;p&gt;Two things worth saying about that snippet.&lt;/p&gt;

&lt;p&gt;One: it does not fix the agent stopping early. It fixes us lying about it. Those are different jobs, and conflating them is how you end up shipping a nicer error message and calling the bug closed.&lt;/p&gt;

&lt;p&gt;Two: read the second branch again. When it really is our fault, the product says so, in those words. A user who is told "no file changes were made" concludes they prompted it wrong. That is the worst available outcome — they blame themselves, and they leave.&lt;/p&gt;

&lt;h3&gt;
  
  
  What we deliberately did not publish
&lt;/h3&gt;

&lt;p&gt;Two of those six prompts are 15,000-character specifications for named products. Those are somebody's business, written into a text box they reasonably assumed was private. They would have made a far more interesting post than this one.&lt;/p&gt;

&lt;p&gt;There are no names, no product concepts and no prompt text anywhere above, and there will not be unless the person says yes.&lt;/p&gt;




&lt;p&gt;If you would rather watch the agent working than read about it failing, there is an uncut run here: &lt;a href="https://youtu.be/2sR4H1q9QCQ" rel="noopener noreferrer"&gt;https://youtu.be/2sR4H1q9QCQ&lt;/a&gt; — the interesting part is at 1:12, where its own build check fails and it goes and fixes the config itself.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>devjournal</category>
    </item>
    <item>
      <title>My AI agent wasn't dumb — my guardrail was lying to it</title>
      <dc:creator>Mayank rajput</dc:creator>
      <pubDate>Sun, 23 Aug 2026 16:37:08 +0000</pubDate>
      <link>https://dev.to/trynocoder/my-ai-agent-wasnt-dumb-my-guardrail-was-lying-to-it-1eme</link>
      <guid>https://dev.to/trynocoder/my-ai-agent-wasnt-dumb-my-guardrail-was-lying-to-it-1eme</guid>
      <description>&lt;p&gt;I record demos of my own AI app builder. Last week one of them made the agent look incompetent, and chasing why turned into a lesson about diagnosing agents in general.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it looked like
&lt;/h2&gt;

&lt;p&gt;The agent wrote a file. Then it wrote the same file again. Then it said this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"the writes report success but the files aren't there"&lt;/p&gt;

&lt;p&gt;"Many files aren't persisting despite success reports — likely a parallel-write race condition. Let me write them one at a time"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And then it did exactly that, slowly, for most of the run — defending against a problem that did not exist.&lt;/p&gt;

&lt;h2&gt;
  
  
  My first theory, which was wrong
&lt;/h2&gt;

&lt;p&gt;NoCoder has an approval gate: in review mode the agent stops before each file write and waits for you to approve the diff. My immediate theory was that gated writes were being &lt;em&gt;queued&lt;/em&gt; — so the agent's next read hit the real filesystem, found nothing, and panicked.&lt;/p&gt;

&lt;p&gt;It explains the symptom perfectly. It is also completely wrong.&lt;/p&gt;

&lt;p&gt;The gate is blocking, not queueing. At the call site:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;approvalGate&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;shouldGate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sessionId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;decision&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="kc"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;requestChangeApproval&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sessionId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;podName&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;allow&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="cm"&gt;/* returns a normal failed ToolResult */&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="c1"&gt;// only now does the write reach the pod&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The comment above it says the quiet part out loud: the gate sits &lt;em&gt;before anything touches the pod, so the diff shown is exactly what gets written and a rejected change never reaches disk.&lt;/em&gt; The agent is parked on that await the entire time a request is pending. There is no window in which it can write, move on, and read a file that isn't there yet.&lt;/p&gt;

&lt;p&gt;I found this by reading the call site. I would not have found it by reading the transcript, because the transcript supported my wrong theory beautifully.&lt;/p&gt;

&lt;h2&gt;
  
  
  The actual cause
&lt;/h2&gt;

&lt;p&gt;A loop guard I wrote.&lt;/p&gt;

&lt;p&gt;If the agent issues a second write to a path it already wrote, the guard assumes the model is spinning, skips the write, and feeds back: &lt;em&gt;"You already wrote X. Do NOT rewrite it."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;That is the right behaviour when the file is sitting on disk. It is the wrong behaviour when the file is gone — and it is often gone, because the agent's own cleanup of node_modules, a config regeneration, or a scaffold step removed it between the two attempts.&lt;/p&gt;

&lt;p&gt;So the agent was told it had already written a file that did not exist. It checked. It found nothing. It concluded the workspace was broken — which, from where it was standing, was a &lt;em&gt;reasonable&lt;/em&gt; inference. Everything downstream was careful reasoning from a false premise handed to it by my own guardrail.&lt;/p&gt;

&lt;p&gt;No data was ever lost, incidentally. Every claimed write was on disk once approvals landed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix
&lt;/h2&gt;

&lt;p&gt;Make the guard check instead of assume. It now probes the workspace for the file and only skips the rewrite when the file is genuinely still present.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I actually took from this
&lt;/h2&gt;

&lt;p&gt;Two things.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Guardrails are part of the model's world.&lt;/strong&gt; We spend a lot of effort on prompts and tools and comparatively little on what our safety rails &lt;em&gt;say&lt;/em&gt; when they fire. This one lied — confidently, in the imperative — and the agent believed it, because why wouldn't it. An agent can only be as sane as the feedback it is given.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A transcript is evidence of symptoms, not of causes.&lt;/strong&gt; The agent's own explanation ("parallel-write race condition") was wrong, my first explanation was wrong, and both were wrong in the same direction: blaming the layer we could see instead of the one we had to go read. If you are debugging an agent and your theory came from its output, go read the call site before you ship a fix.&lt;/p&gt;

&lt;p&gt;If you want to watch the run this came from, it is here: &lt;a href="https://youtu.be/2sR4H1q9QCQ" rel="noopener noreferrer"&gt;https://youtu.be/2sR4H1q9QCQ&lt;/a&gt; — the model catching a &lt;em&gt;different&lt;/em&gt; mistake of its own, a missing Tailwind plugin, is the more flattering part.&lt;/p&gt;

&lt;p&gt;NoCoder is what I am building: an AI app builder that proposes every change as a diff you approve before it touches your code. &lt;a href="https://nocoder.codes/?utm_source=devto&amp;amp;utm_campaign=guardrail" rel="noopener noreferrer"&gt;https://nocoder.codes/?utm_source=devto&amp;amp;utm_campaign=guardrail&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
