<?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: David Quintanilla</title>
    <description>The latest articles on DEV Community by David Quintanilla (@davequinta).</description>
    <link>https://dev.to/davequinta</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%2F3875%2F0599ca32-b158-4bf9-905b-378ba565f986.png</url>
      <title>DEV Community: David Quintanilla</title>
      <link>https://dev.to/davequinta</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/davequinta"/>
    <language>en</language>
    <item>
      <title>I made a Nintendogs of my dog</title>
      <dc:creator>David Quintanilla</dc:creator>
      <pubDate>Thu, 26 Nov 2026 01:13:14 +0000</pubDate>
      <link>https://dev.to/davequinta/i-made-a-nintendogs-of-my-dog-2n8e</link>
      <guid>https://dev.to/davequinta/i-made-a-nintendogs-of-my-dog-2n8e</guid>
      <description>&lt;p&gt;From the side, it's Dante. From the front, it's some other dog.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fai47bdlnkb0bxfziwfee.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fai47bdlnkb0bxfziwfee.jpg" alt="A long-haired 3D German Shepherd lying in profile on the tiles of a patio, with a black saddle, tan legs and the doghouse with his name in the background." width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Dante in the game, from the side. This one's really him.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;That's the honest summary of &lt;a href="https://dante.davidquinta.tech" rel="noopener noreferrer"&gt;Dante&lt;/a&gt;, a Nintendogs-style game I built in a day with Claude. You pet him, feed him, throw him the ball, teach him tricks, and at night he goes to sleep in his doghouse. It runs in the browser, on your phone too, and it doesn't download a single 3D model: the whole dog comes out of code.&lt;/p&gt;

&lt;p&gt;I played Nintendogs as a kid. Where I lived back then there was no room for a dog, so that was the only one I could have. Now that I have my own, it made me nostalgic.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;There's a short clip of the game in the &lt;a href="https://www.davidquinta.tech/blog/i-made-my-dog-a-nintendogs/" rel="noopener noreferrer"&gt;original post&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Who Dante is
&lt;/h2&gt;

&lt;p&gt;Dante is one of my two German Shepherds. He's long-haired and holds two dog show championship titles in El Salvador (from ACANSAL, the country's FCI kennel club). If you've been to &lt;a href="https://www.davidquinta.tech/" rel="noopener noreferrer"&gt;this site's home page&lt;/a&gt;, you've met him: he's the one peeking out of the terminal.&lt;/p&gt;

&lt;p&gt;The other one is Kiara, the grumpy senior of the house, and she's in the game too, with her own state machine. If Dante gets too close, she growls, and he backs off with his ears pinned: "perd√≥n Kiara üò≥" (sorry, Kiara). And if you pet Kiara, Dante sits down to watch and mutters "ella no es campeona..." (she's not a champion...).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi3jywwddy8nar49mg6cr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi3jywwddy8nar49mg6cr.jpg" alt="The full game: Dante sitting on a tiled path between two garden beds, with hunger, thirst, energy, happiness and cleanliness bars labeled in Spanish at the top left, and a toolbar along the bottom with pet, food, water, ball, brush, tricks, visitor and night." width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The patio at home, with Dante's bars at the top left.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How it started
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6urnwx7bgobjkug7awz7.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6urnwx7bgobjkug7awz7.jpg" alt="Four screenshots from the same angle on the patio. Top left, a toy dog made of spheres and cylinders, with stick legs. Top right, a smooth one-piece caramel body that looks like a bean with ears. Bottom left, now with a black saddle, a golden chest and fur. Bottom right, today's version, furrier, with realistic tiles and plants." width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Left to right, top to bottom: the first commit, the first one-skin mesh, the coat painted to match the photos, and today's version.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The first version didn't look like Dante. It was a dog made of loose parts, spheres and cylinders grouped together, like a wooden toy. It already ate, played and slept, but the legs were sticks and the head was a ball with a snout.&lt;/p&gt;

&lt;p&gt;The big change was the second one: it stopped being parts stuck together and became a single blended skin, even if it still looked like a bean with ears. Everything after that, the coat, the fur and the face, was built on that same base.&lt;/p&gt;

&lt;h2&gt;
  
  
  A dog made of blobs
&lt;/h2&gt;

&lt;p&gt;Nobody sculpted Dante. He's a list of simple shapes, ellipsoids and capsules, each one hanging off a bone. That's 101 shapes on 23 bones; three of them don't add, they subtract, to carve out the mouth and the eye sockets. The head, for example, is put together like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="no"&gt;P&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'sph'&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;head&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.06&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.09&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="mf"&gt;0.15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.115&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.17&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="no"&gt;C&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;S&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.02&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'head'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;     &lt;span class="c1"&gt;// frente (negra), en cu√±a&lt;/span&gt;
&lt;span class="no"&gt;P&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'sph'&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;head&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.09&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.19&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="mf"&gt;0.075&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.055&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="no"&gt;C&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;S&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.014&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'head'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;   &lt;span class="c1"&gt;// caballete sobre el stop&lt;/span&gt;
&lt;span class="no"&gt;P&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'sph'&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;head&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.02&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.16&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="mf"&gt;0.165&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.085&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.12&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="no"&gt;C&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;K&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.012&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'head'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;   &lt;span class="c1"&gt;// m√°scara alrededor de los ojos&lt;/span&gt;
&lt;span class="no"&gt;P&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'sph'&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;head&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;0.02&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.29&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="mf"&gt;0.11&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.09&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.31&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="no"&gt;C&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;K&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.012&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'head'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;    &lt;span class="c1"&gt;// hocico m√°s largo y angosto&lt;/span&gt;
&lt;span class="no"&gt;P&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'sph'&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;head&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mf"&gt;0.045&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.33&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="mf"&gt;0.115&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.06&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.24&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="no"&gt;C&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;K&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mf"&gt;0.01&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'head'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;   &lt;span class="c1"&gt;// belfos (labio superior que cuelga)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(The comments are in Spanish: forehead, stop, mask, muzzle, jowls.)&lt;/p&gt;

&lt;p&gt;Each line is a stretched sphere: which bone it goes on, where, how big, what color, how long the fur is there and which zone counts when you pet him. Dante's snout is &lt;a href="https://github.com/davequinta/dante-nintendogs/blob/14c85d3/src/dog.js#L90" rel="noopener noreferrer"&gt;one line of code&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Stack up spheres and you get a snowman, not a dog. What turns them into a single skin is a distance function: for any point in space it tells you how far it is from the surface, and where two shapes touch it blends them with a smooth union, like two drops of wax running together.&lt;/p&gt;

&lt;p&gt;To get a mesh out of that function, the game walks a 74 √ó 115 √ó 149 point grid with marching cubes. That gives 33,023 vertices and 65,944 triangles, and on my Mac it takes 332 ms every time the page loads. In lite mode, which turns on by itself on phones and on machines with 4 GB of memory or 4 cores or fewer, or by hand from the menu, it's 12,117 vertices in 109 ms.&lt;/p&gt;

&lt;p&gt;The nice part is what you get for free. Since every vertex knows which shapes it came from, it also knows which bones it belongs to, and that's the skinning done. Sitting, lying down, rolling belly-up or standing in a show stack are just bone rotations. The colors work the same way: the black saddle, the tan points and the mask are painted by a function in each bone's space, tuned against photos of Dante, and they blend at the edges with no seams.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layered fur
&lt;/h2&gt;

&lt;p&gt;The fur isn't strands. It's 10 copies of the same mesh, each one a little farther out than the last. On each layer, a noise map decides which points survive: almost all of them on the inner one, very few on the outer one. From a distance, that reads as fur. The layers fall with gravity, sway, drag behind him when he runs and react where you move your hand.&lt;/p&gt;

&lt;p&gt;Layers have one problem: along the outline you can tell they're sheets. For that there are 6,737 silhouette tufts that only show up when the skin is edge-on to the camera. That's why Dante's outline looks furry and not smooth. In lite mode it drops to 4 layers.&lt;/p&gt;

&lt;h2&gt;
  
  
  The patio and the sky
&lt;/h2&gt;

&lt;p&gt;The patio is the one at my house. The tiles and the bricks are crops from photos of the real patio, and the fur detail comes from a crop of Dante's chest.&lt;/p&gt;

&lt;p&gt;The sky is an HDRI photo from &lt;a href="https://polyhaven.com/a/kloofendal_48d_partly_cloudy_puresky" rel="noopener noreferrer"&gt;Poly Haven&lt;/a&gt; that rotates with the time in El Salvador, so the sun in the sky matches the light casting the shadows. If you visit at night, it's night on the patio and Dante is in his doghouse. And if you leave him shut in after the sun's up, he starts crying: "¬°DAVID! ¬°la puerta!" (DAVID! The door!).&lt;/p&gt;

&lt;h2&gt;
  
  
  The face didn't turn out
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz20vj4bjz8mfr5cjp3ul.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz20vj4bjz8mfr5cjp3ul.jpg" alt="3D Dante seen from the front: a rounded head with a black snout, brown eyes and a half-open mouth above a very fluffy golden chest. He looks more like a plush toy than a German Shepherd." width="800" height="485"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Dante from the front. I love him anyway.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;From the front, the face reads as stylized. A head made of blended spheres doesn't have the hundreds of tiny planes a real face has. Wedge-shaped skull, almond eyes, blinking eyelids, brows, cheekbones, jowls: it's all there, and it still looks like a Dante plush, not Dante. The face alone took four rounds of tweaks, and the last one, cheekbones, brows and the black muzzle, barely showed.&lt;/p&gt;

&lt;p&gt;The next jump is a mesh sculpted or generated from his photos, with a skeleton. The good news is that everything else stays: the fur, the coat pattern, the behavior, the patio and the game. Only the base changes. That jump doesn't have a date.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I built it
&lt;/h2&gt;

&lt;p&gt;I built it in a day, with Claude. That day came to 14 commits, all with Claude as co-author (13 with Fable 5.1, one with Opus 5.5). The only production dependency is Three.js; Vite does the build and Playwright runs the tests.&lt;/p&gt;

&lt;p&gt;Claude could see its own renders: it took screenshots of the game with Playwright and compared them with the photos of Dante. I sent it photos from different angles, sometimes with a "make it look more like this" and sometimes with concrete instructions about the shape.&lt;/p&gt;

&lt;p&gt;What it solved on its own, and what surprised me, was the fur: its volume is what came out best.&lt;/p&gt;

&lt;p&gt;Where it got stuck was the face, which you already saw. I think that's where it hit the ceiling of what you can do without a 3D model.&lt;/p&gt;

&lt;p&gt;It even has tests. They run on every push, and one of them throws the ball to Dante and waits for him to bring it back. If you're curious how I work with Claude when it's not for fun, &lt;a href="https://www.davidquinta.tech/blog/subagents-shadow-clones/" rel="noopener noreferrer"&gt;here's how I set up reviewers with subagents&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Play it
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://dante.davidquinta.tech" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi3jywwddy8nar49mg6cr.jpg" alt="Dante, the game: click to play" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Play it at &lt;a href="https://dante.davidquinta.tech" rel="noopener noreferrer"&gt;dante.davidquinta.tech&lt;/a&gt;. It loads about 1.3 MB and the game is in Spanish.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It's at &lt;a href="https://dante.davidquinta.tech" rel="noopener noreferrer"&gt;dante.davidquinta.tech&lt;/a&gt;, and the code is on &lt;a href="https://github.com/davequinta/dante-nintendogs" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;. Drag over him to pet him: his head, belly and tail each react differently. If a visitor shows up at the gate, he'll bark until you calm him down. If you made something like this for your dog, or your cat, &lt;a href="mailto:hello@davidquinta.tech"&gt;tell me about it&lt;/a&gt;, and if you want the next post, there's the &lt;a href="https://www.davidquinta.tech/blog/rss.xml" rel="noopener noreferrer"&gt;RSS feed&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;And if he can't pull off a trick, you know the deal: "con mango s√≠ lo hago" (I'd do it for a mango).&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://www.davidquinta.tech/blog/i-made-my-dog-a-nintendogs/" rel="noopener noreferrer"&gt;davidquinta.tech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>threejs</category>
      <category>webgl</category>
      <category>gamedev</category>
      <category>sideprojects</category>
    </item>
    <item>
      <title>Seven years remote: impostor syndrome didn't leave, but it's a lot smaller now</title>
      <dc:creator>David Quintanilla</dc:creator>
      <pubDate>Thu, 26 Nov 2026 01:12:34 +0000</pubDate>
      <link>https://dev.to/davequinta/seven-years-remote-impostor-syndrome-didnt-leave-but-its-a-lot-smaller-now-4gh0</link>
      <guid>https://dev.to/davequinta/seven-years-remote-impostor-syndrome-didnt-leave-but-its-a-lot-smaller-now-4gh0</guid>
      <description>&lt;p&gt;The first few years, every time someone asked me something on a call, I felt like I had to have the answer right there. Not "let me look into it". The answer.&lt;/p&gt;

&lt;p&gt;Then one day I heard someone on the team say "mmm, I need to check" and just keep going. Nobody wrote it down, nobody gave them a look, the meeting moved on. I had spent months carrying a rule nobody had ever written.&lt;/p&gt;

&lt;p&gt;I've worked remotely since 2019, almost always for US teams, always from El Salvador. Nobody handed me impostor syndrome. I put it on myself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Nobody ever talked down to me
&lt;/h2&gt;

&lt;p&gt;In 2019 I walked into every call feeling like I didn't measure up. Not because of anything anyone had said. Because of my English, because of where I'm from, because I didn't study where they studied.&lt;/p&gt;

&lt;p&gt;And here's the important part: they never treated me that way. Not once. Nobody made me feel small, nobody talked to me differently, nobody left me out of anything. It was me, wired that way for reasons I still don't fully understand. And I'm not the only one: &lt;a href="https://dev.to/danielhe4rt/youre-not-an-impostor-you-just-started-from-a-different-line-2lph"&gt;Daniel Reis tells almost the same story from Brazil&lt;/a&gt;, with a European team and the same fear of the microphone.&lt;/p&gt;

&lt;p&gt;That's worse than it sounds, because if someone treats you badly you have something to push back against. When it comes from you, there's nobody to take it up with. It only shows up in the details.&lt;/p&gt;

&lt;p&gt;Story points, for example. I'd say a number that seemed right to me, without overthinking it, and then I'd keep turning over whether they'd feel it was "a lot". Not whether the number was right. Whether they'd think I was taking too long. Nobody asked me to.&lt;/p&gt;

&lt;p&gt;Or Slack. I write more formally in English than in Spanish, and I read every message three times before sending it. I still do it: I have a Claude project I use only for that, to review what I'm about to write before I write it. It isn't insecurity, it's editing. The problem is when editing takes longer than the conversation. Nobody asked me to.&lt;/p&gt;

&lt;h2&gt;
  
  
  The accent I couldn't understand wasn't mine
&lt;/h2&gt;

&lt;p&gt;What did give me real trouble was English, but not the way I thought.&lt;/p&gt;

&lt;p&gt;I worried about my accent all the time. The day I truly didn't understand anything was on a call with people from another part of the world who weren't native English speakers either. This was before I had auto captions or meeting notes on every call. I sat there for an hour without catching a full sentence.&lt;/p&gt;

&lt;p&gt;That's when it hit me that English wasn't my personal problem. It's everyone's problem on a call where nobody speaks it natively.&lt;/p&gt;

&lt;p&gt;I still mispronounce things and I still use the wrong tense. And nothing has happened, because the point lands anyway.&lt;/p&gt;

&lt;h2&gt;
  
  
  I waited for the expensive thing to fail
&lt;/h2&gt;

&lt;p&gt;The first time I said "this is wrong" without softening it was about a change that didn't deliver value. I built my case, I said it, and they agreed. That simple. All that stored-up fear for that.&lt;/p&gt;

&lt;p&gt;The one that still stings is a different one. There was a performance problem and the team pointed at infrastructure: the fix was going to be scaling up.&lt;/p&gt;

&lt;p&gt;I thought the problem was earlier than that, in the code, and that scaling would only move the ceiling up a little. I didn't say it. I waited for them to try, for it not to work, and only then did I open my mouth.&lt;/p&gt;

&lt;p&gt;I was right. And it was worth nothing, because by the time I said it the team had already spent the attempt.&lt;/p&gt;

&lt;p&gt;That's the bill nobody hands you: the difference between saying it on day one and saying it after the expensive thing fails is the team's time and money. Being right late counts the same as not being right.&lt;/p&gt;

&lt;h2&gt;
  
  
  In remote work, what nobody sees doesn't exist
&lt;/h2&gt;

&lt;p&gt;If I had to tell one single thing to someone from here starting tomorrow with a team over there, this would be it.&lt;/p&gt;

&lt;p&gt;If you're stuck and you don't say so, as far as the team knows you're moving along. If you finished something and you don't mention it, as far as the team knows you didn't do it. If you have an idea and you keep it to yourself, nobody is ever going to know.&lt;/p&gt;

&lt;p&gt;A test that helps me tell whether I'm shrinking: if my manager had to write my review using only what they can see in Slack and in pull requests, what would it say? The code and the scaling wouldn't have shown up there. I had the right answer in a place where nobody could see it.&lt;/p&gt;

&lt;p&gt;And this is where the two things meet. When you feel like you don't measure up, the natural reaction is to shrink: talk little, don't ask, don't bother anyone. That's exactly the opposite of what remote work needs.&lt;/p&gt;

&lt;p&gt;What got me out of it wasn't convincing myself I was just as capable. It was forcing myself to talk until I forgot it was hard.&lt;/p&gt;

&lt;p&gt;And the first thing I changed was the unit of measure. In 2019 I worked to look available: reply fast, stay online, make sure people could tell I was there. Then I started working toward goals: what I'm shipping this week, what's blocked, what I need from whom. When that is clear and visible, nobody needs to see you online. Today it's the first thing I'd tell someone starting out.&lt;/p&gt;

&lt;h2&gt;
  
  
  Seven years later
&lt;/h2&gt;

&lt;p&gt;Impostor syndrome didn't leave. But it's a lot smaller now.&lt;/p&gt;

&lt;p&gt;What still costs me is giving my opinion on the spot. If the topic comes out of nowhere on a call, it's hard to let go of the argument without running it through my head in English first, or without a short draft. I've gotten better, but it's still there.&lt;/p&gt;

&lt;p&gt;And it's exactly the same fear from those first years, the one about having to show up with the answer ready. Seven years later, down to the size that fits in one sentence.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rest
&lt;/h2&gt;

&lt;p&gt;Three shorter things I learned late:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The day doesn't end on its own.&lt;/strong&gt; In an office you grab your things and the ride home works as a border. Remote, there's no door and there's always one more message.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You have to go looking for people.&lt;/strong&gt; You can go days without seeing anyone outside your house and not notice until the week is over. I see my friends, I go out with my family, I take the dogs out, I go out with my wife. Written like that it sounds obvious, but at the start I wasn't doing it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The chair.&lt;/strong&gt; I worked for years on whatever I had around, neck bent over a laptop. Investing in ergonomics was one of the best things I did and I did it late.&lt;/p&gt;

&lt;p&gt;I still work from the same city, for teams that are thousands of miles away. If you're starting out and you feel like you don't measure up on calls: it happened to me too, and it doesn't get fixed by convincing yourself of anything. It gets fixed by talking.&lt;/p&gt;

&lt;p&gt;If you're in that spot and want to tell me how it's going, &lt;a href="mailto:hello@davidquinta.tech"&gt;email me&lt;/a&gt;. And if you want the next post, there's the &lt;a href="https://www.davidquinta.tech/blog/rss.xml" rel="noopener noreferrer"&gt;RSS feed&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://www.davidquinta.tech/blog/seven-years-remote/" rel="noopener noreferrer"&gt;davidquinta.tech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>career</category>
      <category>remote</category>
      <category>productivity</category>
      <category>discuss</category>
    </item>
    <item>
      <title>A new dad in the age of AI</title>
      <dc:creator>David Quintanilla</dc:creator>
      <pubDate>Thu, 26 Nov 2026 01:12:04 +0000</pubDate>
      <link>https://dev.to/davequinta/a-new-dad-in-the-age-of-ai-h0h</link>
      <guid>https://dev.to/davequinta/a-new-dad-in-the-age-of-ai-h0h</guid>
      <description>&lt;p&gt;My son was born recently. It was one of the happiest days of my life. I was also worried, a little anxious, and that same night I asked Claude a bunch of questions. The first was about some words I didn't understand.&lt;/p&gt;

&lt;p&gt;He needs a common treatment that works in most cases, but takes years. That same week, the doctors told us they also had to keep an eye on his heart.&lt;/p&gt;

&lt;p&gt;I'm not a doctor. I'm an engineer who just became a dad. This is what Claude was good for in that time, and what it got wrong.&lt;/p&gt;

&lt;p&gt;I have a project in Claude for everything about my son, a folder that keeps the chats together. I opened it before he was born, and today it has more than 140. I opened a new chat for every question, almost always dictating from my phone, often with a photo of a test result or a prescription.&lt;/p&gt;

&lt;h2&gt;
  
  
  Understanding what each thing meant
&lt;/h2&gt;

&lt;p&gt;The first thing I asked for was an explanation of the medical terms in the diagnosis and the treatment. It told me what each one meant and that it's the standard treatment. Understanding that took some of the worry off. It wasn't a strange word on a piece of paper anymore. It was a plan with steps.&lt;/p&gt;

&lt;p&gt;A while later I asked for what I actually needed: everything we had to get ready from scratch, what to do, what not to do and what to expect.&lt;/p&gt;

&lt;p&gt;I told it about his heart the way I'd understood it: that the doctor said it would resolve on its own, and that I didn't get how it would resolve by one year. It explained it, and then I asked it to check whether it was really that common and to tell me everything I needed to know.&lt;/p&gt;

&lt;p&gt;It sent back a report with sources. I did the same with the echo report: I sent a photo so it could walk me through it. I wasn't asking it to decide anything. I was asking it to translate the paper in my hand.&lt;/p&gt;

&lt;p&gt;The cardiologist put him on a heart medicine. On November 16, at the follow-up echo, he took him off it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is this normal?
&lt;/h2&gt;

&lt;p&gt;That was the question I asked the most. Up to November 16, between 20 and 30 chats were some version of "is this normal?". The week after, there were 6 more.&lt;/p&gt;

&lt;p&gt;Whether it was normal that he strained all the time, that his hair was falling out, that he groaned and raised his arms in his sleep. It almost always was, and a lot of those questions came in the middle of the night. It gave me a little peace that night. Whether something needed a doctor wasn't its call. One night I sent it photos of his diaper and asked if it was because of the avocado my wife had eaten. I ended up asking if that meant everything was fine.&lt;/p&gt;

&lt;p&gt;I asked a lot of those questions half asleep. The good part is that I can talk to it like that, even when what I say doesn't make much sense. Once I asked for boleros, the old slow love songs, to get him to sleep, and Claude titled the chat "Boletos para dormir", tickets to sleep.&lt;/p&gt;

&lt;p&gt;I'm not the only one. In &lt;a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC13410945/" rel="noopener noreferrer"&gt;a study published this year&lt;/a&gt;, 15 first-time moms in T√ºrkiye described something similar, down to sending it photos of the diaper: they used ChatGPT to settle a doubt, but for anything serious they preferred a professional.&lt;/p&gt;

&lt;p&gt;It wasn't all worries. I also asked for help with the everyday stuff: setting up routines, how much tummy time, exercises, tricks to get him to sleep, how to tell if he was cold.&lt;/p&gt;

&lt;p&gt;My wife asks her own Claude too. When he gets hiccups or reflux, it gives her options, and some of them have worked for us.&lt;/p&gt;

&lt;h2&gt;
  
  
  Finding the doctor and the rest
&lt;/h2&gt;

&lt;p&gt;In about 16 chats I asked it to find something: the doctor, where to buy things, which model and at what price.&lt;/p&gt;

&lt;p&gt;The night he was born, I asked it to check whether the specialist the hospital assigned us had experience with this treatment. It didn't find a list that said so, but it said his background fit what we needed. Before the first appointment I asked for a deeper look. It ended with: "It's worth going to the appointment."&lt;/p&gt;

&lt;p&gt;I also asked it to put together what to ask at that appointment. I didn't take its answers as rules. They were something to compare with what the doctor said. Then I forgot them and asked again. It sent me the short version.&lt;/p&gt;

&lt;p&gt;For the car seat, it recommended one model and, a few days later, another. It changed its pick when it found out the seat goes in my car with the seat belt. Then it helped me figure out how to install it.&lt;/p&gt;

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

&lt;p&gt;It got several things wrong. Here are three, and they aren't the same mistake.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When the heart thing resolves.&lt;/strong&gt; The doctor had said around one year. Early on, Claude told me that in cases like my son's most resolve in the first year to year and a half, but that it wasn't 100% certain. In the report from that same chat: "It can happen in the first year, but it's just as normal for it to happen between one and 3 years". A week later, in a new chat, it told me the one-year mark did line up with the evidence. On November 5 it cited a study where most resolved between 3 and 9 months.&lt;/p&gt;

&lt;p&gt;None of those answers is crazy. But I wanted one number and got four. Several came neatly organized, with sources. That didn't make them agree. The one that counts is whatever the cardiologist says at each echo.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The reviews.&lt;/strong&gt; The night he was born, it told me the specialist had a 4.1 on a medical directory. A few weeks later, in another chat, it told me not to put any weight on that 4.1, "because the same page says it has no ratings". It gave me the first number without checking it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The photos.&lt;/strong&gt; I sent it several photos asking about his skin color, which still looked yellow, and the answer changed from one photo to the next. I asked if it had really seen the photo. It answered: "Yes, I saw it", and further down, "I kept changing my answer on you, and that wasn't fair". The useful part came after: "From a photo I can't separate how much of that color is each thing". A photo can't show it what the pediatrician sees. It went away on its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the doctor decides
&lt;/h2&gt;

&lt;p&gt;No decision about my son was made by a chat. His doctors make the decisions, and they've seen him and examined him. Claude has never seen him. It's seen photos, and I already told you how that went.&lt;/p&gt;

&lt;p&gt;What changed for me is how I walk into an appointment. I show up having read the paper, with my questions written down, and knowing which of my fears were normal newborn stuff.&lt;/p&gt;

&lt;h2&gt;
  
  
  Today
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://liangchang.substack.com/p/4-things-my-newborn-taught-me-about" rel="noopener noreferrer"&gt;Liang Chang&lt;/a&gt;, another dad who works with AI, came into his son's birth with a 37-file knowledge base built from six parenting books. Once the baby arrived, he says his Claude usage dropped 87% overnight. I came in with nothing prepared and ended up with more than 140 chats.&lt;/p&gt;

&lt;p&gt;Having more than 140 chats about my son isn't the same as having his story in one place. Each chat knows what I tell it there. What came up in one doesn't always reach the next, and I learned that from the four answers about his heart, not from the docs. Claude can explain a report, but it doesn't know my son the way we're getting to know him.&lt;/p&gt;

&lt;p&gt;I still open a chat for every question, almost always with a photo. What changed is how I read the answers. If we already covered something in another chat, I don't count on it remembering.&lt;/p&gt;

&lt;p&gt;He's doing well today. The questions changed too. I don't ask about the medicine anymore. I asked at what age he'll be able to sit up, because I want to have him sitting calmly on my lap. And one night I asked which ukulele to buy. I want to learn to sing him Disney songs and Luis Miguel, the Mexican singer known for his boleros.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://www.davidquinta.tech/blog/a-new-dad-in-the-age-of-ai/" rel="noopener noreferrer"&gt;davidquinta.tech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>career</category>
      <category>discuss</category>
    </item>
    <item>
      <title>I tried GEO on my blog: it was mostly plain old SEO</title>
      <dc:creator>David Quintanilla</dc:creator>
      <pubDate>Thu, 26 Nov 2026 01:02:20 +0000</pubDate>
      <link>https://dev.to/davequinta/i-tried-geo-on-my-blog-it-was-mostly-plain-old-seo-17a8</link>
      <guid>https://dev.to/davequinta/i-tried-geo-on-my-blog-it-was-mostly-plain-old-seo-17a8</guid>
      <description>&lt;p&gt;According to Search Console, Google had 21 pages of my blog indexed. In Brave, where Claude gets a good share of its results, a &lt;code&gt;site:&lt;/code&gt; search showed 4. In Bing, none.&lt;/p&gt;

&lt;p&gt;It all started with some reels about GEO that left me curious. I started studying the topic, and the obvious question showed up on its own: how's my own site doing?&lt;/p&gt;

&lt;p&gt;So I asked ChatGPT and Perplexity, and searched for my site on Brave. ChatGPT knew who I was and named three of my posts. When I asked about the topic of one of them, &lt;a href="https://www.davidquinta.tech/blog/show-me-it-works/" rel="noopener noreferrer"&gt;how to verify an agent's work with Playwright&lt;/a&gt;, it cited the official docs, not me. Honestly, I didn't expect it to cite me there either.&lt;/p&gt;

&lt;p&gt;That's when I decided to apply what I was learning to this blog, and then figure out how to pitch it at work and on other projects. This is what I learned, what I measured and what I changed. Spoiler: Google already had me covered. I think what I was missing wasn't a GEO trick. It was getting indexed by the search engines the AIs depend on. In December I'll know if I was right.&lt;/p&gt;

&lt;h2&gt;
  
  
  What GEO is
&lt;/h2&gt;

&lt;p&gt;GEO is Generative Engine Optimization. It's getting AI assistants to find you, use you and cite you when someone asks them something. The term comes from a &lt;a href="https://arxiv.org/abs/2311.09735" rel="noopener noreferrer"&gt;paper by Princeton and others, published at KDD 2024&lt;/a&gt;, one of the big data science conferences.&lt;/p&gt;

&lt;p&gt;On LinkedIn and in short videos it gets sold as "the new SEO," and some agencies already offer GEO as a separate service. Google says the opposite. Danny Sullivan, who was its search liaison, summed it up as &lt;a href="https://searchengineland.com/google-danny-sullivan-good-seo-good-geo-461464" rel="noopener noreferrer"&gt;good SEO is good GEO&lt;/a&gt;, and the guide Google published in May 2026 says optimizing for its AI features is still SEO.&lt;/p&gt;

&lt;p&gt;After reading the sources, I think almost everything with evidence behind it is plain old SEO. The new part is understanding where each AI gets its sources, because Google only speaks for Google.&lt;/p&gt;

&lt;h2&gt;
  
  
  Every AI searches with a search engine
&lt;/h2&gt;

&lt;p&gt;This is what changed how I saw it the most. AIs don't have some magic index of the internet. When they search, they use a search engine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Claude mostly uses Brave. Anthropic has listed it as a vendor since 2025, and &lt;a href="https://simonwillison.net/2025/Mar/21/anthropic-use-brave/" rel="noopener noreferrer"&gt;Simon Willison confirmed it&lt;/a&gt; by comparing citations. In 2026 it added &lt;a href="https://www.peacomarketing.com/blog/geo/how-claude-finds-information/" rel="noopener noreferrer"&gt;other providers&lt;/a&gt;, but it doesn't say how much it uses each one.&lt;/li&gt;
&lt;li&gt;ChatGPT uses outside search providers and its own bot, OAI-SearchBot. &lt;a href="https://help.openai.com/en/articles/9237897-chatgpt-search" rel="noopener noreferrer"&gt;OpenAI doesn't publish&lt;/a&gt; how it ranks.&lt;/li&gt;
&lt;li&gt;Google builds AI Overviews and AI Mode from its regular index. &lt;a href="https://developers.google.com/search/docs/appearance/ai-features" rel="noopener noreferrer"&gt;Google says&lt;/a&gt; there are no extra technical requirements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In other words, if a search engine hasn't indexed your page, the AI that depends on it can't cite you.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I measured
&lt;/h2&gt;

&lt;p&gt;It wasn't a study, just two questions, but they were enough to see the pattern. I asked them in ChatGPT, in a temporary chat with personalization off, and in Perplexity while logged out: one about me and one about a topic I wrote about.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Engine&lt;/th&gt;
&lt;th&gt;Does it know who I am?&lt;/th&gt;
&lt;th&gt;Does it cite me on Playwright and agents?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ChatGPT&lt;/td&gt;
&lt;td&gt;Yes, with three posts and my talks&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Perplexity&lt;/td&gt;
&lt;td&gt;Yes, but it mixes me up with another author&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Brave (used by Claude)&lt;/td&gt;
&lt;td&gt;Barely (4 pages)&lt;/td&gt;
&lt;td&gt;No, not in the top 15&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The Perplexity one made me laugh. It credited me with another person's articles, on a site I've never written for.&lt;/p&gt;

&lt;p&gt;I didn't ask Claude directly, because my account already knows who I am and that skews the answer. In Brave I searched &lt;code&gt;site:davidquinta.tech&lt;/code&gt;, which shows which pages of a site a search engine has. It's not an exact count, but it's a good hint. It returned 4 results: the home page, a PDF, &lt;a href="https://www.davidquinta.tech/blog/nobody-reviews-their-own-code/" rel="noopener noreferrer"&gt;a single post&lt;/a&gt; and the page for &lt;a href="https://www.davidquinta.tech/blog/i-made-my-dog-a-nintendogs/" rel="noopener noreferrer"&gt;the game I made of Dante, my dog&lt;/a&gt;. The rest of the blog doesn't show up. If Claude depends on Brave to find me, I barely exist.&lt;/p&gt;

&lt;p&gt;Google, on the other hand, has me covered. Search Console, Google's tool for seeing how it indexes you, shows 21 indexed pages, and 480 impressions (the times I showed up in a result) with 11 clicks over the last 3 months. The post about &lt;a href="https://www.davidquinta.tech/blog/how-i-keep-thinking-while-the-agent-works/" rel="noopener noreferrer"&gt;what I don't hand off to an agent&lt;/a&gt; already shows up when someone searches for what Addy Osmani wrote about critical thinking and agents.&lt;/p&gt;

&lt;p&gt;Then I searched &lt;code&gt;site:davidquinta.tech&lt;/code&gt; on Bing, on November 22: zero results. Bing powers Copilot, and for years it was the search engine behind ChatGPT. ChatGPT still found me and cited my site when it searched the web, so it probably uses another source today, but Bing has nothing of mine.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's actually proven, and what isn't
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://arxiv.org/abs/2311.09735" rel="noopener noreferrer"&gt;original paper&lt;/a&gt; promised gains of up to 40% from adding quotations and statistics. The studies that came after, like &lt;a href="https://arxiv.org/abs/2506.11097" rel="noopener noreferrer"&gt;C-SEO Bench&lt;/a&gt; in 2025 and a &lt;a href="https://arxiv.org/abs/2607.14035" rel="noopener noreferrer"&gt;July 2026 survey&lt;/a&gt; that reviews 45 studies, didn't hold that up outside the lab. Their conclusion is more boring than any reel: what matters most for getting cited is that your page answers the exact question and that the search engine brings it up first. Rewriting "for AI" barely moves anything, and in &lt;a href="https://arxiv.org/abs/2602.12187" rel="noopener noreferrer"&gt;one study&lt;/a&gt; it even cut citations by 6%.&lt;/p&gt;

&lt;p&gt;What was still standing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Being readable and indexed.&lt;/strong&gt; Without that, nothing else matters.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Training bots and search bots are different.&lt;/strong&gt; GPTBot and ClaudeBot collect data to train models. OAI-SearchBot and Claude-SearchBot get you into search results. You can block them separately.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Original content with your own data.&lt;/strong&gt; It's what &lt;a href="https://developers.google.com/search/docs/fundamentals/ai-optimization-guide" rel="noopener noreferrer"&gt;Google's guide&lt;/a&gt; asks for, and what the studies see working better than the tricks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What has no evidence: &lt;code&gt;llms.txt&lt;/code&gt;, writing differently "for AI," and chunking your content into pieces. Google says it ignores &lt;code&gt;llms.txt&lt;/code&gt;, and &lt;a href="https://ahrefs.com/blog/llms-txt/" rel="noopener noreferrer"&gt;Ahrefs measured&lt;/a&gt; that 97% of the sites that have one didn't get a single request in May 2026.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I did on this blog
&lt;/h2&gt;

&lt;p&gt;My blog is a static Next.js site deployed on Vercel. First I reviewed what I already had, and a good part of it was fine without me ever looking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;robots.txt&lt;/code&gt;.&lt;/strong&gt; It's a file at the root of the site where you tell each bot what it can read. It's a request, not a lock: serious bots respect it, but the server doesn't enforce it. Mine lets everyone in:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User-Agent: *
Allow: /

Sitemap: https://www.davidquinta.tech/sitemap.xml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If I wanted to block only OpenAI's training and still show up in ChatGPT, I'd add &lt;code&gt;User-Agent: GPTBot&lt;/code&gt; with &lt;code&gt;Disallow: /&lt;/code&gt;. I decided not to block anything. I write to be read.&lt;/p&gt;

&lt;p&gt;I also checked that my hosting wasn't blocking those bots. Each bot introduces itself with a name, the &lt;em&gt;user agent&lt;/em&gt;, so I sent requests using each one's name:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="k"&gt;for&lt;/span&gt; ua &lt;span class="k"&gt;in&lt;/span&gt; GPTBot OAI-SearchBot ClaudeBot Claude-SearchBot PerplexityBot Bingbot&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
  curl -s -o /dev/null -w &lt;span class="s2"&gt;"$ua: %{http_code}\n"&lt;/span&gt; -A &lt;span class="s2"&gt;"$ua"&lt;/span&gt; https://www.davidquinta.tech/
&lt;span class="k"&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;They all get a 200, the "come in" code. That only tells me the server doesn't shut the door on them by name; what really gets through is in your hosting's logs.&lt;/p&gt;

&lt;p&gt;Then I made three changes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A single identity with JSON-LD.&lt;/strong&gt; JSON-LD is a block of data hidden in the HTML that tells search engines what's on the page. My site already had one, but the author of each post was just the name "David Quintanilla," same as any other David Quintanilla. Now the profile and the posts share the same &lt;code&gt;@id&lt;/code&gt;, which works like an ID number, and the same profiles:&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="n"&gt;author&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s1"&gt;'@type'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'Person'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'@id'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;PERSON_ID&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="no"&gt;AUTHOR_NAME&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;SITE_URL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sameAs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;AUTHOR_SAME_AS&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;Put simply, every post says "my author is the one on the home page, and also the one on this GitHub and this LinkedIn." I don't expect it to move me up. I did it because it's cheap and because Perplexity already confused me with someone else.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;An &lt;code&gt;llms.txt&lt;/code&gt;.&lt;/strong&gt; It's a Markdown file that summarizes the site for language models. Mine builds itself from the list of posts. Almost nobody reads it, so it's an experiment, and I'm not sure I'll be able to measure it: PostHog doesn't see bots and Vercel's free plan keeps few logs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;IndexNow, for Bing.&lt;/strong&gt; A search engine learns about your pages when its crawler, the bot that walks the web, comes by, and that can take weeks. IndexNow is a protocol for telling it directly: "these pages are new or changed." Bing and other search engines use it, not Google. To prove the site is yours, you publish a key in a &lt;code&gt;.txt&lt;/code&gt; file on the site and send it with every ping.&lt;/p&gt;

&lt;p&gt;In my case it's automatic. Every time I publish a new version of the site, a GitHub Action (a script that runs on its own on GitHub) reads the sitemap, the list of all my pages with their dates, and sends IndexNow the ones that changed in the last week:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://api.indexnow.org/indexnow'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'POST'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s1"&gt;'Content-Type'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'application/json; charset=utf-8'&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="no"&gt;URL&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;SITE&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="no"&gt;KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;keyLocation&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;urlList&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="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;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="mi"&gt;202&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;exit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On its own it's not enough: with zero pages in Bing, the first step is signing up for Bing Webmaster Tools, and that's in what's next. It doesn't help with Google or Brave: Google reads the sitemap from Search Console, and Brave doesn't take part in IndexNow.&lt;/p&gt;

&lt;p&gt;Separately, to measure it, I installed PostHog with a dashboard that separates visits coming from ChatGPT, Perplexity, Claude, Gemini and Copilot. It recognizes them by the domain the visit comes from, and for ChatGPT also by the &lt;code&gt;utm_source=chatgpt.com&lt;/code&gt; it adds to its links. Before this I had no way to know.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;The most important part is still missing: getting Brave and Bing to index the whole blog. I'm going to add the site to Bing Webmaster Tools. Brave has no dashboard to send it a sitemap. It discovers pages with its own crawler and through visits from people who use its browser with the &lt;a href="https://search.brave.com/help/brave-search-crawler" rel="noopener noreferrer"&gt;Web Discovery Project&lt;/a&gt; turned on. My hypothesis is that I'm missing visits and links from other sites. I'll test it by sharing the posts where people talk about these topics.&lt;/p&gt;

&lt;p&gt;I also don't expect to show up when someone asks an AI about Playwright in general; that's where the official docs live. I hope to show up when someone asks about something I measured and almost nobody wrote about, and in Spanish. At the end of December I'll ask the same questions again and publish what changed. If you want to see it, there's the &lt;a href="https://www.davidquinta.tech/blog/rss.xml" rel="noopener noreferrer"&gt;RSS feed&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm going to propose at work
&lt;/h2&gt;

&lt;p&gt;At work I'm not going to propose "doing GEO." I'm going to propose that these steps go into the checklist for every new project, next to tests and CI. It's not a separate project: it fits in the kickoff. After 30 days, you check two numbers: how many pages each search engine has, and how many visits come from AIs.&lt;/p&gt;

&lt;p&gt;If you run a business, the same applies. If a customer asks ChatGPT about a service like yours and Bing doesn't have your site, you don't exist there. Before paying anyone for GEO, ask them to check this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Search &lt;code&gt;site:yourdomain.com&lt;/code&gt; on Google, Bing and &lt;a href="https://search.brave.com" rel="noopener noreferrer"&gt;Brave Search&lt;/a&gt;. It's a hint, not an exact count, but it shows who has you.&lt;/li&gt;
&lt;li&gt;Open &lt;code&gt;yourdomain.com/robots.txt&lt;/code&gt; and check that it doesn't block OAI-SearchBot, Claude-SearchBot, PerplexityBot or Bingbot, or ChatGPT-User, Claude-User and Perplexity-User, which are the ones that come by when someone asks the AI something right then.&lt;/li&gt;
&lt;li&gt;View your page's source, or open it with JavaScript turned off. If the text isn't there, &lt;a href="https://vercel.com/blog/the-rise-of-the-ai-crawler" rel="noopener noreferrer"&gt;many AI bots don't see it&lt;/a&gt;, because they don't run JavaScript.&lt;/li&gt;
&lt;li&gt;Add the site to &lt;a href="https://search.google.com/search-console" rel="noopener noreferrer"&gt;Google Search Console&lt;/a&gt; and &lt;a href="https://www.bing.com/webmasters" rel="noopener noreferrer"&gt;Bing Webmaster Tools&lt;/a&gt;, and submit your sitemap. Bing lets you import it from Search Console.&lt;/li&gt;
&lt;li&gt;Add a JSON-LD block to the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; of your home page. Use &lt;code&gt;Person&lt;/code&gt; for a portfolio, and &lt;code&gt;Organization&lt;/code&gt; or &lt;code&gt;LocalBusiness&lt;/code&gt; for a business:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;   &lt;span class="nt"&gt;&amp;lt;script&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"application/ld+json"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
   &lt;span class="p"&gt;{&lt;/span&gt;
     &lt;span class="s2"&gt;"@context"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://schema.org"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="s2"&gt;"@type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Person"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="s2"&gt;"@id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://yourdomain.com/#person"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Your Name"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="s2"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://yourdomain.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
     &lt;span class="s2"&gt;"sameAs"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"https://github.com/your-username"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"https://www.linkedin.com/in/your-username"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
   &lt;span class="p"&gt;}&lt;/span&gt;
   &lt;span class="nt"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Ask ChatGPT and Perplexity, in a temporary chat or logged out, a question about something only you wrote about, or if you run a business, about a service like yours in your city. Write down what they cite and repeat it in a month.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Where I've landed: from now on, on my projects and at work, I'll check from day one whether search engines and their bots can read what we build, the same way I check whether it has tests. It's cheaper to think about it at the start than to fix it later.&lt;/p&gt;

&lt;p&gt;If you want to talk more about this, &lt;a href="mailto:hello@davidquinta.tech"&gt;write to me&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://www.davidquinta.tech/blog/why-i-started-applying-geo/" rel="noopener noreferrer"&gt;davidquinta.tech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>seo</category>
      <category>ai</category>
      <category>webdev</category>
      <category>nextjs</category>
    </item>
    <item>
      <title>What I don't hand off to an agent</title>
      <dc:creator>David Quintanilla</dc:creator>
      <pubDate>Thu, 26 Nov 2026 01:02:07 +0000</pubDate>
      <link>https://dev.to/davequinta/what-i-dont-hand-off-to-an-agent-230n</link>
      <guid>https://dev.to/davequinta/what-i-dont-hand-off-to-an-agent-230n</guid>
      <description>&lt;p&gt;"You may offload the work and much of the auditing, but not the accountability."&lt;/p&gt;

&lt;p&gt;That's how Addy Osmani ends &lt;a href="https://x.com/addyosmani/status/2117512471930167377" rel="noopener noreferrer"&gt;his article about thinking critically when agents do the work&lt;/a&gt;. I read it in early November and kept thinking about how I work.&lt;/p&gt;

&lt;p&gt;Addy describes a spectrum. At the top is cognitive offloading: the agent does the work and you keep ownership of the result. In the middle is deferral, where the agent's output becomes your new input and stops being a hypothesis. At the bottom is what &lt;a href="https://papers.ssrn.com/abstract=6097646" rel="noopener noreferrer"&gt;Steven Shaw and Gideon Nave at Wharton&lt;/a&gt; call cognitive surrender: the output quietly becomes your own and you feel no need to check it.&lt;/p&gt;

&lt;p&gt;What stuck with me is that you slide down gradually. You read the last answer well, so you skim the next one. Every step seems reasonable.&lt;/p&gt;

&lt;p&gt;I try to stay at the top. This is what I do to get there, before and after I ask an agent for something.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before I ask
&lt;/h2&gt;

&lt;p&gt;It's the same old thing: garbage in, garbage out. It comes down to the config, the prompt, and understanding the problem. In other words, knowing what to ask for. Addy puts it this way: "Your prompt is a reflection of your understanding of the problem, and if you can't express it clearly, it may not be clear in your own mind."&lt;/p&gt;

&lt;p&gt;That's why, when an agent gives me a bad result, I don't switch to another model anymore. First I check what I asked for. Charlie L (&lt;a class="mentioned-user" href="https://dev.to/charliesbot"&gt;@charliesbot&lt;/a&gt;) said it in a tweet a while ago: Codex, Claude and Gemini are so good today that if a project gets bad results, the main reason will be a bad config, not the model.&lt;/p&gt;

&lt;p&gt;I used to use ChatGPT and Codex. I moved to Claude mostly for plan mode: having the agent plan before it touched anything made sense to me. From there I started learning spec-driven development: first you write down what's going to be done, then you do it. I think it was February when I started paying for the $20 plan. By April I was on the $100 one.&lt;/p&gt;

&lt;p&gt;Addy's advice: "Write your own request brief in your own words before you ask for help. Describe the audience, out-of-scope items, and the definition of done." On this blog that's already a rule: no post gets written without a list of facts first, each one with its source, plus who it's for. This post had its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rules that weren't written down
&lt;/h2&gt;

&lt;p&gt;Addy points out that if you used to make a vague request, someone would push back, and that's when you'd realize you hadn't thought it through. "An agent often won't stop you there. It fills in what you left out and hands back something that looks done, even though the idea behind it is still fuzzy."&lt;/p&gt;

&lt;p&gt;That's what my rules are for: don't touch more than needed, don't merge to main, tell me about changes, don't assume, and always ask me.&lt;/p&gt;

&lt;p&gt;And they work. A few weeks ago I replied "yes" to an agent without saying to what. It had two things pending: merge two PRs, or open another one in my game's repo. Instead of picking, it stopped and asked me. I answered, and then I merged the two PRs.&lt;/p&gt;

&lt;p&gt;But they weren't written anywhere. I repeated them to the agent every time I started a project. I noticed while putting together the fact list for this post, when the agent asked me where I kept them. A rule I have to repeat on every project is a habit, and habits get forgotten. So I put them in a file that applies to all my projects. One of them now says that a "yes" from before doesn't count for next time.&lt;/p&gt;

&lt;h2&gt;
  
  
  After: what I still review myself
&lt;/h2&gt;

&lt;p&gt;In that same batch of work, the agent wrote in a PR description that one of my automated checks "stalls for minutes on this post on main too." It said it with total confidence. Another agent, &lt;a href="https://www.davidquinta.tech/blog/nobody-reviews-their-own-code/" rel="noopener noreferrer"&gt;the one that reviews before merging&lt;/a&gt;, ran the whole thing: 211 checks, all passed, and it didn't stall. It got fixed before the merge.&lt;/p&gt;

&lt;p&gt;By then the claim had stopped being a hypothesis. That's deferral, and the second reviewer stopped me before I slid into surrender.&lt;/p&gt;

&lt;p&gt;Addy again: "A green check means one thing. What did it check? What did it not check?" That's why I still read the diff myself. I look at which modules it touches and whether it makes sense for it to touch them. And I check that the unit tests actually test something, that they aren't there just to pass.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learn, I write down
&lt;/h2&gt;

&lt;p&gt;Another of Addy's ideas: "When something doesn't meet your standards, note why in shared config, a hook or a test so that it doesn't happen again."&lt;/p&gt;

&lt;p&gt;That one I do. This blog has had its own config since September 12: &lt;a href="https://www.davidquinta.tech/blog/subagents-shadow-clones/" rel="noopener noreferrer"&gt;four agents&lt;/a&gt; that edit, translate and review, three skills, and a hook that checks every post when it's saved. I didn't build it in a weekend. I fix it day to day, when something goes wrong. The skill that defines how I write came out of my own chats, and that's where the words I kept striking ended up, because nobody says them out loud, like "costura" (seam) or "la frescura" (freshness). At work it's similar: the team shares a CLAUDE.md with a few rules.&lt;/p&gt;

&lt;p&gt;Config is where I keep what I learned from reviewing. But the reviewing is still on me.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://www.davidquinta.tech/blog/how-i-keep-thinking-while-the-agent-works/" rel="noopener noreferrer"&gt;davidquinta.tech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>productivity</category>
      <category>career</category>
    </item>
    <item>
      <title>My prompt couldn't add, and my eval didn't say why</title>
      <dc:creator>David Quintanilla</dc:creator>
      <pubDate>Thu, 26 Nov 2026 01:02:01 +0000</pubDate>
      <link>https://dev.to/davequinta/my-prompt-couldnt-add-and-my-eval-didnt-say-why-2jg8</link>
      <guid>https://dev.to/davequinta/my-prompt-couldnt-add-and-my-eval-didnt-say-why-2jg8</guid>
      <description>&lt;p&gt;On August 22 I started running jobfit with the threshold at 70. That day the queue had one job posting. The next day I lowered the number by hand until five showed up, and I didn't look at it again for fifteen days.&lt;/p&gt;

&lt;p&gt;I didn't sit down to evaluate the scorer until September 7. And it turns out the threshold wasn't the only problem.&lt;/p&gt;

&lt;p&gt;jobfit is a personal project that runs on an old Dell laptop I turned into a server (that's another post). It's a three-stage pipeline: stage 1 pulls remote job postings from five sources, stage 2 is a prefilter with deterministic rules that tosses what clearly doesn't fit, and in stage 3 an LLM scores each posting against my CV, with a single call and no agent. What makes the cut ends up in a Markdown queue. &lt;a href="https://github.com/davequinta/jobfit" rel="noopener noreferrer"&gt;The jobfit README&lt;/a&gt; has the details.&lt;/p&gt;

&lt;h2&gt;
  
  
  The first day, I lowered the threshold by hand
&lt;/h2&gt;

&lt;p&gt;The threshold went into the repo on August 22, as a constant. I never measured it, and by the time I lowered it, it was already written in three files:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# src/jobfit/queue.py&lt;/span&gt;
&lt;span class="no"&gt;DEFAULT_THRESHOLD&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;70&lt;/span&gt;

&lt;span class="c1"&gt;# src/jobfit/evals.py&lt;/span&gt;
&lt;span class="n"&gt;parser&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;add_argument&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"--threshold"&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="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;default&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;70&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# src/jobfit/score.py&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;score&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;why_not&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;score&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;fit_score&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;70&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By the 23rd, jobfit had pulled in 846 postings and 135 made it to stage 3. What the prefilter rejected that day I can't reconstruct anymore, because the verdicts get overwritten on every run. The 135 score rows survive in a database backup, because September's re-score replaced 39 of them.&lt;/p&gt;

&lt;p&gt;The August 23 queue has five postings: 78, 68, 60, 58 and 58. Four are below 70, so that day I lowered the threshold by hand until there was something to read, and &lt;strong&gt;what value I passed wasn't recorded anywhere&lt;/strong&gt;. Then I didn't generate another queue until September 7: fifteen days without looking at the number, thinking the job market was just slow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Evaluating an LLM starts with 39 blind labels
&lt;/h2&gt;

&lt;p&gt;On September 7 I labeled 39 postings, &lt;code&gt;apply&lt;/code&gt; or &lt;code&gt;skip&lt;/code&gt;, without seeing the model's score; the tool hides it. What it can't hide is that I'd already read the August 22 and 23 queues: Cosuno (78) and Sur (68) ended up in the set, and the only one that passes at 70 is one I'd already seen with its number.&lt;/p&gt;

&lt;p&gt;At threshold 70, of the 22 I later marked &lt;code&gt;apply&lt;/code&gt;, &lt;strong&gt;one&lt;/strong&gt; would have surfaced. Precision 1 of 1, recall 1 of 22. And the model wasn't broken, it ranked well:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;label&lt;/th&gt;
&lt;th&gt;n&lt;/th&gt;
&lt;th&gt;range&lt;/th&gt;
&lt;th&gt;median&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;apply&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;22&lt;/td&gt;
&lt;td&gt;15 ‚Äì 78&lt;/td&gt;
&lt;td&gt;33&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;skip&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;17&lt;/td&gt;
&lt;td&gt;8 ‚Äì 26&lt;/td&gt;
&lt;td&gt;18&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;What was wrong was the scale. The rubric said 100 points, but across the 135 postings scores went from 3 to 78, with a median of 18. I'd put the cutoff at 70 on something that behaved like a 0 to 50 scale. That same day, twenty-three seconds after committing the eval, I dropped it to 25: precision 13 of 15 (87%), recall 13 of 22 (59%).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Correction:&lt;/strong&gt; that day I wrote that 25 met the targets I'd set myself in the project's SPEC (precision above 0.8, recall above 0.6). It didn't, and in the same paragraph I wrote that the &lt;code&gt;apply&lt;/code&gt; median was 34, when it's 33.&lt;/p&gt;

&lt;h2&gt;
  
  
  The other bug was in the prompt
&lt;/h2&gt;

&lt;p&gt;The rubric is a Markdown file that goes into the system prompt. The v1 rubric, the one that scored the August postings, ends with three worked examples. I added them up:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;th&gt;Components&lt;/th&gt;
&lt;th&gt;Actual sum&lt;/th&gt;
&lt;th&gt;Stated score&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Senior full stack, Django + Next.js&lt;/td&gt;
&lt;td&gt;33, 24, 20, 6, 8&lt;/td&gt;
&lt;td&gt;91&lt;/td&gt;
&lt;td&gt;91&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ML Engineer, "Remote (US)"&lt;/td&gt;
&lt;td&gt;8, 15, 4, 2, 5&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;34&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;24&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Full Stack Developer, agency&lt;/td&gt;
&lt;td&gt;18, 10, 8, 0, 0&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;36&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;31&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two of the three added up wrong, both on the low side. Through the examples, I was teaching the model that the final score is the sum minus something. On top of that, the &lt;code&gt;why_not&lt;/code&gt; rule told it to lower the score if it couldn't find anything wrong with the posting:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight diff"&gt;&lt;code&gt;&lt;span class="gd"&gt;-you cannot find a genuine concern, the score is too high; lower it.&lt;/span&gt;
&lt;span class="gi"&gt;+you cannot find a genuine concern, you have not read the posting closely enough&lt;/span&gt;
&lt;span class="gi"&gt;+‚Äî look again. Do not lower the score to compensate for a thin `why_not`: the&lt;/span&gt;
&lt;span class="gi"&gt;+score is the sum of the components and the bullets are a separate obligation.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;My hypothesis: between those two things, the model learned exactly what I asked for, add correctly at the top and shave points off everything else. The v2 rubric (&lt;a href="https://github.com/davequinta/jobfit/commit/b9043e9" rel="noopener noreferrer"&gt;the diff against v1&lt;/a&gt;) fixes the sums, writes the arithmetic into each example, changes that rule and spells out that the score is the sum, period:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight diff"&gt;&lt;code&gt;&lt;span class="gd"&gt;-**Score: 24, confidence high.** This is the trap case. Shares AI vocabulary with&lt;/span&gt;
&lt;span class="gi"&gt;+**Score: 34, confidence high.** 8 + 15 + 4 + 2 + 5. This is the trap case. Shares AI vocabulary with&lt;/span&gt;

&lt;span class="gd"&gt;-**Score: 31, confidence medium.** Partial stack overlap, React yes but no Python&lt;/span&gt;
&lt;span class="gi"&gt;+**Score: 36, confidence medium.** 18 + 10 + 8 + 0 + 0. Partial stack overlap, React yes but no Python&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two numbers in a Markdown file. No linter checks them, no test runs them. There are tools for evaluating what the model spits out, even linters for prompts, but none I know of checks whether the math in the examples adds up. A prompt can have an arithmetic bug just like any other file, with one difference: nobody runs tests against a prompt.&lt;/p&gt;

&lt;h2&gt;
  
  
  What 39 labels can't tell you
&lt;/h2&gt;

&lt;p&gt;This section looks like it undercuts everything, and it's the most useful part:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It's 38, not 39:&lt;/strong&gt; one Huzzle posting shows up twice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero borderline:&lt;/strong&gt; it measures the easy separation, not the hard middle.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inflated base rate:&lt;/strong&gt; 22 of 39 are &lt;code&gt;apply&lt;/code&gt;, so that 87% is a ceiling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;13 of the 17 &lt;code&gt;skip&lt;/code&gt; are DevOps or infrastructure roles&lt;/strong&gt; that stage 2 doesn't even let through anymore.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The prediction and the re-score
&lt;/h2&gt;

&lt;p&gt;Before running v2, I wrote down a prediction: scores will go up and threshold 25 will stop being the right one.&lt;/p&gt;

&lt;p&gt;The re-score cost $0.77, and I compared it on the same 39 postings: 35 went up, 2 stayed the same and 2 went down. The median change was +6, but &lt;code&gt;apply&lt;/code&gt; moved a lot more than &lt;code&gt;skip&lt;/code&gt;: its median went from 33 to 47.5, while &lt;code&gt;skip&lt;/code&gt; went from 18 to 22.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmxgvbq7fusgiguoo33uk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmxgvbq7fusgiguoo33uk.png" alt="Chart of scores for the same 39 postings, split into apply and skip, under rubric v1 and v2. With v2, the apply median rises from 33 to 47.5 and the skip median from 18 to 22. There are lines at thresholds 25, 35 and 70." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The sweep with both rubrics:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;threshold&lt;/th&gt;
&lt;th&gt;v1: precision&lt;/th&gt;
&lt;th&gt;v1: recall&lt;/th&gt;
&lt;th&gt;v2: precision&lt;/th&gt;
&lt;th&gt;v2: recall&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;70&lt;/td&gt;
&lt;td&gt;1 of 1&lt;/td&gt;
&lt;td&gt;1 of 22&lt;/td&gt;
&lt;td&gt;2 of 2&lt;/td&gt;
&lt;td&gt;2 of 22&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;3 of 3&lt;/td&gt;
&lt;td&gt;3 of 22&lt;/td&gt;
&lt;td&gt;10 of 10&lt;/td&gt;
&lt;td&gt;10 of 22&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;35&lt;/td&gt;
&lt;td&gt;10 of 10&lt;/td&gt;
&lt;td&gt;10 of 22&lt;/td&gt;
&lt;td&gt;16 of 16&lt;/td&gt;
&lt;td&gt;16 of 22&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;30&lt;/td&gt;
&lt;td&gt;12 of 12&lt;/td&gt;
&lt;td&gt;12 of 22&lt;/td&gt;
&lt;td&gt;18 of 21&lt;/td&gt;
&lt;td&gt;18 of 22&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;td&gt;13 of 15&lt;/td&gt;
&lt;td&gt;13 of 22&lt;/td&gt;
&lt;td&gt;18 of 21&lt;/td&gt;
&lt;td&gt;18 of 22&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;17 of 21&lt;/td&gt;
&lt;td&gt;17 of 22&lt;/td&gt;
&lt;td&gt;22 of 33&lt;/td&gt;
&lt;td&gt;22 of 22&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;With v1, only 19 and 20 met both SPEC targets. With v2, any threshold from 23 to 38 meets them: before, you had to hit one of two values; now there's a band.&lt;/p&gt;

&lt;p&gt;Then I scored the remaining 123 postings with v2, for $1.04. Of the 163 that pass stage 2 today, 82 score 25 or above: half of them sit above the cutoff.&lt;/p&gt;

&lt;h2&gt;
  
  
  Evaluating an LLM means letting the data correct you
&lt;/h2&gt;

&lt;p&gt;The prediction half held, and which half failed depends on which SPEC rule I look at. By the numeric targets, 25 still works. But in the SPEC I also set myself a rule to favor precision over recall: a false positive costs me twenty minutes, and a false negative is one fewer posting among hundreds. By that rule, the cutoff is 35. With today's 53 labels, 35 gives precision 19 of 20 and recall 19 of 30, and 25 gives 23 of 28 and 23 of 30.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The threshold goes up to 35&lt;/strong&gt;, as a separate change that doesn't touch the rubric. I almost left it at 25 with an argument that sounded prudent, don't move it without measuring how much a score varies between runs, but 25 came out of exactly that process. With 35, 59 postings sit above the cutoff instead of 82.&lt;/p&gt;

&lt;p&gt;What's still unmeasured: no posting has been scored twice with the same rubric, so I don't know how much of that +6 is noise between runs, and the set doesn't have the ten borderline labels where a threshold earns its keep.&lt;/p&gt;

&lt;p&gt;Three times I trusted what I believed, and three times a measurement corrected me. The first cost me fifteen days; the second, $0.77; the third, one query while I was writing this post. The difference is that the last two times, there was something written down that could contradict me.&lt;/p&gt;

&lt;p&gt;If you have a threshold nobody has measured, tell me what it is. Mine are in &lt;a href="https://github.com/davequinta/jobfit/blob/main/evals/results.md" rel="noopener noreferrer"&gt;the eval results&lt;/a&gt;, if you want to check them.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://www.davidquinta.tech/blog/nobody-runs-tests-against-a-prompt/" rel="noopener noreferrer"&gt;davidquinta.tech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>llm</category>
      <category>ai</category>
      <category>python</category>
      <category>testing</category>
    </item>
    <item>
      <title>My subagents reminded me of Naruto's shadow clones</title>
      <dc:creator>David Quintanilla</dc:creator>
      <pubDate>Thu, 26 Nov 2026 01:01:44 +0000</pubDate>
      <link>https://dev.to/davequinta/my-subagents-reminded-me-of-narutos-shadow-clones-2cdc</link>
      <guid>https://dev.to/davequinta/my-subagents-reminded-me-of-narutos-shadow-clones-2cdc</guid>
      <description>&lt;p&gt;We were already using subagents at work, but I went all in when I took the &lt;a href="https://academy.claude.com/courses/introduction-to-subagents/" rel="noopener noreferrer"&gt;Claude Academy subagents course&lt;/a&gt;. I built eight across two repos, and in about 18 hours the jobfit ones ran 27 times, 11 of them as real agents. They found things I had missed, got it wrong a couple of times, and writing their rules uncovered bugs before I ever ran them.&lt;/p&gt;

&lt;p&gt;A subagent is a separate instance you hand a task to. It runs in its own context, does its thing, and only the summary comes back to your main conversation. All the noise along the way, the files it read, the greps, the searches, stays out.&lt;/p&gt;

&lt;p&gt;While I was taking the course, I kept thinking about Naruto training with shadow clones: he makes a whole bunch of them in a field, each one tries to cut a leaf with its chakra, and when they vanish, whatever each clone learned comes back to him. A subagent is that, with two differences. The original doesn't get everything the clone went through, just the summary. And Naruto's clone remembers everything Naruto lived through; the subagent remembers nothing from your conversation. It knows what its file says and what you pass it when you hand over the task.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Naruto against Mizuki, the first time he uses shadow clones. Naruto, Studio Pierrot.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The second difference is the one that matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  The mistake is making them experts
&lt;/h2&gt;

&lt;p&gt;The first thing you want to write is "you are a React expert, review this code". That doesn't work: the model already knows React. A subagent that calls itself an expert can't do anything your main conversation couldn't do just as well. And yet the course's own example starts with "You are an expert code reviewer".&lt;/p&gt;

&lt;p&gt;What the model doesn't know is that in my repo, a hardcoded &lt;code&gt;/blog/&lt;/code&gt; sent Spanish readers to the English blog. Or that adding a link to the nav pushes the headings under the bar on mobile. That isn't in any dataset. It's in my bug history.&lt;/p&gt;

&lt;p&gt;My &lt;code&gt;site-reviewer&lt;/code&gt; has a note next to those two rules saying they already happened. It isn't a Next.js expert. It's the one that remembers every time I screwed up.&lt;/p&gt;

&lt;p&gt;And here's the uncomfortable part: my subagents are useless to anyone else. They're full of design tokens from my CSS, route names, decisions that only apply to my two repos. Even if you copied them into your repo, they'd just be noise to you. That isn't a design flaw, it's the design.&lt;/p&gt;

&lt;h2&gt;
  
  
  The eight
&lt;/h2&gt;

&lt;p&gt;Four in this blog's repo and four in jobfit, the project from &lt;a href="https://www.davidquinta.tech/blog/nobody-runs-tests-against-a-prompt/" rel="noopener noreferrer"&gt;my post about evaluating a prompt&lt;/a&gt;.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Agent&lt;/th&gt;
&lt;th&gt;Repo&lt;/th&gt;
&lt;th&gt;What I delegate&lt;/th&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Writes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;post-editor&lt;/td&gt;
&lt;td&gt;blog&lt;/td&gt;
&lt;td&gt;review a post before sharing it&lt;/td&gt;
&lt;td&gt;opus&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;post-translator&lt;/td&gt;
&lt;td&gt;blog&lt;/td&gt;
&lt;td&gt;translate a post into the other language&lt;/td&gt;
&lt;td&gt;opus&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;prod-checker&lt;/td&gt;
&lt;td&gt;blog&lt;/td&gt;
&lt;td&gt;confirm a deploy reached production&lt;/td&gt;
&lt;td&gt;sonnet&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;site-reviewer&lt;/td&gt;
&lt;td&gt;blog&lt;/td&gt;
&lt;td&gt;review a PR against the repo's rules&lt;/td&gt;
&lt;td&gt;opus&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;docs-drift-auditor&lt;/td&gt;
&lt;td&gt;jobfit&lt;/td&gt;
&lt;td&gt;check the numbers in the README, the SPEC and CLAUDE.md against the database&lt;/td&gt;
&lt;td&gt;sonnet&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;eval-disagreement-analyst&lt;/td&gt;
&lt;td&gt;jobfit&lt;/td&gt;
&lt;td&gt;understand why the scorer and my labels disagree&lt;/td&gt;
&lt;td&gt;opus&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;repo-rules-reviewer&lt;/td&gt;
&lt;td&gt;jobfit&lt;/td&gt;
&lt;td&gt;review code changes against the repo's rules&lt;/td&gt;
&lt;td&gt;opus&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;source-assessor&lt;/td&gt;
&lt;td&gt;jobfit&lt;/td&gt;
&lt;td&gt;assess whether a new job posting source is usable&lt;/td&gt;
&lt;td&gt;sonnet&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Seven out of eight don't have Write. The only one that does is the translator. That wasn't an accident: the course keeps insisting you give each one only the tools it needs, and when you sit down to decide, it turns out almost none of them need to write.&lt;/p&gt;

&lt;p&gt;But not having Write isn't the same as being read-only. All eight have Bash, and you can write a file with Bash too. The &lt;code&gt;site-reviewer&lt;/code&gt; says in writing that it never edits files, and in its only run it created two test scripts inside the repo and then deleted them. The seven without Write are read-only because I ask them to be, not because they can't write.&lt;/p&gt;

&lt;p&gt;I applied the other rule without noticing, and I'm writing it down now that I see it: &lt;strong&gt;opus where judgment is the product, sonnet where the work is verification.&lt;/strong&gt; The editor judges a piece of writing. The disagreement analyst interprets why a scorer and I don't agree. Those go on opus. The &lt;code&gt;prod-checker&lt;/code&gt; runs curls and compares strings, and the &lt;code&gt;docs-drift-auditor&lt;/code&gt; compares README numbers against the database. That doesn't need opus.&lt;/p&gt;

&lt;p&gt;Besides these eight, at work we use subagents day to day for specific tasks. I can't share details about the code, but I can say what we use them for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Reviewing a PR before human review&lt;/strong&gt;, against existing behavior, looking for what could break.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tracing a field&lt;/strong&gt; from the BFF request to the UI, with every transformation and the file where it changes shape.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Turning a ticket into a plan&lt;/strong&gt;: which files to touch, which APIs are involved and which tests to add, based on the code instead of guessing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Finding the cause of a bug without fixing it yet&lt;/strong&gt;: I ask for the three most likely causes and what evidence would rule out each one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They work for the same reason mine do: they know that code and they have a concrete job, not an expert title.&lt;/p&gt;

&lt;h2&gt;
  
  
  What my subagents found
&lt;/h2&gt;

&lt;p&gt;I ran the &lt;code&gt;post-editor&lt;/code&gt; on &lt;a href="https://www.davidquinta.tech/blog/how-this-blog-is-built/" rel="noopener noreferrer"&gt;my first post, the one about how this blog is built&lt;/a&gt;, a post I'd already published and had also reviewed with another Claude session. So, two pairs of eyes on it already. And that first time it wasn't even the agent: the session predated them, so I asked a generic subagent to read the &lt;code&gt;post-editor&lt;/code&gt; file and follow it.&lt;/p&gt;

&lt;p&gt;It found a contradiction inside the post itself: the table said "Dependencies: none" and two paragraphs later it said "10 direct dependencies". Neither I, who wrote it, nor the reviewer caught it.&lt;/p&gt;

&lt;p&gt;It found that my numbers were measuring something else. The 9 KB was only the compressed HTML, and I'd measured the 10-second build with a warm cache. Later I measured it cold: 14.5, 11.7 and 10.8 seconds.&lt;/p&gt;

&lt;p&gt;And it found this, which is the best one: I had written "Google says officially" about whether a blog does better on a subdomain or in a subfolder. I'd added that phrase at the other reviewer's suggestion. The agent searched the web, and no such Google documentation exists, just statements from John Mueller. &lt;strong&gt;One reviewer slipped in an unverified claim, and another agent, which hadn't been part of the conversation, caught it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's exactly what the course says about why a separate reviewer works better: whoever wrote something doesn't review it well, because they read it with the memory of having written it.&lt;/p&gt;

&lt;p&gt;Once it was a real agent, I ran it twice on my second post, the jobfit one. The first run came back with "Don't share yet" and four substantive problems. The second, on the fixes, caught a sentence that was no longer true: I said the 135 score rows were still in the database, and the re-score had replaced 39 of them.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;prod-checker&lt;/code&gt; has four runs, the first one also a generic subagent following its file, and it found nothing in any of them. But its most useful rule came from something that actually happened: a session insisted three times that my deploy hadn't reached production, and it was caching on its end. Now that agent has it in writing that, before blaming the cache, it should search the live HTML for a string the deploy introduced.&lt;/p&gt;

&lt;p&gt;And the &lt;code&gt;site-reviewer&lt;/code&gt; gave me its most useful finding before it ever ran. While writing its SEO rules, I realized my tag pages with &lt;code&gt;noindex&lt;/code&gt; were still showing up in the sitemap. &lt;strong&gt;The bug came from writing the rule, not from running the agent.&lt;/strong&gt; That distinction seems more important to me than everything else: writing the constraint forces you to go check whether you're meeting it, and that's worth it even if the agent never runs.&lt;/p&gt;

&lt;p&gt;The same thing happened in jobfit. Reviewing the four agents' files before their first run uncovered a badly worded rule in my CLAUDE.md, which meant the reviewer would flag, on every review, a file that did exactly what I wanted to allow; that two agents described how the prompt is versioned incorrectly; and that my CLAUDE.md said the rubric lived in a folder that doesn't even exist in the repo. All of that was committed thirteen minutes before the first run.&lt;/p&gt;

&lt;h3&gt;
  
  
  jobfit: 27 runs in 18 hours
&lt;/h3&gt;

&lt;p&gt;Each agent's description tells Claude when to use it without me asking: the reviewer before every code commit, the auditor before touching the docs and after every change that moves a number. So in about 18 hours they ran 27 times: 15 by the &lt;code&gt;repo-rules-reviewer&lt;/code&gt;, 11 by the &lt;code&gt;docs-drift-auditor&lt;/code&gt; and one by the disagreement analyst. The first 16, again, were a generic subagent following the file.&lt;/p&gt;

&lt;p&gt;The best finding came from the reviewer. I had added a &lt;code&gt;--labels-only&lt;/code&gt; flag to score only the 79 labeled job postings, and all the tests passed. But the command read the flag and dropped it before the query, so it would have scored 202 postings instead of 79. To give you an idea, scoring 202 postings, when I did it later in two runs, cost $1.81. The tests didn't see it because they called the function underneath directly, not the command. The reviewer caught it before I spent a cent.&lt;/p&gt;

&lt;p&gt;The auditor found that the README said the August 23 queue had 45 postings, when that day's file had 5, plus other numbers that no longer matched the database.&lt;/p&gt;

&lt;p&gt;And it also got something wrong. In that same run it said a 5.3% in the README couldn't be reproduced from any data: it had divided by the wrong number. I took it at face value, it went in as an error on the list of verified facts I put together to write the previous post, and a later run disproved it. An agent caught the mistake, but it went through me without me checking it.&lt;/p&gt;

&lt;h2&gt;
  
  
  82k tokens that were really 480k
&lt;/h2&gt;

&lt;p&gt;Here's the part the course doesn't cover.&lt;/p&gt;

&lt;p&gt;The pitch is that subagents save you context. That's true, but only for the main thread, and they don't save you from your own sessions. Each subagent runs its own requests.&lt;/p&gt;

&lt;p&gt;And those requests add up to more than it looks like. When a run finishes, Claude Code tells you how many tokens the subagent used: 82k for the &lt;code&gt;post-editor&lt;/code&gt; run on my first post. That number is the size of the context at the end, not what it processed. To get there it made 8 requests, and each one resent everything accumulated so far: about 480k tokens total, almost all of them read from cache. And the &lt;code&gt;site-reviewer&lt;/code&gt; was the clone that vanished without bringing anything back: it made 38 requests, went past 2 million tokens and got cut off when it hit the plan limit, without delivering the report.&lt;/p&gt;

&lt;p&gt;In jobfit, the 27 runs processed almost 35 million tokens, 92.7% from cache. The one that took the most was the &lt;code&gt;docs-drift-auditor&lt;/code&gt;, the very one I put on sonnet because it only verifies: 81% of the tokens and 388 of the 503 requests, with a single run of 6.5 million. Claude Code's own usage panel suggests putting a cheaper model on simple subagents, and I did. But a cheaper model makes each request cheaper, it doesn't remove requests, and each one resends the whole accumulated context. What weighed the most was how many times it resent everything, not the model. And just like with Naruto, the exhaustion comes back too.&lt;/p&gt;

&lt;p&gt;In Claude Code's usage panel, weekly view (it's approximate, it only counts sessions on this machine, and it's the week I built the agents): &lt;strong&gt;93% of my usage was above 150k of context, and 67% in sessions longer than 8 hours.&lt;/strong&gt; In other words, subagents should keep the main thread from growing, and my context blows up anyway. The problem isn't the pattern. It's that I leave sessions open all day and don't run &lt;code&gt;/clear&lt;/code&gt; when I switch topics.&lt;/p&gt;

&lt;h2&gt;
  
  
  The contradiction I do have
&lt;/h2&gt;

&lt;p&gt;The course warns against sequential pipelines, and my workflow is one: edit, translate, review the PR, verify production. But each step reads the file from the repo, not the previous step's summary, so nothing gets lost in the handoff.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I still don't know
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;source-assessor&lt;/code&gt; has never run, and the disagreement analyst ran only once, so what I say about them counts as design, not evidence. The rest have a track record: nine runs on the blog and 27 in jobfit.&lt;/p&gt;

&lt;p&gt;I've already had a report go wrong both ways. With the jobfit 5.3%, the agent was wrong. In the review of this very post, the editor flagged some builds I had actually measured as made up, because the data I gave it was incomplete: there, the agent did its job right with a half-done brief. That's why I still read their reports with suspicion.&lt;/p&gt;

&lt;p&gt;For now, here's where I land: a useful subagent is so specific it's useless to anyone else. It isn't an expert, it's a shadow clone that only knows what I left it in writing.&lt;/p&gt;

&lt;p&gt;If you built a subagent that only works for your repo, &lt;a href="mailto:hello@davidquinta.tech"&gt;tell me&lt;/a&gt; what you delegated to it. And if you want the next post, there's the &lt;a href="https://www.davidquinta.tech/blog/rss.xml" rel="noopener noreferrer"&gt;RSS feed&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://www.davidquinta.tech/blog/subagents-shadow-clones/" rel="noopener noreferrer"&gt;davidquinta.tech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>productivity</category>
      <category>programming</category>
    </item>
    <item>
      <title>Nobody reviews their own code well, not even an agent</title>
      <dc:creator>David Quintanilla</dc:creator>
      <pubDate>Thu, 26 Nov 2026 01:01:31 +0000</pubDate>
      <link>https://dev.to/davequinta/nobody-reviews-their-own-code-well-not-even-an-agent-1305</link>
      <guid>https://dev.to/davequinta/nobody-reviews-their-own-code-well-not-even-an-agent-1305</guid>
      <description>&lt;p&gt;The idea gets passed around a lot: if an AI wrote the code, have another AI review it, because the one that wrote it is biased. The &lt;a href="https://academy.claude.com/courses/introduction-to-subagents/" rel="noopener noreferrer"&gt;Claude Academy subagents course&lt;/a&gt; puts it this way: whoever wrote something doesn't review it well, because they read it with the memory of having written it. I repeated that in &lt;a href="https://www.davidquinta.tech/blog/subagents-shadow-clones/" rel="noopener noreferrer"&gt;my previous post&lt;/a&gt;, and I have cases where it worked.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6frxri5cgse8d9avpf07.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6frxri5cgse8d9avpf07.png" alt="Two scenes. On the left, a coder robot with headphones and a pencil reviews code it wrote itself and approves it with a check mark, missing the bug in it. On the right, a reviewer robot with glasses holds a magnifying glass over that bug in the same code and flags it with an X while the coder looks on, surprised." width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It's true, but incomplete. A &lt;a href="https://www.microsoft.com/en-us/research/publication/expectations-outcomes-and-challenges-of-modern-code-review/" rel="noopener noreferrer"&gt;Microsoft study on code review&lt;/a&gt; found that review turns up fewer defects than people expect, and "even more rarely detects deep, subtle, or 'macro' level issues." I kept wondering why.&lt;/p&gt;

&lt;p&gt;I went through the repo at work looking for bugs that had already been fixed and had this shape: the code looks correct line by line, the tests are green, and the bug lives at the boundary between two layers. I found three. All three went through review, and none of them was caught by reading the diff.&lt;/p&gt;

&lt;p&gt;They're anonymized: generic names, nothing from the domain.&lt;/p&gt;

&lt;h2&gt;
  
  
  One: the test that documented the bug
&lt;/h2&gt;

&lt;p&gt;An ingestion process stores external codes with the leading zero, &lt;code&gt;"012345"&lt;/code&gt;. Another process, the one that looks things up by that same code, strips the zero before searching:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;line&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;code&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;code&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;6&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;startswith&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"0"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;code&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="n"&gt;item&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;objects&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ext_code&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;first&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="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;warning&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"not found: %s"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;continue&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No code with a leading zero ever matched anything. Every line got skipped by that &lt;code&gt;continue&lt;/code&gt;, so the records were created, but without any of their lines. The only trace was a warning in the logs.&lt;/p&gt;

&lt;p&gt;What makes this case special is the test fixture:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="nc"&gt;Item&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ext_code&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"12345"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# leading zero removed&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It's not that a test was missing. The test was green, documenting the bug as if it were the expected behavior, with a comment explaining it. Michael Feathers has a name for tests like this: &lt;a href="https://michaelfeathers.silvrback.com/characterization-testing" rel="noopener noreferrer"&gt;characterization tests&lt;/a&gt;, which "document your system's actual behavior, not check for the behavior you wish your system had." Ours was one by accident. And the other fixtures used non-numeric codes, so the leading zero case never got tested.&lt;/p&gt;

&lt;p&gt;It started with a refactor that moved the lookup from an old field, where stripping the zero was correct, to a new one where it wasn't. Neither that change nor its review caught it.&lt;/p&gt;

&lt;p&gt;QA found it. The clue was in the logs: the external service returned &lt;code&gt;012345&lt;/code&gt; and the log said it couldn't find &lt;code&gt;12345&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the reviewer needed to know:&lt;/strong&gt; how the other layer stores the data. Reading this diff, there's nothing odd to see. The author, the test and anyone reviewing it shared the same assumption.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two: the fallback that never ran
&lt;/h2&gt;

&lt;p&gt;A function fetches remote data inside a &lt;code&gt;try/except&lt;/code&gt; and, if that fails, sends the line to a fallback list:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;has_detail&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_detail&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="nf"&gt;attach&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="nc"&gt;Exception&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;pending&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;pending&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It looks defensive and correct. The problem is that the HTTP layer underneath never raises: when it gets a 4xx, it logs it and returns &lt;code&gt;None&lt;/code&gt;. So the line goes into the &lt;code&gt;if&lt;/code&gt;, nothing raises, nothing gets attached, and the &lt;code&gt;elif&lt;/code&gt; is never evaluated. The line disappears without ever reaching the fallback list.&lt;/p&gt;

&lt;p&gt;The fix is to move the decision into a flag:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;attached&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;has_detail&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_detail&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="nf"&gt;attach&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="n"&gt;attached&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;
    &lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="nc"&gt;Exception&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;attached&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;code&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;pending&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;line&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It hit exactly the records furthest along in their lifecycle, the ones that had detail available: they were saved empty, with no visible error. It showed up in production, when monitoring kept firing after an earlier fix was already deployed. It came out of investigating that incident with help from an agent, already knowing where to look.&lt;/p&gt;

&lt;p&gt;And here's the uncomfortable part: there was no test for the case where the detail lookup fails. But if someone had written one, it probably would have passed anyway, because when you mock, you follow the contract you imagine, "if it fails, it raises", and not the real one, "if it fails, it returns &lt;code&gt;None&lt;/code&gt;". Fowler makes the point in his note on &lt;a href="https://martinfowler.com/bliki/ContractTest.html" rel="noopener noreferrer"&gt;contract tests&lt;/a&gt;: "testing against a double always raises the question of whether the double is indeed an accurate representation of the external service."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the reviewer needed to know:&lt;/strong&gt; the real behavior of the HTTP layer, which lives in another file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three: the signal that skips the guard
&lt;/h2&gt;

&lt;p&gt;Before writing to the search engine, the reindex function makes sure the index exists with its explicit schema:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;reindex_all&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="nf"&gt;ensure_index_with_explicit_schema&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nf"&gt;bulk_write&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;docs&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The guard is there, it's tested, and reading the repo it looks complete. What you don't see is that the library also writes on its own on every &lt;code&gt;save()&lt;/code&gt;, through a signal, and that path doesn't go through the guard. If the index doesn't exist, the engine creates it by itself and infers the schema from the data.&lt;/p&gt;

&lt;p&gt;All it took was someone editing a record from the admin panel at the wrong moment, and the index ended up with the wrong types. After that, filtering and sorting fail on every search. That same failure mode had already broken search in production once.&lt;/p&gt;

&lt;p&gt;The fix was to put the same guard in the signal layer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;SafeIndexer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;LibraryIndexer&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;on_save&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;instance&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="nf"&gt;ensure_index_with_explicit_schema&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="nb"&gt;super&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="nf"&gt;on_save&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;instance&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It never showed up in tests because there the index always exists. A person found it, reasoning it through after the incident and checking it by hand against the development environment. And that fix later brought a second-order bug, because the guard ran even when automatic writes were turned off.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the reviewer needed to know:&lt;/strong&gt; the guts of a third-party library.&lt;/p&gt;

&lt;h2&gt;
  
  
  What fresh eyes do find
&lt;/h2&gt;

&lt;p&gt;To be fair, the same repo has a bug where a new reviewer would have shone. A default argument evaluated at import time:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;to_date&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;datetime&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;today&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nf"&gt;timedelta&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;days&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;730&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="p"&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;It freezes when the process starts, no caller passed it, and on top of that &lt;code&gt;to_date&lt;/code&gt; pointed two years back, so every request went out with the range backwards. That one needs no context at all. Anyone who knows Python spots it in two seconds, human or agent. It's right there as a warning in the &lt;a href="https://docs.python.org/3/tutorial/controlflow.html#default-argument-values" rel="noopener noreferrer"&gt;official Python tutorial&lt;/a&gt;: "The default value is evaluated only once." And that's the difference.&lt;/p&gt;

&lt;h2&gt;
  
  
  The distinction
&lt;/h2&gt;

&lt;p&gt;A reviewer who comes in fresh finds what looks odd on its own: the known antipattern, the default that's evaluated only once, the bare except, the obvious N+1. For that, fresh eyes are enough, and it actually helps, because whoever wrote the code carries around the reason they wrote it that way, and that reason blocks the view.&lt;/p&gt;

&lt;p&gt;But the three bugs above don't look odd. They look normal. They look normal because we all shared the wrong assumption: the author, the test and the reviewer. There, fresh eyes only catch what their own experience taught them to look for, and an assumption everyone shares is exactly the one nobody looks for. Addy Osmani gets at the same thing from another angle in his post on &lt;a href="https://addyosmani.com/blog/agentic-code-review/" rel="noopener noreferrer"&gt;agentic code review&lt;/a&gt;: "a model reviews the code that exists and rarely flags the requirement that nobody thought to write down."&lt;/p&gt;

&lt;p&gt;What finds them is knowing something the author didn't. How the other layer stores the data. That this function returns &lt;code&gt;None&lt;/code&gt; instead of raising. That the library writes through a parallel path.&lt;/p&gt;

&lt;p&gt;When an agent does the reviewing, that knowledge has to be written down somewhere. It's not clean-context magic: it's a file that says "review against the behavior that already exists" or "confirm what the layer below returns before assuming it raises." Without that, a new agent reviewing the diff reaches exactly the same wrong conclusion we did.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I don't know
&lt;/h2&gt;

&lt;p&gt;None of these three was found by an agent. People found two, and one came out of investigating an incident with help from an agent, already knowing where to look. So this isn't "agents find what humans don't". It's a taxonomy of what kind of knowledge you need, and it applies just as much to a human reviewer who's new to the team.&lt;/p&gt;

&lt;p&gt;What's left is the real test: writing those rules into a reviewer agent and reporting back here on whether it catches the next boundary bug before production does. If you've already tried it, &lt;a href="mailto:hello@davidquinta.tech"&gt;write to me&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;For now, this is where I land: having someone else review is necessary, but it's not enough. They have to know something the author didn't. It's a cousin of what happened to me with &lt;a href="https://www.davidquinta.tech/blog/nobody-runs-tests-against-a-prompt/" rel="noopener noreferrer"&gt;the jobfit threshold I never measured&lt;/a&gt;: an assumption nobody questions is an assumption nobody reviews.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://www.davidquinta.tech/blog/nobody-reviews-their-own-code/" rel="noopener noreferrer"&gt;davidquinta.tech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>codereview</category>
      <category>django</category>
      <category>programming</category>
    </item>
    <item>
      <title>I don't just review the agent's code anymore. I ask for proof</title>
      <dc:creator>David Quintanilla</dc:creator>
      <pubDate>Thu, 26 Nov 2026 01:00:55 +0000</pubDate>
      <link>https://dev.to/davequinta/i-dont-just-review-the-agents-code-anymore-i-ask-for-proof-38hl</link>
      <guid>https://dev.to/davequinta/i-dont-just-review-the-agents-code-anymore-i-ask-for-proof-38hl</guid>
      <description>&lt;p&gt;When an agent tells me "done, it works," I don't believe it. Not because it's lying, but because "it works" is a conclusion, and what I need is the evidence.&lt;/p&gt;

&lt;p&gt;At work I use Playwright for that, a lot. I ask the agent to open the browser through the &lt;a href="https://github.com/microsoft/playwright-mcp" rel="noopener noreferrer"&gt;Playwright MCP&lt;/a&gt;, do what a user would do, and leave me a screenshot, a video or a trace. More than once, watching the video, I found what the agent hadn't told me.&lt;/p&gt;

&lt;p&gt;But that conversation gets lost. Whatever worked while exploring has to end up as a file in &lt;code&gt;e2e/&lt;/code&gt; that runs by itself on every deploy. That's what this post is about: going from "show me once" to "show me every time."&lt;/p&gt;

&lt;p&gt;I built it on this blog: six reader flows that run in CI, on every PR against the build and after every deploy against the live site. I approved the list of flows. One agent wrote the code and another reviewed it, the one that reviews this site. The site's repo is private, but the site isn't. You can run everything here yourself against davidquinta.tech.&lt;/p&gt;

&lt;h2&gt;
  
  
  A flow is what the reader does, and what has to happen
&lt;/h2&gt;

&lt;p&gt;A flow isn't "test the blog." It's a short story with an outcome you can check. For example: I'm reading a post in English, I switch to Spanish, and I have to land on that post's translation, not the index. And if I go back to the portfolio after that, it has to stay in Spanish.&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;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;test&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'@playwright/test'&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;POST_EN&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'/blog/i-made-my-dog-a-nintendogs/'&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="no"&gt;POST_ES&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'/es/blog/le-hice-un-nintendogs-a-mi-perro/'&lt;/span&gt;

&lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'switching to Spanish on a post opens its translation, and the portfolio follows'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;goto&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;POST_EN&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getByRole&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'group'&lt;/span&gt;&lt;span class="p"&gt;,&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="s1"&gt;'Language'&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="nf"&gt;getByRole&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'link'&lt;/span&gt;&lt;span class="p"&gt;,&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="s1"&gt;'ES'&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="nf"&gt;click&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toHaveURL&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;POST_ES&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;locator&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'html'&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="nf"&gt;toHaveAttribute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'lang'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'es'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getByRole&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'link'&lt;/span&gt;&lt;span class="p"&gt;,&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="s1"&gt;'Portafolio'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;exact&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&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="nf"&gt;click&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;locator&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'html'&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="nf"&gt;toHaveAttribute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'lang'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'es'&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This flow didn't come out of nowhere. It already happened on this blog: a hand-written &lt;code&gt;/blog/&lt;/code&gt; was sending Spanish readers to the English blog. I tell that story in &lt;a href="https://www.davidquinta.tech/blog/subagents-shadow-clones/" rel="noopener noreferrer"&gt;the subagents post&lt;/a&gt;. A good regression flow is a bug you already had, written down so it doesn't come back.&lt;/p&gt;

&lt;p&gt;The selectors go by role and name (&lt;code&gt;getByRole&lt;/code&gt;), not by CSS classes. If I change the markup tomorrow, the test still works. And it also checks that the link has an accessible name, because if a screen reader can't find it, neither can the test.&lt;/p&gt;

&lt;p&gt;Careful with the name, though: by default &lt;code&gt;getByRole&lt;/code&gt; matches the text as a case-insensitive substring. The first time it ran, it failed with &lt;code&gt;strict mode violation&lt;/code&gt;: on the Spanish page, "Portafolio" matched the nav link and also "VER PORTAFOLIO", which looks like a button but is a link. Hence the &lt;code&gt;exact: true&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Against the real build
&lt;/h2&gt;

&lt;p&gt;The flows don't run against &lt;code&gt;next dev&lt;/code&gt;. They run against the same files the reader gets: on a PR, the static export in &lt;code&gt;out/&lt;/code&gt;; everywhere else, production.&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;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;defineConfig&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'@playwright/test'&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;local&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;LOCAL&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s1"&gt;'1'&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="nf"&gt;defineConfig&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;testDir&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'e2e'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;forbidOnly&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;!!&lt;/span&gt;&lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;CI&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;retries&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;CI&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;reporter&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="s1"&gt;'list'&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="s1"&gt;'html'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;open&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'never'&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="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;use&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;baseURL&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;local&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="s1"&gt;'http://127.0.0.1:4173'&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;BASE_URL&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="s1"&gt;'https://www.davidquinta.tech'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;screenshot&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'only-on-failure'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;video&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'retain-on-failure'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;trace&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'retain-on-failure'&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="n"&gt;webServer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;local&lt;/span&gt;
    &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'python3 -m http.server 4173 --bind 127.0.0.1 --directory out'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'http://127.0.0.1:4173/'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;reuseExistingServer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;CI&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="kc"&gt;undefined&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;forbidOnly&lt;/code&gt; keeps a forgotten &lt;code&gt;test.only&lt;/code&gt; from letting CI pass after running a single test. The &lt;code&gt;retries: 1&lt;/code&gt; in CI is for the network, not for covering up unstable tests: if a flow keeps needing the retry, the report marks it as &lt;code&gt;flaky&lt;/code&gt; and it has to be fixed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The test leaves the evidence, not the agent
&lt;/h2&gt;

&lt;p&gt;Those three lines, &lt;code&gt;screenshot&lt;/code&gt;, &lt;code&gt;video&lt;/code&gt; and &lt;code&gt;trace&lt;/code&gt;, are the "show me every time." When something fails, I don't have to ask the agent what happened. I have the screenshot, the video and the trace, which is a recording of every step with the DOM, the network and the console.&lt;/p&gt;

&lt;p&gt;To check that this actually helps, we broke the site on purpose: I made the language button on posts always go to the blog index. The flow failed like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Error: expect(page).toHaveURL(expected) failed
Expected: "http://127.0.0.1:4173/es/blog/le-hice-un-nintendogs-a-mi-perro/"
Received: "http://127.0.0.1:4173/es/blog/"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiuu4oun3f0jgvrez9v85.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiuu4oun3f0jgvrez9v85.png" alt="Playwright's trace viewer with the failed test: the action list marks the toHaveURL expect in red, the browser shows the Spanish blog index instead of the post, and the expected URL appears below." width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The trace of the broken flow. The test expected the post and ended up on the index.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;And that's the difference from an agent's "done": anyone can open that trace with &lt;code&gt;npx playwright show-trace&lt;/code&gt; and see exactly where it broke. In CI, the trace stays inside the report uploaded as the run's artifact.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a click won't show you
&lt;/h2&gt;

&lt;p&gt;Some flows aren't about clicks. The video in &lt;a href="https://www.davidquinta.tech/blog/i-made-my-dog-a-nintendogs/" rel="noopener noreferrer"&gt;Dante's post&lt;/a&gt; has to wait until it's on screen to start, and if the reader pauses it, it has to stay paused even when they scroll.&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="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'the clip waits until it is on screen, and a reader can pause it'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;goto&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;POST_ES&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;video&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;locator&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'video.post-video'&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;paused&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;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;video&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;evaluate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;HTMLVideoElement&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;paused&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

  &lt;span class="c1"&gt;// Below the fold, and still not playing a second later.&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;video&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="ow"&gt;not&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBeInViewport&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;waitForTimeout&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;paused&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="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;video&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;scrollIntoViewIfNeeded&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;poll&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;paused&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

  &lt;span class="c1"&gt;// The reader pauses it, scrolls away and comes back.&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;video&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;evaluate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;HTMLVideoElement&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;pause&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;await&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;evaluate&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="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;scrollTo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;top&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;behavior&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'instant'&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;await&lt;/span&gt; &lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;video&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="ow"&gt;not&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBeInViewport&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;video&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;scrollIntoViewIfNeeded&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;video&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBeInViewport&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;waitForTimeout&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;paused&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="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;true&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;expect.poll&lt;/code&gt; retries until the video starts, without a fixed &lt;code&gt;sleep&lt;/code&gt;. The &lt;code&gt;waitForTimeout&lt;/code&gt; calls are fixed, on purpose: there are three in the whole file, and all three check that something &lt;em&gt;doesn't&lt;/em&gt; happen, which is impossible without giving it time to happen. Everything else waits by polling. And in this test, before each wait, &lt;code&gt;toBeInViewport&lt;/code&gt; confirms where the video is, because if it's off screen, "still paused" proves nothing.&lt;/p&gt;

&lt;p&gt;That video had already failed once. It started on its own and there was no way to pause it, which breaks &lt;a href="https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html" rel="noopener noreferrer"&gt;WCAG 2.2.2&lt;/a&gt;. axe, which runs in the site's audit, didn't catch it: its autoplay rules look at audio, and this video has no sound. The agent that reviews the site found it, in the video's PR. Now there's a test for it.&lt;/p&gt;

&lt;p&gt;The other flows do the same with things a click won't show: that closing an enlarged image with Escape puts focus back on the image, that a post can be read with JavaScript turned off (&lt;code&gt;javaScriptEnabled: false&lt;/code&gt;), and that a link to a section doesn't leave the heading hidden under the nav bar, on desktop and on a phone:&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;for&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;viewport&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1280&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;800&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="n"&gt;width&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;390&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;height&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;844&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="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`a link to a section lands just below the sticky nav at ${viewport.width}px`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setViewportSize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;viewport&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="c1"&gt;// The site scrolls smoothly, so a fresh load is still on its way to the&lt;/span&gt;
    &lt;span class="c1"&gt;// anchor. Under reduced motion it jumps, and the position can be read.&lt;/span&gt;
    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;emulateMedia&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;reducedMotion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'reduce'&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;goto&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`${POST_ES}#la-cara-no-salio`&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;navBottom&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;locator&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'nav'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;first&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="nf"&gt;evaluate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;n&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getBoundingClientRect&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="n"&gt;bottom&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;top&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;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;locator&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'#la-cara-no-salio'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;evaluate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getBoundingClientRect&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="n"&gt;top&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;poll&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;top&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBeGreaterThanOrEqual&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;navBottom&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;top&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="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBeLessThanOrEqual&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;navBottom&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;24&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="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The range matters as much as the minimum: if the heading lands 300 px lower, that's not right either.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four times the evidence proved me wrong
&lt;/h2&gt;

&lt;p&gt;A test or a review caught all four, not a reader. That's what they're there for.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The test that ran without the option.&lt;/strong&gt; To test the video with reduced motion, the agent wrote &lt;code&gt;test.use({ reducedMotion: 'reduce' })&lt;/code&gt;, an option that doesn't exist in the repo's version of Playwright. The runner silently ignored it, the test failed, and my first suspect was the site. TypeScript does catch it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;error TS2353: Object literal may only specify known properties,
and 'reducedMotion' does not exist in type 'Fixtures&amp;lt;...&amp;gt;'.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But Playwright runs tests in TypeScript without checking the types. That's why CI runs &lt;code&gt;tsc&lt;/code&gt; before the flows: it's the only step in CI that catches an option that doesn't exist.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The clock.&lt;/strong&gt; Dante's game has a Playwright test in its repo that throws him the ball and waits for him to bring it back. It passed on my machine; on GitHub Actions it failed all three times. The runner has no GPU, the game ran at less than one frame per second and, since each frame advances at most 0.05 s of game time, only about 3 seconds of game time went by in the test's 120 seconds. &lt;a href="https://github.com/davequinta/dante-nintendogs/commit/8be32a6" rel="noopener noreferrer"&gt;The fix&lt;/a&gt;: in tests, a slow frame gets split into several 0.05 s steps. In the browser the game doesn't change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The codec that was there after all.&lt;/strong&gt; The agent wrote in the config that Playwright's Chromium on Linux doesn't play H.264 and switched the tests to Chrome. That was true for the old Chromium, but since 1.57 Playwright runs on Chrome for Testing builds. The agent didn't check, and I didn't question it. A CI run with both browsers played the video in both, so we took the switch to Chrome out. If I ask the agent for evidence, I have to ask myself for it too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The two tests that couldn't fail.&lt;/strong&gt; Before publishing this, the agent that reviews the site put the flows to the test: it removed the site's anchor offset and measured where the video was at each step. Two of the six passed anyway. The anchor one measured too early: the site scrolls smoothly, so right after loading the heading was still on its way, far down the page, and "below the nav" was always true. The video one used &lt;code&gt;mouse.wheel&lt;/code&gt;, which doesn't wait for the scroll to finish, so the video ended up off screen right when the test checked that it was still paused. Off screen it never starts, so the test passed even if the site forgot the reader's pause. The agent fixed them, broke the site on purpose, and both failed the way they should. A test you've never seen fail tells you nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  In CI: on every PR and every deploy
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;pull_request&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;deployment_status&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;workflow_dispatch&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;

&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;flows&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;if&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;github.event_name != 'deployment_status' || (github.event.deployment_status.state == 'success' &amp;amp;&amp;amp; github.event.deployment.environment == 'Production')&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;timeout-minutes&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;15&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/checkout@v4&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/setup-node@v4&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;node-version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;22&lt;/span&gt;
          &lt;span class="na"&gt;cache&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;npm&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;npm ci&lt;/span&gt;
      &lt;span class="c1"&gt;# Playwright runs TypeScript without type-checking it, so a wrong option
&lt;/span&gt;      &lt;span class="c1"&gt;# name in a test is only caught here.
&lt;/span&gt;      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;npm run typecheck&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;npx playwright install --with-deps chromium&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;if&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;github.event_name == 'pull_request'&lt;/span&gt;
        &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;npm run build&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Flows&lt;/span&gt;
        &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;npx playwright test&lt;/span&gt;
        &lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;LOCAL&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ github.event_name == 'pull_request' &amp;amp;&amp;amp; '1' || '' }}&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/upload-artifact@v4&lt;/span&gt;
        &lt;span class="na"&gt;if&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;failure()&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;playwright-report&lt;/span&gt;
          &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;playwright-report/&lt;/span&gt;
          &lt;span class="na"&gt;retention-days&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;14&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On a PR, it builds the site and runs the flows against that build, so a regression shows up before the merge. After every production deploy, it runs them against the live site, in case something slipped through or the deploy changed something the build doesn't show. I don't run them daily: the site is static, and between deploys there's nothing new to test. The deploy signal comes for free: Vercel reports each deploy to GitHub, and the &lt;code&gt;if&lt;/code&gt; only lets a finished production one through. If it fails, the report with the screenshots, videos and traces stays as the run's artifact.&lt;/p&gt;

&lt;p&gt;The six flows take about 15 seconds in CI. The whole job, with the browser install and the build, takes about two minutes.&lt;/p&gt;

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

&lt;p&gt;The snippets in this post run as is against davidquinta.tech: copy the first test into &lt;code&gt;e2e/&lt;/code&gt; along with the config, install &lt;code&gt;@playwright/test&lt;/code&gt;, download the browser with &lt;code&gt;npx playwright install chromium&lt;/code&gt; and run &lt;code&gt;npx playwright test&lt;/code&gt;. If you find something broken on the site, &lt;a href="mailto:hello@davidquinta.tech"&gt;let me know&lt;/a&gt;. And if you want the next post, there's the &lt;a href="https://www.davidquinta.tech/blog/rss.xml" rel="noopener noreferrer"&gt;RSS feed&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://www.davidquinta.tech/blog/show-me-it-works/" rel="noopener noreferrer"&gt;davidquinta.tech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>playwright</category>
      <category>testing</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>My Last Project.</title>
      <dc:creator>David Quintanilla</dc:creator>
      <pubDate>Wed, 20 May 2020 20:03:41 +0000</pubDate>
      <link>https://dev.to/davequinta/my-last-project-3hk9</link>
      <guid>https://dev.to/davequinta/my-last-project-3hk9</guid>
      <description>&lt;h2&gt;
  
  
  My Final Project
&lt;/h2&gt;

&lt;p&gt;This was a Group Project for Open Source Application.&lt;br&gt;
We call it, ASURA Face ID&lt;/p&gt;

&lt;p&gt;It is a system for identification of faces, in this case, applied to a business scenario, with the mobile application the detection and identification of faces will be made, and that information (face, detection time, etc.) will be sent to an API, to It is saved in a Database in the cloud.&lt;/p&gt;

&lt;h2&gt;
  
  
  Video:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=k52_FxLnJEo&amp;amp;t=2s" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=k52_FxLnJEo&amp;amp;t=2s&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo Link:
&lt;/h2&gt;

&lt;p&gt;Dashboard: &lt;a href="https://asurafaceid.firebaseapp.com/_admin/dashboard.html" rel="noopener noreferrer"&gt;https://asurafaceid.firebaseapp.com/_admin/dashboard.html&lt;/a&gt;&lt;br&gt;
Webcam Detection: &lt;a href="https://asurafaceid.firebaseapp.com/" rel="noopener noreferrer"&gt;https://asurafaceid.firebaseapp.com/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Github Repository:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/davequinta/AsuraFaceID.git" rel="noopener noreferrer"&gt;https://github.com/davequinta/AsuraFaceID.git&lt;/a&gt; &lt;/p&gt;

&lt;h2&gt;
  
  
  How I built it (what's the stack? did I run into issues or discover something new along the way?)
&lt;/h2&gt;

&lt;p&gt;Technologies:&lt;/p&gt;

&lt;p&gt;As the main provider of cloud services, FIREBASE is dealing with all the platforms it has.&lt;/p&gt;

&lt;p&gt;Database: FireStore (NoSQL)&lt;br&gt;
Image Storage: Firebase Storage&lt;br&gt;
Website Hosting: Firebase Hosting&lt;/p&gt;

&lt;p&gt;For the development of the Web application:&lt;br&gt;
Framework: VueJS&lt;br&gt;
Design Library: Vuetify.js&lt;br&gt;
Chart Library: Vue-charts.js&lt;br&gt;
Machine Learning:&lt;br&gt;
TensorFlow Lite (Library for Machine Learning on Mobile devices)&lt;br&gt;
FaceAPI&lt;/p&gt;

&lt;h2&gt;
  
  
  Additional Thoughts / Feelings / Stories
&lt;/h2&gt;

&lt;p&gt;It was so cool learning about Machile Learning and the basic concepts of Computer Vision! It inspire me too learn more about it.&lt;/p&gt;

</description>
      <category>2020devgrad</category>
      <category>octograd2020</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Hi, I'm David Quintanilla</title>
      <dc:creator>David Quintanilla</dc:creator>
      <pubDate>Wed, 22 Feb 2017 16:47:24 +0000</pubDate>
      <link>https://dev.to/davequinta/hi-im-david-quintanilla</link>
      <guid>https://dev.to/davequinta/hi-im-david-quintanilla</guid>
      <description>&lt;p&gt;I have been coding for [number] years.&lt;/p&gt;

&lt;p&gt;You can find me on Twitter as &lt;a href="https://twitter.com/David_Quinta415" rel="noopener noreferrer"&gt;@David_Quinta415&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I live in San Salvador.&lt;/p&gt;

&lt;p&gt;I work for 2AM Solutions        &lt;/p&gt;

&lt;p&gt;I mostly program in these languages: PHP.&lt;/p&gt;

&lt;p&gt;I am currently learning more about Chatbots.&lt;/p&gt;

&lt;p&gt;Nice to meet you.&lt;/p&gt;

</description>
      <category>introduction</category>
    </item>
  </channel>
</rss>
