<?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: Jessica Rudd</title>
    <description>The latest articles on DEV Community by Jessica Rudd (@funsize_engineer).</description>
    <link>https://dev.to/funsize_engineer</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%2F3707183%2F31e35361-b4f2-4b32-a5d3-43b6eb54a516.jpeg</url>
      <title>DEV Community: Jessica Rudd</title>
      <link>https://dev.to/funsize_engineer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/funsize_engineer"/>
    <language>en</language>
    <item>
      <title>Signs of AI Code</title>
      <dc:creator>Jessica Rudd</dc:creator>
      <pubDate>Thu, 12 Nov 2026 13:31:37 +0000</pubDate>
      <link>https://dev.to/funsize_engineer/signs-of-ai-code-48jd</link>
      <guid>https://dev.to/funsize_engineer/signs-of-ai-code-48jd</guid>
      <description>&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%2F05pgp0imdbdaxdnt5d4g.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%2F05pgp0imdbdaxdnt5d4g.png" title="Editorial risograph illustration in terracotta and indigo on a cream background, depicting a pair of metal pruning shears snipping through a dense, chaotic ball of tangled syntax lines, gears, and brackets, cleanly releasing a single, straight cyan line of code extending across the page." alt="Editorial risograph illustration in terracotta and indigo on a cream background, depicting a pair of metal pruning shears snipping through a dense, chaotic ball of tangled syntax lines, gears, and brackets, cleanly releasing a single, straight cyan line of code extending across the page." width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Introduction: The “Tapestry” in Your Pull Request
&lt;/h2&gt;

&lt;p&gt;Wikipedia editors maintain an internal essay titled &lt;em&gt;&lt;a href="https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing" rel="noopener noreferrer"&gt;Signs of AI Writing&lt;/a&gt;&lt;/em&gt;. It lists the dead giveaways of LLM-generated prose: unearned words like “delve” and “testament,” predictable three-part rhythmic sentences, and excessive diplomatic hedges. It exists because models trained on the internet consistently regress to a bland, bloated average.&lt;/p&gt;

&lt;p&gt;The exact same thing happens in code.&lt;/p&gt;

&lt;p&gt;Autonomous coding agents and IDE copilots write with an unmistakable accent. It rarely breaks syntax. Instead, it surfaces as structural padding, defensive theater, and premature abstraction.&lt;/p&gt;

&lt;p&gt;Ask an agent to fetch data from a REST endpoint, and it routinely outputs an &lt;code&gt;AbstractDataFetcherFactory&lt;/code&gt;, two abstract base classes, three layers of interface indirection, and thirty lines of defensive checks for edge cases that database schema constraints already make impossible.&lt;/p&gt;

&lt;p&gt;It also narrates every basic line:&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;# Initialize empty list to store processed items&lt;/span&gt;
&lt;span class="n"&gt;processed_items&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="c1"&gt;# Loop through each item in the raw payload&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;item&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;raw_items&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="c1"&gt;# Append the transformed item&lt;/span&gt;
    &lt;span class="n"&gt;processed_items&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="nf"&gt;transform&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;item&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 is the software equivalent of padding a term paper to hit a word count.&lt;/p&gt;

&lt;p&gt;In application code, this bloat makes PR reviews miserable. In data pipelines, it causes operational failure. Swallowing exceptions behind a catch-all &lt;code&gt;except Exception: return None&lt;/code&gt; hides schema drift, poisons downstream tables, and burns warehouse compute credits while reporting green checkmarks on job runs.&lt;/p&gt;

&lt;p&gt;Telling an LLM to “write clean, maintainable code” does nothing. To a model trained on millions of verbose enterprise repos, boilerplate &lt;em&gt;is&lt;/em&gt; clean code. Fixing the output requires explicit negative constraints, borrowing Wikipedia’s playbook to catalog the exact anti-patterns agents must stop generating.&lt;/p&gt;

&lt;p&gt;Thanks for reading Data Bytes! Subscribe for free to receive new posts and support my work.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The Rosetta Stone: Translating AI Prose Tells into AI Code Smells
&lt;/h2&gt;

&lt;p&gt;Wikipedia’s anti-slop guide works because it names specific linguistic artifacts rather than offering vague advice like “write better.”&lt;/p&gt;

&lt;p&gt;Coding models display identical patterns. Left unconstrained, they produce syntactic filler to simulate architectural depth.&lt;/p&gt;

&lt;p&gt;Here is the direct translation layer between literary AI tells and real-world code smells.&lt;/p&gt;

&lt;h3&gt;
  
  
  Tell 1: The “Delve” Syndrome —&amp;gt; Comment Narration (”Captain Obvious”)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;In Prose:&lt;/strong&gt; &lt;em&gt;“It is crucial to delve into the multifaceted nature of...”&lt;/em&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;In Code:&lt;/strong&gt; Narrating syntax that is already obvious, or leaving conversational trail markers (&lt;code&gt;# Now we filter&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pre-training rewards line-by-line hand-holding explanations. In production code, narrating syntax creates visual noise and causes documentation drift when logic updates but comments stay behind.&lt;/p&gt;

&lt;h4&gt;
  
  
  The AI Slop
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Initialize empty list to hold active users&lt;/span&gt;
&lt;span class="n"&gt;active_users&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="c1"&gt;# Loop through all retrieved user records&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;raw_users&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="c1"&gt;# Check if the user status is active&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"active"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="c1"&gt;# Append the user ID to our list&lt;/span&gt;
        &lt;span class="n"&gt;active_users&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;user&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="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Return the filtered user list&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;active_users&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  The Pragmatic Refactor
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;user&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="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;raw_users&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"active"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Negative Constraint:&lt;/strong&gt; Ban “what” comments. If code requires an explanatory comment to explain what it is doing, fix variable semantics and function structure instead. Reserve comments strictly for non-obvious “why” decisions (e.g., API rate-limit workarounds, non-standard regex, or hardware constraints).&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Tell 2: False Balance —&amp;gt; The Pokémon Exception Catcher
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;In Prose:&lt;/strong&gt; Treating fringe claims with the exact same weight as hard evidence to avoid taking a stance.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;In Code:&lt;/strong&gt; Broad &lt;code&gt;try ... except Exception:&lt;/code&gt; blocks that log a warning and return &lt;code&gt;None&lt;/code&gt; to prevent crashes.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;LLMs are tuned to avoid hard stops during chat. In production, catching everything masks schema drift, conceals missing columns, and turns hard errors into silent downstream null corruption.&lt;/p&gt;

&lt;h4&gt;
  
  
  The AI Slop
&lt;/h4&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;extract_event_timestamp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;dict&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;datetime&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="kc"&gt;None&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;raw_ts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"event_metadata"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"timestamp"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="k"&gt;return&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;fromisoformat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;raw_ts&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="n"&gt;logger&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="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"Could not parse timestamp: {e}"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  The Pragmatic Refactor
&lt;/h4&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;extract_event_timestamp&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;dict&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;datetime&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&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;fromisoformat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"event_metadata"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"timestamp"&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;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Negative Constraint:&lt;/strong&gt; Fail fast. Never catch generic exceptions to return &lt;code&gt;None&lt;/code&gt; unless implementing an isolated dead-letter queue or worker loop at an external system boundary. Let invalid payloads raise immediately.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Tell 3: Syllable Padding —&amp;gt; Premature Enterprise Architecture
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;In Prose:&lt;/strong&gt; Using forty words when six convey the point.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;In Code:&lt;/strong&gt; Scaffolding abstract base classes, generic interfaces, and factory patterns for operations that only have one implementation.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;LLM Models train on millions of bloated corporate codebases where over-complicating things was mistaken for senior-level engineering. Ask for a simple API call, and an unchecked model will build an entire hierarchy of classes before it even fetches the data.&lt;/p&gt;

&lt;h4&gt;
  
  
  The AI Slop
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;abc&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="no"&gt;ABC&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;abstractmethod&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;BaseDataFetcher&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;ABC&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nd"&gt;@abstractmethod&lt;/span&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="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;endpoint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;pass&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;GenericAPIFetcher&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;BaseDataFetcher&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;__init__&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;client&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;httpx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Client&lt;/span&gt;&lt;span class="p"&gt;)&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;_client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&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="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;endpoint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&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;_client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;endpoint&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;raise_for_status&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;FetcherFactory&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nd"&gt;@staticmethod&lt;/span&gt;
    &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;create_fetcher&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;httpx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Client&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;BaseDataFetcher&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nc"&gt;GenericAPIFetcher&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  The Pragmatic Refactor
&lt;/h4&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_api_payload&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;httpx&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Client&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;endpoint&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;response&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&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;endpoint&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;raise_for_status&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&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;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Negative Constraint:&lt;/strong&gt; The Rule of Three. Do not create interfaces, abstract base classes, or factories until three distinct concrete implementations already exist in the codebase. Favor locality of behavior over indirection.&lt;/p&gt;
&lt;/blockquote&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%2Fuot7tl3536zn2ien49iw.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%2Fuot7tl3536zn2ien49iw.png" title="Minimalist isometric technical diagram on cream paper comparing an over-engineered Rube Goldberg apparatus of stacked gears, pulleys, and winding conduits on the left against a single, sturdy, terracotta-colored concrete bridge span on the right." alt="Minimalist isometric technical diagram on cream paper comparing an over-engineered Rube Goldberg apparatus of stacked gears, pulleys, and winding conduits on the left against a single, sturdy, terracotta-colored concrete bridge span on the right." width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Tell 4: Hallucinated Sources —&amp;gt; Semantic Mimicry &amp;amp; Phantom Stubs
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;In Prose:&lt;/strong&gt; Inventing plausible journal titles, volume numbers, and author names.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;In Code:&lt;/strong&gt; Emitting flawless type signatures, docstrings, and Pydantic models with &lt;code&gt;pass&lt;/code&gt;, &lt;code&gt;...&lt;/code&gt;, or &lt;code&gt;# TODO: implement&lt;/code&gt; in the body.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Models reproduce the surface aesthetics of production code without doing the actual implementation work. Skeletons create the appearance of rapid progress while offloading all real engineering back onto the human reviewer.&lt;/p&gt;

&lt;h4&gt;
  
  
  The AI Slop
&lt;/h4&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;reconcile_ledger_discrepancies&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;source_records&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;target_records&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;dict&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="nc"&gt;ReconciliationReport&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="s2"&gt;"""Reconciles source and target transaction records to identify drift.

    Args:
        source_records: Raw transactions from primary ledger.
        target_records: Replicated transactions from warehouse staging.

    Returns:
        A structured ReconciliationReport detailing matched and drifted records.
    """&lt;/span&gt;
    &lt;span class="c1"&gt;# TODO: Implement join logic based on transaction_id&lt;/span&gt;
    &lt;span class="c1"&gt;# TODO: Calculate float drift and handle currency normalization&lt;/span&gt;
    &lt;span class="k"&gt;pass&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  The Pragmatic Refactor
&lt;/h4&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;reconcile_ledger_discrepancies&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;source_records&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;target_records&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;dict&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="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;dict&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;source_index&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"transaction_id"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;source_records&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="n"&gt;target_index&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"transaction_id"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;target_records&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"missing_in_target"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;source_index&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&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="n"&gt;k&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;target_index&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"missing_in_source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;target_index&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&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="n"&gt;k&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;source_index&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;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Negative Constraint:&lt;/strong&gt; Ban placeholder stubs. An agent must output end-to-end working functions or refuse the request until necessary parameters are provided.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Tell 5: Unsolicited Sermons —&amp;gt; Defensive Paranoia &amp;amp; Drive-By Refactoring
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;In Prose:&lt;/strong&gt; Adding a preachy wrap-up paragraph to a straightforward question.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;In Code:&lt;/strong&gt; Adding redundant type checks inside private helper functions, or reformatting nearby code you never asked it to touch..&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Models often introduce defensive checks for conditions the surrounding code already prevents, and rewrite untouched functions while making unrelated edits. This creates noisy git diffs and conceals meaningful changes.&lt;/p&gt;

&lt;h4&gt;
  
  
  The AI Slop
&lt;/h4&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;compute_moving_average&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;metrics&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;float&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;window_size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;float&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="nb"&gt;isinstance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;metrics&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;raise&lt;/span&gt; &lt;span class="nc"&gt;TypeError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Metrics must be a list."&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="nb"&gt;all&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;isinstance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;float&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;metrics&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;raise&lt;/span&gt; &lt;span class="nc"&gt;ValueError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"All elements must be numeric."&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="nb"&gt;isinstance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;window_size&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;window_size&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;raise&lt;/span&gt; &lt;span class="nc"&gt;ValueError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Window size must be a positive integer."&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;metrics&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;window_size&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="n"&gt;window_size&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&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;metrics&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;window_size&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="p"&gt;]&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  The Pragmatic Refactor
&lt;/h4&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;compute_moving_average&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;metrics&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;float&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;window_size&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;float&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;metrics&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;window_size&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="n"&gt;window_size&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&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;metrics&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;window_size&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="p"&gt;]&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Negative Constraint:&lt;/strong&gt; Enforce scope discipline and boundary-only validation. Validate data strictly at system ingress points (API endpoints, CLI inputs, file readers). Trust internal function contracts and keep git diffs strictly focused on requested changes.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  3. The Data Engineering Multiplier
&lt;/h2&gt;

&lt;p&gt;In web applications, bloated code wastes reviewer attention and burns minor CPU cycles. In data pipelines, it corrupts state, runs up BigQuery slot usage, and breaks downstream models silently.&lt;/p&gt;

&lt;p&gt;Without explicit negative constraints, LLMs default to three destructive pipeline patterns:&lt;/p&gt;

&lt;h3&gt;
  
  
  Pattern 1: Row-by-Row Python Loops Instead of Native Spark Functions
&lt;/h3&gt;

&lt;p&gt;Most code in an AI’s training data comes from standard, single-machine Python tutorials. As a result, when asked to transform a PySpark DataFrame, an unchecked agent often bottlenecks the job by pulling data into driver memory or writing custom Python UDFs rather than using native Spark expressions.&lt;/p&gt;

&lt;h4&gt;
  
  
  The AI Slop
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Pulls data through Python runtime, breaking Catalyst optimization&lt;/span&gt;
&lt;span class="nd"&gt;@udf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;returnType&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nc"&gt;StringType&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;def&lt;/span&gt; &lt;span class="nf"&gt;normalize_event_type&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;event_name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;event_name&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;strip&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;lower&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="n"&gt;event_name&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="s2"&gt;"unknown"&lt;/span&gt;

&lt;span class="n"&gt;df&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;df&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;withColumn&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"clean_event"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;normalize_event_type&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;col&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"raw_event"&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;h4&gt;
  
  
  The Pragmatic Refactor
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;pyspark&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sql&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;functions&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="no"&gt;F&lt;/span&gt;

&lt;span class="n"&gt;df&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;df&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;withColumn&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="s2"&gt;"clean_event"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="no"&gt;F&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;coalesce&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;F&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lower&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;F&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;trim&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;F&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;col&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"raw_event"&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="no"&gt;F&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"unknown"&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;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Negative Constraint:&lt;/strong&gt; Prohibit custom Python UDFs and driver-side loops (⁠.collect()⁠, ⁠.toPandas()⁠) whenever a built-in Spark SQL or vectorized function can do the job.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Pattern 2: CTE Sprawl Over Partition Discipline
&lt;/h3&gt;

&lt;p&gt;Given an analytical prompt, an LLM routinely outputs deeply nested Common Table Expressions with unconstrained window functions across an entire table. It simulates business logic while omitting the basic partition and cluster filters needed to prevent full scans.&lt;/p&gt;

&lt;h4&gt;
  
  
  The AI Slop
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="c1"&gt;-- Full scan over the entire table; ignores physical partition layout&lt;/span&gt;
&lt;span class="k"&gt;WITH&lt;/span&gt; &lt;span class="n"&gt;ranked_events&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="k"&gt;SELECT&lt;/span&gt; 
        &lt;span class="n"&gt;user_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;event_time&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nb"&gt;ROW_NUMBER&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;OVER&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;PARTITION&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;user_id&lt;/span&gt; &lt;span class="k"&gt;ORDER&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;event_time&lt;/span&gt; &lt;span class="k"&gt;DESC&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;rn&lt;/span&gt;
    &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="sb"&gt;`analytics.events`&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;user_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;event_time&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt; 
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;ranked_events&lt;/span&gt; 
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;rn&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  The Pragmatic Refactor
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;user_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;event_time&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;payload&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="k"&gt;SELECT&lt;/span&gt; 
        &lt;span class="n"&gt;user_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;event_time&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nb"&gt;ROW_NUMBER&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;OVER&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;PARTITION&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;user_id&lt;/span&gt; &lt;span class="k"&gt;ORDER&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;event_time&lt;/span&gt; &lt;span class="k"&gt;DESC&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;rn&lt;/span&gt;
    &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="sb"&gt;`analytics.events`&lt;/span&gt;
    &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;_PARTITIONDATE&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="no"&gt;DATE_SUB&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;CURRENT_DATE&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="kt"&gt;INTERVAL&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="no"&gt;DAY&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;rn&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Negative Constraint:&lt;/strong&gt; Forbid unpartitioned queries on partitioned tables. Every analytical query generated for warehouses like BigQuery must explicitly enforce partition and cluster bounds at the initial scan step.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Pattern 3: Masking Schema Drift with Silent Defaults
&lt;/h3&gt;

&lt;p&gt;When source schemas change (an upstream field renames, a data type shifts, or nulls land in a previously required column) the agent instinctively attempts to prevent job failures by chaining defensive &lt;code&gt;.get("key", default)&lt;/code&gt; fallbacks.&lt;/p&gt;

&lt;p&gt;This makes the ingestion job pass, but downstream dashboards and models ingest zeroes and empty strings for weeks before the break is discovered.&lt;/p&gt;

&lt;h4&gt;
  
  
  The AI Slop
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Hides schema changes; lets corrupted or missing records enter staging&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;ingest_record&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;raw&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"user_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;raw&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"user_id"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"unknown_user"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"amount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;float&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;raw&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"transaction_amount"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.0&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="s2"&gt;"timestamp"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;raw&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"timestamp"&lt;/span&gt;&lt;span class="p"&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;utcnow&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;isoformat&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;h4&gt;
  
  
  The Pragmatic Refactor
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Hard stop on missing required contract fields&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;ingest_record&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;raw&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"user_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;raw&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"user_id"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"amount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;float&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;raw&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"transaction_amount"&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="s2"&gt;"timestamp"&lt;/span&gt;&lt;span class="p"&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;fromisoformat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;raw&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"timestamp"&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;isoformat&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;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Negative Constraint:&lt;/strong&gt; Fail fast at ingestion boundaries. Do not inject silent fallback defaults for required contract fields. If an upstream schema violates expectations, the job must raise an immediate exception and stop data poisoning at ingestion.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  4. Weaponizing &lt;code&gt;AGENTS.md&lt;/code&gt; with Negative Constraints
&lt;/h2&gt;

&lt;p&gt;Prompting an LLM with instructions like “write clean, efficient, maintainable code” is useless. Because the model learned from millions of wordy corporate codebases, its internal math genuinely treats fifty lines of setup boilerplate and three layers of wrapper classes as the gold standard for ‘clean code.&lt;/p&gt;

&lt;p&gt;Telling an AI what to do leaves too much room for bad habits. Telling it what not to do sets hard guardrails.&lt;/p&gt;

&lt;p&gt;Wikipedia editors didn’t stop generic writing by asking contributors to “write compelling prose.” They wrote a blacklist of terms (”delve,” “tapestry,” “testament”) and mechanical patterns to cut on sight.&lt;/p&gt;

&lt;p&gt;To get production-grade output from autonomous coding tools (whether using Cursor, Claude Code, Antigravity, or custom local scripts), you must structure your project instructions as explicit negative filters.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Negative Constraints Work
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;They eliminate the statistical average:&lt;/strong&gt; Models naturally fall back on the most common habits in their training data—and in corporate codebases, that means wordy, overly cautious bloat. Hard ‘don’ts’ snap the model out of autopilot.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;They make checks automatic&lt;/strong&gt; : You can’t write a test for whether code is “maintainable.” You can test whether an agent slipped in an unprompted abstract class, swallowed an exception, or wrote a comment starting with ⁠# Loop through⁠.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;They protect git diffs:&lt;/strong&gt; Agents love drive-by refactoring; reformatting untouched code, renaming variables in adjacent methods, and adding defensive checks to unrelated functions. Negative constraints keep changes surgical.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  The Anatomy of an Anti-Slop Constraint Block
&lt;/h3&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%2Fowm3n4vhbnhoxszq5lzy.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%2Fowm3n4vhbnhoxszq5lzy.png" title="Technical blueprint illustration showing an ink stamp and drafting compass enforcing strict borders on an architectural grid, containing clean linear diagrams inside the boundaries while keeping tangled, multicolored scribbles pushed out to the margins." alt="Technical blueprint illustration showing an ink stamp and drafting compass enforcing strict borders on an architectural grid, containing clean linear diagrams inside the boundaries while keeping tangled, multicolored scribbles pushed out to the margins." width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Place this configuration in your repository root as &lt;code&gt;AGENTS.md&lt;/code&gt;, &lt;code&gt;.cursorrules&lt;/code&gt;, or within your agent system instructions:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Agent Execution Protocol: Negative Constraints

You are an experienced engineer modifying a production system. Optimize for locality of behavior, readability, and minimal diffs over ceremony.

## Hard Prohibitions

### 1. Structure &amp;amp; Architecture
- DO NOT create abstract base classes, interfaces, or factory functions unless the project already contains at least three distinct implementations of that exact interface.
- DO NOT split logic into multiple files or utility modules if the total implementation fits in under 100 lines. Keep code co-located.
- DO NOT wrap primitive types in custom container classes or single-use Pydantic models unless strictly required for API serialization contracts.

### 2. Comments &amp;amp; Documentation
- DO NOT write inline comments explaining what code syntax does (e.g., `# Initialize list`, `# Filter items`, `# Loop through records`). 
- DO NOT leave conversational comments (e.g., `# Updated per prompt`, `# Handle edge case`).
- ONLY write comments to document non-obvious "why" decisions: external API bugs, performance trade-offs, or hardware limitations.
- DO NOT write docstrings that merely restate function names and type signatures.

### 3. Error Handling &amp;amp; Defensiveness
- DO NOT catch generic exceptions (`except Exception:`, `catch (e)`) to log a warning and return `None` or default values. Let errors raise.
- DO NOT add defensive type checks (`isinstance()`, null checks) inside internal functions. Validate data once at system ingress; trust internal types.
- DO NOT swallow missing keys in data transformations using `.get()` chains with silent fallbacks. Fail fast when input violates schema expectations.

### 4. Diff Discipline &amp;amp; Completeness
- DO NOT modify, reformat, or rename variables in code outside the immediate scope of the request. Preserve clean git diffs.
- DO NOT output placeholder stubs (`pass`, `...`, `// TODO`). Emit complete, functional code or state what inputs are missing.
- DO NOT introduce third-party libraries for tasks solvable with the standard library.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Enforcing Rules via Automated Verification
&lt;/h3&gt;

&lt;p&gt;Rules inside an instruction file help guide model generation, but autonomous agents require runtime verification.&lt;/p&gt;

&lt;p&gt;Pair your &lt;code&gt;AGENTS.md&lt;/code&gt; instructions with automated verification steps the agent must run before declaring a task complete:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AST-based Comment Checks:&lt;/strong&gt; Run a quick linter or script that flags single-line comments directly preceding standard control structures (&lt;code&gt;for&lt;/code&gt;, &lt;code&gt;if&lt;/code&gt;, &lt;code&gt;while&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Diff Scope Verification:&lt;/strong&gt; Check &lt;code&gt;git diff --stat&lt;/code&gt; against the original prompt scope. If an agent modified five files for a single-function fix, reject the output.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Dead Code &amp;amp; Stub Scans:&lt;/strong&gt; Fail builds automatically if keywords like &lt;code&gt;pass&lt;/code&gt;, &lt;code&gt;NotImplementedError&lt;/code&gt;, or &lt;code&gt;TODO&lt;/code&gt; appear in newly authored files.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  5. Operational Takeaways: The Anti-Slop Audit
&lt;/h2&gt;

&lt;p&gt;Fixing AI slop is not an ideological debate about code aesthetics; it is a mechanism for keeping pull requests reviewable and production systems deterministic.&lt;/p&gt;

&lt;p&gt;Before merging an agent-generated diff, run it through this four-point sanity audit:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[] 1. Comment Density: Did the agent write any comment starting with a verb that 
       re-explains the syntax directly below it (# Parse, # Loop, # Filter)? Delete them.
[] 2. Catch Blocks: Are there bare `except Exception:` blocks returning `None` or `{}`? 
       Delete the fallback and let the upstream error raise.
[] 3. Layer Count: Can the entire implementation be represented as 1–2 flat functions 
       instead of a class hierarchy? Collapse the indirection.
[] 4. Boundary Discipline: Did the agent modify imports, formatting, or helper functions 
       in untouched files? Revert all out-of-scope edits.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Implementing Anti-Slop in Your Workflow
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Commit&lt;/strong&gt; &lt;code&gt;AGENTS.md&lt;/code&gt; &lt;strong&gt;to Project Roots:&lt;/strong&gt; Drop the negative constraints block directly into the root directory of your repositories. Tools like Cursor, Claude Code, and Antigravity ingest this automatically as operational context.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Treat Negative Constraints as Linter Rules:&lt;/strong&gt; Do not ask the model to “write clean code.” Explicitly list the anti-patterns it is forbidden from outputting.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Audit the Diff, Not the Prompt:&lt;/strong&gt; The effectiveness of an agent is measured by how few lines of decorative ceremony you have to delete before hitting merge.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The goal with coding agents is not to generate more lines of code faster. It is to produce working implementations with the minimum surface area required to solve the problem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; Rich-text formatted version ready to highlight, copy, and paste directly into Substack’s WYSIWYG editor with proper clickable links, bolding, and bullet formatting intact.&lt;/p&gt;

&lt;h2&gt;
  
  
  References &amp;amp; Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing" rel="noopener noreferrer"&gt;Wikipedia: Signs of AI Writing&lt;/a&gt;&lt;/strong&gt; - Community guide cataloging repetitive phrasing, unearned hedges,and structural filler in LLM text.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="https://grugbrain.dev/" rel="noopener noreferrer"&gt;The Grug Brained Developer&lt;/a&gt;&lt;/strong&gt; &amp;amp; &lt;strong&gt;&lt;a href="https://github.com/jomadu/grug-brained-developer-ruleset" rel="noopener noreferrer"&gt;Grug Brained Developer Ruleset&lt;/a&gt;&lt;/strong&gt; - Turns the anti-complexity essay into weighted system constraints to stop agents from building premature abstractions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/miqdadbadjuber/anti-slop" rel="noopener noreferrer"&gt;Anti-Slop Agent Skill Pack&lt;/a&gt;&lt;/strong&gt; - Modular SKILL.md rulesets (&lt;code&gt;antislop-code&lt;/code&gt;, &lt;code&gt;antislop-ui&lt;/code&gt;, &lt;code&gt;antislop-copywriting&lt;/code&gt;) for Antigravity, Cursor, and Claude Code that block narration comments and generic boilerplate.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/febbhav/signs-of-ai-design" rel="noopener noreferrer"&gt;Signs of AI Design&lt;/a&gt;&lt;/strong&gt; - Drop-in &lt;code&gt;design-rules.md&lt;/code&gt; block countering frontend LLM defaults like unsolicited purple Tailwind gradients and repetitive SaaS card grids.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/PatrickJS/awesome-cursorrules" rel="noopener noreferrer"&gt;Awesome CursorRules: Anti-Overengineering&lt;/a&gt;&lt;/strong&gt; - Community &lt;code&gt;.mdc&lt;/code&gt; rules enforcing diff boundaries,scope discipline, and minimal defensive checks.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for reading Data Bytes! This post is public so feel free to share it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://funsizedatabytes.substack.com/p/signs-of-ai-code?utm_source=substack&amp;amp;utm_medium=email&amp;amp;utm_content=share&amp;amp;action=share" rel="noopener noreferrer"&gt;Share&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>coding</category>
      <category>programming</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Building with Antigravity CLI and Gemini Flash</title>
      <dc:creator>Jessica Rudd</dc:creator>
      <pubDate>Thu, 20 Aug 2026 13:42:14 +0000</pubDate>
      <link>https://dev.to/gde/building-with-antigravity-cli-and-gemini-flash-3e1d</link>
      <guid>https://dev.to/gde/building-with-antigravity-cli-and-gemini-flash-3e1d</guid>
      <description>&lt;p&gt;A lot of coding assistant tools live in browser tabs or heavy extensions. If you do most of your data engineering work in the terminal, switching contexts between your shell and a web UI gets tedious quickly.&lt;/p&gt;

&lt;p&gt;Google released a tool called &lt;strong&gt;Antigravity CLI&lt;/strong&gt; (&lt;code&gt;agy&lt;/code&gt;). It is a terminal user interface (TUI) that brings multi-step agentic capabilities directly into your local shell session. When configured with the latest &lt;strong&gt;Gemini Flash&lt;/strong&gt; model, it runs tool calls with minimal latency, making it practical for rapid scripting, code refactoring, and prototype building.&lt;/p&gt;

&lt;p&gt;Thanks for reading Data Bytes! Subscribe for free to receive new posts and support my work.&lt;/p&gt;

&lt;p&gt;In this guide, we will walk through:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Installing and configuring &lt;code&gt;agy&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Why low latency matters in terminal agent loops&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Building a BigQuery Release Notes tracker from scratch&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Extending the app and using &lt;code&gt;agy&lt;/code&gt; to create GitHub issues automatically&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Troubleshooting and common permission gotchas&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Why Latency Matters in CLI Workflows&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;When an agent runs in your terminal, it doesn’t just return a single block of text. It runs in a multi-turn tool loop:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Inspect Directory ➔ Fetch Feed URL ➔ Read File ➔ Formulate Plan ➔ Write Code ➔ Run Test ➔ Iterate

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If each step takes ten to fifteen seconds of model processing time, the entire workflow grinds to a halt. Gemini Flash models offer fast token generation and quick tool dispatch, which keeps this loop moving without long pauses.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;1. Installation and Initial Login&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;You can install &lt;code&gt;agy&lt;/code&gt; directly from your command line.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;macOS and Linux&lt;/strong&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -fsSL https://antigravity.google/cli/install.sh &lt;span class="o"&gt;|&lt;/span&gt; bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;Windows (PowerShell)&lt;/strong&gt;
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;irm&lt;/span&gt; &lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;antigravity&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;google&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;cli&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;install&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ps1&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;iex&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the installer warns that the binary path is missing from your environment, add it to your shell profile:&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="nb"&gt;echo&lt;/span&gt; ‘export &lt;span class="nv"&gt;PATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;”&lt;span class="nv"&gt;$HOME&lt;/span&gt;/.local/bin:&lt;span class="nv"&gt;$PATH&lt;/span&gt;”’ &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; ~/.zshrc &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;source&lt;/span&gt; ~/.zshrc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Verify that the CLI is ready:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;agy --version
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;Starting the CLI and Authenticating&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Create a project directory and start the tool:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;mkdir -p ~/agy-cli-projects/bq-release-notes
&lt;span class="nb"&gt;cd&lt;/span&gt; ~/agy-cli-projects/bq-release-notes
agy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On your first run, you will see a prompt to log in:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Select &lt;strong&gt;1. Google OAuth&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Complete the login in your browser and copy the confirmation code back to the terminal.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select your preferred color scheme.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When asked &lt;strong&gt;“Do you trust the contents of this project?”&lt;/strong&gt; , select &lt;strong&gt;Yes, I trust this folder&lt;/strong&gt;. This grants &lt;code&gt;agy&lt;/code&gt; permission to read and modify files in that specific directory.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;2. Key Commands and Settings&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Once inside the interactive prompt, you can use several built-in commands:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;/config&lt;/code&gt;: Opens the settings interface. You can adjust review prompts, verbosity, telemetry, and color themes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;/model&lt;/code&gt;: Shows or changes the active model. You can also start the CLI with a specific model directly from your shell:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;agy --model “Gemini 3.5 Flash &lt;span class="o"&gt;(&lt;/span&gt;Medium&lt;span class="o"&gt;)&lt;/span&gt;”
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;!&lt;/code&gt; (Shell Mode): Pressing &lt;code&gt;!&lt;/code&gt; at an empty prompt toggles raw shell mode. This lets you run commands like &lt;code&gt;git status&lt;/code&gt;, &lt;code&gt;ls&lt;/code&gt;, or &lt;code&gt;pip list&lt;/code&gt; without exiting &lt;code&gt;agy&lt;/code&gt;. Press &lt;code&gt;ESC&lt;/code&gt; to return to agent mode.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;3. Hands-On Project: BigQuery Release Notes App&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;To see how &lt;code&gt;agy&lt;/code&gt; works, we will build a Python Flask app that pulls the BigQuery release notes XML feed (&lt;code&gt;https://docs.cloud.google.com/feeds/bigquery-release-notes.xml&lt;/code&gt;) and displays updates in a clean web interface.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Initial Prompt&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Enter this prompt into &lt;code&gt;agy&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Please build a web application using Python Flask and plain HTML, JavaScript, and CSS. 
The app should fetch the BigQuery Release notes XML feed from:
https://docs.cloud.google.com/feeds/bigquery-release-notes.xml

Requirements:
1. Parse the feed items (title, date, categories, content summary).
2. Display them on a clean webpage with a refresh button.
3. Include a button on each entry to compose a short tweet or summary.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;What Happens Behind the Scenes&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Instead of dumping raw code straight into the terminal, &lt;code&gt;agy&lt;/code&gt; performs several steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Workspace Inspection&lt;/strong&gt; : It runs &lt;code&gt;ListDir&lt;/code&gt; to check for existing files.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Feed Fetching&lt;/strong&gt; : It calls &lt;code&gt;ReadURL&lt;/code&gt; to inspect the XML structure of the BigQuery feed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Artifact Generation&lt;/strong&gt; : It writes a structured plan to an artifact file called &lt;code&gt;implementation_plan.md&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In the terminal, you will see an indicator:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;● ListDir(/Users/username/agy-cli-projects/bq-release-notes)
● ReadURL(https://docs.cloud.google.com/feeds/bigquery-release-notes.xml)
● Create(.../implementation_plan.md)

1 artifact · /artifact to review

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  &lt;strong&gt;Reviewing Artifacts&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Type &lt;code&gt;/artifact&lt;/code&gt; to open the built-in artifact viewer.&lt;/p&gt;

&lt;p&gt;Artifacts are dedicated markdown documents created during the session. They separate planning and documentation from chat output. In this case, &lt;code&gt;implementation_plan.md&lt;/code&gt; outlines:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;How the XML feed will be parsed using Python’s &lt;code&gt;feedparser&lt;/code&gt; or &lt;code&gt;xml.etree.ElementTree&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Flask endpoint structure (&lt;code&gt;/&lt;/code&gt; and &lt;code&gt;/api/releases&lt;/code&gt;).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The frontend layout in &lt;code&gt;templates/index.html&lt;/code&gt; and &lt;code&gt;static/&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Press &lt;code&gt;ESC&lt;/code&gt; to close the viewer, then confirm approval in the prompt.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Generated Project Structure&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Once approved, &lt;code&gt;agy&lt;/code&gt; creates the project structure:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;requirements.txt&lt;/code&gt; (&lt;code&gt;flask&lt;/code&gt;, &lt;code&gt;feedparser&lt;/code&gt;, &lt;code&gt;requests&lt;/code&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;app.py&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;templates/index.html&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;static/style.css&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;static/app.js&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here is an example of the parsing logic generated in &lt;code&gt;app.py&lt;/code&gt;:&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;from&lt;/span&gt; &lt;span class="n"&gt;flask&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Flask&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;render_template&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;jsonify&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;feedparser&lt;/span&gt;

&lt;span class="n"&gt;app&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Flask&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;FEED_URL&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; “&lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;//&lt;/span&gt;&lt;span class="n"&gt;docs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cloud&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;google&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;feeds&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bigquery&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;release&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;notes&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;xml&lt;/span&gt;”

&lt;span class="nd"&gt;@app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;route&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;”&lt;span class="o"&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;index&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;return&lt;/span&gt; &lt;span class="nf"&gt;render_template&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;“&lt;span class="n"&gt;index&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;html&lt;/span&gt;”&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nd"&gt;@app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;route&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;”&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;api&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;releases&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;get_releases&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;feed&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;feedparser&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;FEED_URL&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;releases&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="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;feed&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;entries&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;releases&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="p"&gt;{&lt;/span&gt;
            “&lt;span class="n"&gt;title&lt;/span&gt;”&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;“&lt;span class="n"&gt;title&lt;/span&gt;”&lt;span class="p"&gt;,&lt;/span&gt; “&lt;span class="nc"&gt;No&lt;/span&gt; &lt;span class="nc"&gt;Title&lt;/span&gt;”&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            “&lt;span class="n"&gt;link&lt;/span&gt;”&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;“&lt;span class="n"&gt;link&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;published&lt;/span&gt;”&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;“&lt;span class="n"&gt;published&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;summary&lt;/span&gt;”&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;“&lt;span class="n"&gt;summary&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;return&lt;/span&gt; &lt;span class="nf"&gt;jsonify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;releases&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;__name__&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; “ &lt;span class="n"&gt;__main__&lt;/span&gt; ”&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;run&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;debug&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;port&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;5000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run the application:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 -m venv venv
&lt;span class="nb"&gt;source&lt;/span&gt; venv/bin/activate
pip install -r requirements.txt
python app.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Opening&lt;/p&gt;

&lt;p&gt;&lt;a href="http://localhost:5000" rel="noopener noreferrer"&gt;http://localhost:5000&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;displays the release notes formatted into individual cards, complete with dates, category badges, and quick social sharing buttons.&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%2Fme1vvug8bjowiilc7vm0.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%2Fme1vvug8bjowiilc7vm0.png" width="800" height="506"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;4. Extending Features and Automating GitHub Issues&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Once the base app is running, you can iterate on it directly from the CLI.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Adding New Functionality&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Prompt &lt;code&gt;agy&lt;/code&gt; to add utility features:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Add two features to the app:
1. A "Copy Link" button on each release card.
2. An "Export to CSV" button in the navigation bar to download all loaded releases.
3. A toggle in the top navbar that switches between Dark and Light mode.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;agy&lt;/code&gt; identifies the relevant sections in &lt;code&gt;templates/index.html&lt;/code&gt; and &lt;code&gt;static/app.js&lt;/code&gt;, applies targeted diffs, and keeps the rest of the files untouched.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Pushing to GitHub&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;You can use &lt;code&gt;agy&lt;/code&gt; alongside the GitHub CLI (&lt;code&gt;gh&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;Create a sensible .gitignore file &lt;span class="k"&gt;for&lt;/span&gt; Python, initialize git, and push this to a new repo called bq-release-tracker under my GitHub account using the gh CLI.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;agy&lt;/code&gt; writes &lt;code&gt;.gitignore&lt;/code&gt;, runs &lt;code&gt;git init&lt;/code&gt;, creates the initial commit, and runs &lt;code&gt;gh repo create&lt;/code&gt; to push the repository.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Asking&lt;/strong&gt; &lt;code&gt;agy&lt;/code&gt; &lt;strong&gt;to Suggest Improvements and Create GitHub Issues&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Here is where agentic workflows get particularly handy. You can ask &lt;code&gt;agy&lt;/code&gt; to analyze the current codebase, suggest realistic UX and architecture improvements, and file them as trackable issues on GitHub.&lt;/p&gt;

&lt;p&gt;Enter this prompt:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Review our current application code and suggest 3 concrete feature or UX improvements. 
Once I approve them, use the gh CLI to file each improvement as an issue in our GitHub repository with a clear description and acceptance criteria.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;agy&lt;/code&gt; examines the code and returns proposed improvements, such as:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Client-side Search and Tag Filtering&lt;/strong&gt; : Allowing users to filter updates by keywords (e.g., “SQL”, “Storage”, “Pricing”).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Local Caching Layer&lt;/strong&gt; : Adding an in-memory or Redis cache for the XML feed to prevent rate-limiting Google’s servers on repeated page refreshes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;RSS Feed Poller and Desktop Alerts&lt;/strong&gt; : A background worker that checks for new releases hourly and emits desktop notifications.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Once you confirm, &lt;code&gt;agy&lt;/code&gt; executes the &lt;code&gt;gh&lt;/code&gt; commands automatically:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gh issue create --title “Feature: Client-side keyword and tag filtering” --body “### Description\nAdd an instant search filter input to the header...\n\n### Acceptance Criteria\n- &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; Filter cards by keyword &lt;span class="k"&gt;in&lt;/span&gt; real time\n- &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; Filter by category tag”
gh issue create --title “Perf: Add caching &lt;span class="k"&gt;for&lt;/span&gt; XML feed parsing” --body “### Description\nCache the parsed feed responses &lt;span class="k"&gt;for&lt;/span&gt; 15 minutes...\n\n### Acceptance Criteria\n- &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; Add TTL cache to /api/releases route\n- &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; Fallback to cached copy on network error”
gh issue create --title “Feature: Webhook / Email digest notifications” --body “### Description\nAllow users to subscribe to weekly summary emails...\n\n### Acceptance Criteria\n- &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; Scheduled check &lt;span class="k"&gt;for&lt;/span&gt; new entries\n- &lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; Send digest payload”
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You now have active issues populated in your GitHub repository without having to leave the terminal.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;5. Troubleshooting &amp;amp; Gotchas&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Here are a few common issues and how to handle them:&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Missing&lt;/strong&gt; &lt;code&gt;agy&lt;/code&gt; &lt;strong&gt;in PATH&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;If running &lt;code&gt;agy&lt;/code&gt; returns &lt;code&gt;command not found&lt;/code&gt;, the installer binary directory (&lt;code&gt;~/.local/bin&lt;/code&gt;) is not in your current shell’s PATH.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Run &lt;code&gt;export PATH="$HOME/.local/bin:$PATH"&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add that line to your &lt;code&gt;~/.bashrc&lt;/code&gt; or &lt;code&gt;~/.zshrc&lt;/code&gt; file to persist it across new terminal tabs.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Permission Prompts and Sandbox Mode&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;By default, &lt;code&gt;agy&lt;/code&gt; asks for explicit approval before creating files, modifying code, or running shell commands.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If you are building inside an isolated scratch directory and want the agent to execute commands without confirmation prompts, you can start with:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;agy --dangerously-skip-permissions
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Only use this flag in isolated local projects, never in sensitive root or production directories.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Authentication Failures&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;If OAuth credentials expire or fail to refresh:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Run &lt;code&gt;/quit&lt;/code&gt; to exit &lt;code&gt;agy&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Delete cached token files located in &lt;code&gt;~/.gemini/antigravity-cli/&lt;/code&gt; if necessary.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Restart &lt;code&gt;agy&lt;/code&gt; and choose &lt;strong&gt;1. Google OAuth&lt;/strong&gt; to re-authenticate.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Switching Models Mid-Session&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;If you want to verify which model is active or switch between Flash and Pro variants:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Type &lt;code&gt;/model&lt;/code&gt; to view available options.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Pass &lt;code&gt;--model "Gemini 3.5 Flash (Medium)"&lt;/code&gt; at startup to ensure consistent latency across large tool-calling tasks.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Summary&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Antigravity CLI brings multi-step agentic tools directly to the command line where developers already spend their time. Pairing the CLI with Gemini Flash keeps tool execution fast, while the Artifacts workflow keeps code changes organized and easy to review.&lt;/p&gt;

&lt;p&gt;Try spinning up &lt;code&gt;agy&lt;/code&gt; in your next project or using it to scaffold your data ingestion workflows.&lt;/p&gt;

&lt;p&gt;Thanks for reading Data Bytes! Subscribe for free to receive new posts and support my work.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cli</category>
      <category>gemini</category>
      <category>tooling</category>
    </item>
    <item>
      <title>Bringing Sexy Back to Data Engineering: Automating BigQuery and Looker Sync</title>
      <dc:creator>Jessica Rudd</dc:creator>
      <pubDate>Tue, 28 Apr 2026 14:01:13 +0000</pubDate>
      <link>https://dev.to/gde/bringing-sexy-back-to-data-engineering-automating-bigquery-and-looker-sync-1n21</link>
      <guid>https://dev.to/gde/bringing-sexy-back-to-data-engineering-automating-bigquery-and-looker-sync-1n21</guid>
      <description>&lt;p&gt;&lt;strong&gt;(Co-written &amp;amp; Automated by Antigravity)&lt;/strong&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Fg9xr3ugixmv7i12spo5o.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.amazonaws.com%2Fuploads%2Farticles%2Fg9xr3ugixmv7i12spo5o.png" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let’s talk about one of the most tedious, and let’s be honest, least sexy parts of data engineering: schema drift.&lt;/p&gt;

&lt;p&gt;Keeping your data warehouse tables (like BigQuery) perfectly in sync with your BI layer (like Looker) is a struggle every data team knows too well. Increased business demands often lead to pushing updates to the warehouse while leaving corresponding LookML updates lingering in the backlog—adding to mounting tech debt.&lt;/p&gt;

&lt;p&gt;But what if we could bring sexy back to data engineering by keeping your BigQuery tables and Looker models perfectly, and automatically, synced? Let’s look at how to say “bye bye bye” to manual updates using Google Cloud and Context Engineering.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Architecture: A Choreographed Dance&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The goal is to automate LookML updates whenever BigQuery schemas change. Here’s the big picture of how we choreographed this workflow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Scheduling&lt;/strong&gt; : We use Airflow in Cloud Composer for scheduling, which triggers multiple Cloud Run microservices.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Schema Extraction&lt;/strong&gt; : A BigQuery schema service pulls the current BI model schemas on demand. This is built to be generalizable so others across the business can use it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;State Comparison&lt;/strong&gt; : We pull the current LookML state, push both schemas to Google Cloud Storage (GCS), and calculate the diffs using a Python script.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&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.amazonaws.com%2Fuploads%2Farticles%2F0js5oxgqv0r6mg9rttsm.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.amazonaws.com%2Fuploads%2Farticles%2F0js5oxgqv0r6mg9rttsm.png" width="800" height="371"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Magic: Context Engineering with Gemini&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This is where the magic happens. A Cloud Run service uses Gemini in Vertex AI to perform the actual LookML updates. It takes the BigQuery schema, the current LookML, and our company context as inputs.&lt;/p&gt;

&lt;p&gt;Of course, with any AI system, the prompt is crucial. We tell Gemini exactly what to do, adding as much determinism as possible.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Do’s&lt;/strong&gt; : Add or delete dimensions based on the BigQuery table, and keep features in alphabetical order.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Don’ts (Strict Avoid List)&lt;/strong&gt;: Don’t add comments, don’t move existing measures, and don’t re-order anything unless there’s a schema change. Basically, don’t add any flair. Keep to the strict choreography.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Gemini then generates the updated LookML files and synthesizes all those technical changes into a cohesive markdown summary for the GitHub PR description, grouped by table so engineers can review them at a glance.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Validating and Pushing the Code&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Once Gemini writes the updated code, our sync service steps in:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;It clones the Looker GitHub repository.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It validates the new LookML using the Looker API.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If everything looks good, it creates a Pull Request and alerts the team via Slack.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&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.amazonaws.com%2Fuploads%2Farticles%2Fy0k2ej81xzhg3vd6xh5p.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.amazonaws.com%2Fuploads%2Farticles%2Fy0k2ej81xzhg3vd6xh5p.png" width="800" height="584"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Overcoming Networking Challenges&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Creating the GitHub PR was actually the most technically difficult part of the puzzle because the GitHub instance was behind a VPN. Since Cloud Run uses a dynamic rotating pool of IP addresses, we needed a consistent way to communicate with GitHub.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Solution&lt;/strong&gt; : We used a Virtual Private Cloud (VPC) and configured a Cloud NAT gateway with a reserved static external IP address. This ensured that the Cloud Run outbound traffic used the same fixed IP address that could be whitelisted by the VPN.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Result: Trust and Automation&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Automating is nothing without trust. The LookML validation results are included directly in the Slack alert with the PR link, so the team knows exactly when a new automated PR is ready for review.&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.amazonaws.com%2Fuploads%2Farticles%2F2rzhx39ed3wbzcdsghp7.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.amazonaws.com%2Fuploads%2Farticles%2F2rzhx39ed3wbzcdsghp7.png" width="800" height="117"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By automating this process, we’ve eliminated manual Looker updates and schema drift. Gemini writes in the team’s specific style, engineers review PRs instead of hunting through schemas, and the self-service Explore experience for users remains seamless, leading to more trust and confidence in the data.&lt;/p&gt;

&lt;p&gt;Stop babysitting your schemas. Let Gemini be your LookML backup dancer.&lt;/p&gt;

&lt;p&gt;Thanks for reading Data Bytes! This post is public so feel free to share it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://funsizedatabytes.substack.com/p/automate-bigquery-looker-sync-gemini-ai?utm_source=substack&amp;amp;utm_medium=email&amp;amp;utm_content=share&amp;amp;action=share" rel="noopener noreferrer"&gt;Share&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Tags&lt;/strong&gt; : #DataEngineering #GoogleCloud #BigQuery #Looker #Gemini #VertexAI #Automation #AI&lt;/p&gt;

</description>
      <category>automation</category>
      <category>dataengineering</category>
      <category>gemini</category>
      <category>googlecloud</category>
    </item>
    <item>
      <title>Automating My GDE Life: From Manual Entry to One-Click Submission</title>
      <dc:creator>Jessica Rudd</dc:creator>
      <pubDate>Thu, 23 Apr 2026 13:16:15 +0000</pubDate>
      <link>https://dev.to/funsize_engineer/automating-my-gde-life-from-manual-entry-to-one-click-submission-548a</link>
      <guid>https://dev.to/funsize_engineer/automating-my-gde-life-from-manual-entry-to-one-click-submission-548a</guid>
      <description>&lt;h3&gt;
  
  
  &lt;strong&gt;By Jessica Rudd (Co-written &amp;amp; Automated by Antigravity)&lt;/strong&gt;
&lt;/h3&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.amazonaws.com%2Fuploads%2Farticles%2Fn4ygncernmfznh4judhd.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.amazonaws.com%2Fuploads%2Farticles%2Fn4ygncernmfznh4judhd.png" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As a Google Developer Expert (GDE), reporting activities is a crucial part of the program. Whether it’s writing articles, speaking at conferences, or mentoring, documentation ensures our impact is recognized. But let’s be honest: manual data entry is a chore.&lt;/p&gt;

&lt;p&gt;Last week, during a rapid prototyping session for &lt;strong&gt;Folio&lt;/strong&gt; , I decided to solve this. Using &lt;strong&gt;Antigravity&lt;/strong&gt; (my AI pair-programmer) and a brilliant MCP server by &lt;strong&gt;Carlos Azaustre&lt;/strong&gt; , I built a “Skill” that automates the whole process.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Problem: The Reporting Gap&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Every time I publish a post on Substack or share it on LinkedIn, I have to manually copy-paste view counts, likes, and links into the Advocu portal. It’s a minor friction point that adds up.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Solution: Model Context Protocol (MCP)&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The breakthrough came from leveraging the &lt;strong&gt;Model Context Protocol&lt;/strong&gt;. I installed the &lt;a href="https://github.com/carlosazaustre/advocu-mcp-server" rel="noopener noreferrer"&gt;advocu-mcp-server&lt;/a&gt; created by Carlos Azaustre. This bridge allows an AI agent to communicate directly with the Advocu API.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;1. Building the Scraper&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Antigravity and I developed a Python skill that uses &lt;strong&gt;Playwright&lt;/strong&gt; to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Navigate to my Substack stats page.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Search LinkedIn for the article’s URL to find engagement (reactions and reposts).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;2. The Advocu Handshake&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Once the metrics are gathered, the script calls the &lt;code&gt;submit_gde_content_creation&lt;/code&gt; tool. It maps the data to official GDE categories like &lt;a href="https://cloud.google.com/?utm_campaign=deveco_gdemembers&amp;amp;utm_source=deveco" rel="noopener noreferrer"&gt;Google Cloud&lt;/a&gt; and &lt;a href="https://deepmind.google/technologies/gemini/?utm_campaign=deveco_gdemembers&amp;amp;utm_source=deveco" rel="noopener noreferrer"&gt;Gemini&lt;/a&gt;.&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.amazonaws.com%2Fuploads%2Farticles%2Fpod2nk6127ehm4g9qilg.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.amazonaws.com%2Fuploads%2Farticles%2Fpod2nk6127ehm4g9qilg.png" width="800" height="516"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Above: A snippet of the Python skill orchestrating the metrics collection.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Result: One-Click Submission&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I tested it live on my recent post, &lt;em&gt;“Zero to V1: Rapid Prototyping with Gemini”&lt;/em&gt;. Within seconds, the skill gathered the stats (46 views on Substack, several reactions on LinkedIn) and successfully created the activity draft in Advocu.&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.amazonaws.com%2Fuploads%2Farticles%2Fcokbb40p5rwi83k0jhfn.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.amazonaws.com%2Fuploads%2Farticles%2Fcokbb40p5rwi83k0jhfn.png" width="800" height="516"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Terminal output showing the successful API submission ID.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Why This Matters&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Automation isn’t just about saving time; it’s about accuracy and consistency. By integrating our developer tools with program management APIs, we can spend more time building and less time filling out forms.&lt;/p&gt;

&lt;p&gt;Special thanks again to &lt;strong&gt;&lt;a href="https://www.linkedin.com/in/carlosazaustre/" rel="noopener noreferrer"&gt;Carlos Azaustre&lt;/a&gt;&lt;/strong&gt; for the open-source MCP server that made this possible.&lt;/p&gt;

&lt;p&gt;If you’re a GDE or MVP looking to automate your workflow, I highly recommend checking out the &lt;a href="https://developers.google.com/experts?utm_campaign=deveco_gdemembers&amp;amp;utm_source=deveco" rel="noopener noreferrer"&gt;Google Developers Experts&lt;/a&gt; program resources and the growing ecosystem of MCP servers.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Tags&lt;/strong&gt; : #codeinpublic #automation #gde #GoogleCloud #Gemini&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This post was drafted using the help of a custom Antigravity Substack Automator Skill.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading Data Bytes! Subscribe for free to receive new posts and support my work.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>google</category>
      <category>mcp</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Folio: Reclaiming Social Sharing with Intention</title>
      <dc:creator>Jessica Rudd</dc:creator>
      <pubDate>Tue, 21 Apr 2026 13:15:49 +0000</pubDate>
      <link>https://dev.to/gde/folio-reclaiming-social-sharing-with-intention-8ff</link>
      <guid>https://dev.to/gde/folio-reclaiming-social-sharing-with-intention-8ff</guid>
      <description>&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.amazonaws.com%2Fuploads%2Farticles%2Foidgil5kb8fz731buml5.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.amazonaws.com%2Fuploads%2Farticles%2Foidgil5kb8fz731buml5.png" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the age of infinite scrolls, vanity metrics, and algorithm-driven fatigue, the simple act of sharing a memory has become... complicated. We’ve all felt it: the pressure to perform for an audience of thousands when all you really wanted was to show a few close friends that beautiful sunset from last Tuesday.&lt;/p&gt;

&lt;p&gt;Today, we are thrilled to announce the &lt;strong&gt;Folio&lt;/strong&gt; beta release—our answer to social media for people who genuinely hate social media.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem with “Social”
&lt;/h2&gt;

&lt;p&gt;Traditional social platforms are built on a foundation of attention extraction. They need you to stay on the app, so they show you what triggers you. They need you to “engage,” so they quantify your friendships with likes and view counts. In this race for engagement, the intimacy of sharing is often the first casualty.&lt;/p&gt;

&lt;p&gt;Folio was born from a different philosophy. We believe that photo sharing should be &lt;strong&gt;intentional, private, and aesthetic.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A Sanctuary for Your Memories
&lt;/h2&gt;

&lt;p&gt;Folio isn’t a “feed.” It’s a curation ecosystem. When you create a collection in Folio, you aren’t shouting into a void; you are carefully arranging a digital postcard of your life.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Privacy by Design, Not by Accident&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;At the heart of our Beta release is a granular privacy-first architecture. We’ve moved away from the “all or nothing” model of privacy. With Folio, you have total control over who sees what, at a glance.&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.amazonaws.com%2Fuploads%2Farticles%2F4s6kc0eudmlv1810adgl.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.amazonaws.com%2Fuploads%2Farticles%2F4s6kc0eudmlv1810adgl.png" width="800" height="498"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Our visibility engine offers three distinct tiers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Public&lt;/strong&gt; : For when you want to showcase your curated world to everyone.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Curators&lt;/strong&gt; : A middle ground for those you trust—your inner circle of fellow creators.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Private&lt;/strong&gt; : For your eyes only, or for hyper-specific token-based sharing.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;There are no public vanity metrics. While we’ve included likes and comments to maintain the warmth of social connection, they are built on a foundation of &lt;strong&gt;consent and control&lt;/strong&gt; :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Shared Context Only&lt;/strong&gt; : Interaction is limited to those you’ve explicitly shared your collection with. No shouting into the void, no random trolls—just the people you invited.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Toggle Features&lt;/strong&gt; : You have the ultimate power to turn off likes, comments, or both for any collection, ensuring that the focus remains exactly where you want it: on the curation itself.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;No Global Counts&lt;/strong&gt; : Your worth isn’t quantified by a “follower” count on a profile.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How it Works: The Digital Postcard
&lt;/h2&gt;

&lt;p&gt;We’ve reimagined the concept of a social post as a &lt;strong&gt;Digital Postcard&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Physicality in Digital Form&lt;/strong&gt; : Each collection feels like a tangible object. You can add unique stamps, integrate music that captures the mood, and even include a “guest pass” for temporary access to private galleries.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Intentional Interaction&lt;/strong&gt; : Sharing a Folio collection requires an action. You aren’t just popping up in a feed; you are inviting someone into a space you’ve curated.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Beta: What to Expect
&lt;/h2&gt;

&lt;p&gt;The Beta release marks our first step into the wild. We’ve polished the core experience—the Creator Studio, the profile management, and the high-speed image delivery—to ensure that the act of curation is as joyful as the memories themselves.&lt;/p&gt;

&lt;p&gt;We are keeping things small for now. Folio is currently &lt;strong&gt;Invitation-Only&lt;/strong&gt;. We want to grow a community of curators who value the same things we do: quality over quantity, and connection over content.&lt;/p&gt;

&lt;h2&gt;
  
  
  Join the Waitlist
&lt;/h2&gt;

&lt;p&gt;We are slowly opening the gates to new curators. If you’re tired of the noise and ready for a more intentional way to share your world, we’d love to have you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://curateyourfolio.com/" rel="noopener noreferrer"&gt;Join the Folio Beta Waitlist&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Get early access, influence the product roadmap, and be the first to know about new feature updates as we build the future of private social sharing.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Welcome to the intentional side of the web.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;— &lt;strong&gt;Jessica Rudd ‘Fun Size’&lt;/strong&gt; , Chief Folio Curator&lt;/p&gt;

&lt;p&gt;Thanks for reading Data Bytes! Subscribe for free to receive new posts and support my work.&lt;/p&gt;

</description>
      <category>mentalhealth</category>
      <category>privacy</category>
      <category>showdev</category>
      <category>sideprojects</category>
    </item>
    <item>
      <title>Zero to V1</title>
      <dc:creator>Jessica Rudd</dc:creator>
      <pubDate>Mon, 06 Apr 2026 12:03:17 +0000</pubDate>
      <link>https://dev.to/gde/zero-to-v1-26c4</link>
      <guid>https://dev.to/gde/zero-to-v1-26c4</guid>
      <description>&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.amazonaws.com%2Fuploads%2Farticles%2Fntp06ofnhje8vlx63wb6.jpeg" 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.amazonaws.com%2Fuploads%2Farticles%2Fntp06ofnhje8vlx63wb6.jpeg" alt="A high-tech, futuristic infographic titled " width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We’ve all been there: a great app idea strikes while you’re mid-commute, but the gap between “cool idea” and “working prototype” often feels like an insurmountable wall of boilerplate and UI design.&lt;/p&gt;

&lt;p&gt;In this “Data Byte,” we’re breaking down a high-speed workflow that turns scattered notes into a functional V1 in minutes. We’re building &lt;strong&gt;Folio&lt;/strong&gt; —a privacy-first social app for digital postcards—using the new agentic trifecta: &lt;strong&gt;AI Studio&lt;/strong&gt; , &lt;strong&gt;Stitch&lt;/strong&gt; , and &lt;strong&gt;Antigravity&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: The Blueprint with Gemini 3 Flash
&lt;/h3&gt;

&lt;p&gt;Every project starts with a spark. I use Apple Notes and Siri to capture my scattered thoughts, but the real magic begins in &lt;a href="https://aistudio.google.com/app?utm_campaign=deveco_gdemembers&amp;amp;utm_source=deveco" rel="noopener noreferrer"&gt;Google AI Studio&lt;/a&gt;.&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.amazonaws.com%2Fuploads%2Farticles%2F8cmoxwbhzeivjfqv6gev.jpeg" 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.amazonaws.com%2Fuploads%2Farticles%2F8cmoxwbhzeivjfqv6gev.jpeg" alt="A screenshot of the Google AI Studio " width="800" height="738"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I fed my raw notes into &lt;strong&gt;Gemini 3 Flash&lt;/strong&gt;. Because Flash is optimized for speed and high-volume reasoning, it’s the perfect engine to distill messy ideas into structured prompts. I asked it for two specific outputs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;A &lt;strong&gt;Stitch&lt;/strong&gt; design prompt to define the visual “vibe.”&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;An &lt;strong&gt;Antigravity&lt;/strong&gt; implementation prompt to handle the technical build.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21RWU7%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F327759cb-7890-4684-83dd-096d6cb2a65c_1330x1227.jpeg" 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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21RWU7%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F327759cb-7890-4684-83dd-096d6cb2a65c_1330x1227.jpeg" title="Click " alt="A screenshot of the Google AI Studio " width="800" height="738"&gt;&lt;/a&gt;&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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21Zer3%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F5b3ecd55-4908-433e-9a6c-6a7f85088bf6_1330x1227.jpeg" 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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21Zer3%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F5b3ecd55-4908-433e-9a6c-6a7f85088bf6_1330x1227.jpeg" title="Copy Prompt 1 for Stitch" alt="Copy Prompt 1 for Stitch" width="800" height="738"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Leveraging Gemini 3 Flash in AI Studio to generate development prompts.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: “Vibe Designing” in Stitch (Gemini 3.1 Pro)
&lt;/h3&gt;

&lt;p&gt;Next, I headed to &lt;a href="https://stitch.withgoogle.com/?utm_campaign=deveco_gdemembers&amp;amp;utm_source=deveco" rel="noopener noreferrer"&gt;Stitch&lt;/a&gt; to bring Folio’s “Premium Editorial” aesthetic to life.&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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21lLVC%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F03b0db7b-9554-45cd-9644-8f8c9dedebc3_1257x791.jpeg" 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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21lLVC%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F03b0db7b-9554-45cd-9644-8f8c9dedebc3_1257x791.jpeg" title="Paste prompt 1 into the prompt window" alt="Paste prompt 1 into the prompt window" width="800" height="503"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using &lt;strong&gt;Gemini 3.1 Pro&lt;/strong&gt; within Stitch, I pasted the first prompt. Within seconds, it generated a gorgeous creator dashboard and a mobile-optimized gallery. The “vibe design” approach is a game-changer—you can iterate in plain English. I simply asked for a messaging feature, and 3.1 Pro updated the entire design system to include a refined chat interface.&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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21rY5A%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252Fc55dc556-b905-4d78-a1d1-e921f437d8f9_1330x1227.jpeg" 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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21rY5A%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252Fc55dc556-b905-4d78-a1d1-e921f437d8f9_1330x1227.jpeg" title="Make changes or create new designs" alt="Make changes or create new designs" width="800" height="738"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Paste your prompt, make changes, add designs&lt;/em&gt;&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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21FnSE%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F3e899c4b-c658-46ac-9242-81de703b4858_1330x1227.jpeg" 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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21FnSE%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F3e899c4b-c658-46ac-9242-81de703b4858_1330x1227.jpeg" title="Watch Stitch add/update the design mockup" alt="Watch Stitch add/update the design mockup" width="800" height="738"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Adding comprehensive messaging and chat interfaces in Stitch..&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Zero-Boilerplate Build in Antigravity (Gemini 3.1 Pro)
&lt;/h3&gt;

&lt;p&gt;With the design locked, it was time to move to &lt;strong&gt;Antigravity&lt;/strong&gt; , Google’s agentic IDE.&lt;/p&gt;

&lt;p&gt;I opened the &lt;strong&gt;Agent Manager&lt;/strong&gt; and pasted the second prompt.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%218t9i%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F34ad2f12-e7c7-44c5-8df6-1eca8a485992_1673x969.webp" 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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%218t9i%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F34ad2f12-e7c7-44c5-8df6-1eca8a485992_1673x969.webp" title="Create a new workspace in the Antigravity agent manager and paste prompt 2 from AI Studio." alt="Create a new workspace in the Antigravity agent manager and paste prompt 2 from AI Studio." width="800" height="463"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Create a new workspace in the Antigravity agent manager and paste prompt 2 from AI Studio.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Using &lt;strong&gt;Gemini 3.1 Pro&lt;/strong&gt; , the agent analyzed the design from Stitch and drafted a full implementation plan. It automatically handled:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Scaffolding a &lt;a href="https://nextjs.org/" rel="noopener noreferrer"&gt;Next.js&lt;/a&gt; project.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Integrating &lt;a href="https://firebase.google.com/docs?utm_campaign=deveco_gdemembers&amp;amp;utm_source=deveco" rel="noopener noreferrer"&gt;Firebase Auth&lt;/a&gt; for secure logins.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Setting up &lt;a href="https://firebase.google.com/docs/firestore?utm_campaign=deveco_gdemembers&amp;amp;utm_source=deveco" rel="noopener noreferrer"&gt;Firestore&lt;/a&gt; for postcard storage.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21ySLf%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F4cb0163a-eaf7-4b86-8d59-48f1a4b6c678_1552x1012.webp" 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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21ySLf%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F4cb0163a-eaf7-4b86-8d59-48f1a4b6c678_1552x1012.webp" title="Agent Manager will first write an implementation plan. After you review the plan and make changes if needed, Antigravity will start the implementation in the code editor." alt="Agent Manager will first write an implementation plan. After you review the plan and make changes if needed, Antigravity will start the implementation in the code editor." width="800" height="521"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Antigravity’s Agent Manager mapping the design to a Next.js architecture.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Within minutes, the agent finished the heavy lifting, and the app was running on localhost.&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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21AqjS%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252Fc3f5058e-72a1-4c03-af14-6dd0213dfc86_1821x1426.webp" 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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21AqjS%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252Fc3f5058e-72a1-4c03-af14-6dd0213dfc86_1821x1426.webp" title="Step" alt="Step" width="800" height="626"&gt;&lt;/a&gt;&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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21Tj11%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252Fed314d95-b899-42e8-999a-a54b9380a2b4_1821x1426.webp" 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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21Tj11%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252Fed314d95-b899-42e8-999a-a54b9380a2b4_1821x1426.webp" title="Step" alt="Step" width="800" height="626"&gt;&lt;/a&gt;&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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21gQWO%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F768a5fbc-a8e8-4e42-a54b-b7e8388c1361_1821x1426.webp" 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%2Fsubstackcdn.com%2Fimage%2Ffetch%2F%24s_%21gQWO%21%2Cw_1456%2Cc_limit%2Cf_auto%2Cq_auto%3Agood%2Cfl_progressive%3Asteep%2Fhttps%253A%252F%252Fsubstack-post-media.s3.amazonaws.com%252Fpublic%252Fimages%252F768a5fbc-a8e8-4e42-a54b-b7e8388c1361_1821x1426.webp" title="Step" alt="Step" width="800" height="626"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Success! The functional V1 of Folio is live on localhost.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Takeaway
&lt;/h3&gt;

&lt;p&gt;By offloading prompt engineering to &lt;strong&gt;Gemini 3 Flash&lt;/strong&gt; and the complex execution to &lt;strong&gt;Gemini 3.1 Pro&lt;/strong&gt; , the path from idea to execution is now a straight line. By the time I finished my morning coffee, Folio was a working application ready for its first users.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What’s next?&lt;/strong&gt; I’ll be using the &lt;a href="https://console.firebase.google.com/?utm_campaign=deveco_gdemembers&amp;amp;utm_source=deveco" rel="noopener noreferrer"&gt;Firebase Console&lt;/a&gt; and &lt;a href="https://console.cloud.google.com/home/dashboard?utm_campaign=deveco_gdemembers&amp;amp;utm_source=deveco" rel="noopener noreferrer"&gt;Google Cloud&lt;/a&gt; to move this from localhost to the world.&lt;/p&gt;

&lt;p&gt;Stay tuned for the next byte!&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>gemini</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Building funsize-engineer</title>
      <dc:creator>Jessica Rudd</dc:creator>
      <pubDate>Tue, 20 Jan 2026 22:13:31 +0000</pubDate>
      <link>https://dev.to/gde/building-funsize-engineer-3k18</link>
      <guid>https://dev.to/gde/building-funsize-engineer-3k18</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In the modern software landscape, the barrier between an idea and a deployable artifact is often the friction of boilerplate and configuration. This post documents the creation of funsize-engineer, a Python package designed to serve as my terminal-based “business card”. Inspired by David Neal’s npm calling card, I wanted to create a Python equivalent that could be easily distributed and run via PyPI.The goal was simple: create a distributable Python package that, when run, displays professional contact information and ASCII art in a visually appealing format. However, the method of creation was novel. Instead of writing every line of code manually, I utilized Google Antigravity, an agentic coding platform. This article demonstrates how the “Agent-First” development paradigm shifts the engineer’s role from typist to architect, focusing on task orchestration and verification rather than syntax.&lt;/p&gt;

&lt;h2&gt;
  
  
  Antigravity Core Functionality
&lt;/h2&gt;

&lt;p&gt;Antigravity operates on a fundamental shift in the developer-tool relationship. It is not merely an autocomplete engine; it is an autonomous agent capable of executing complex, multi-step tasks.&lt;/p&gt;

&lt;p&gt;Two core components enable this workflow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Manager View&lt;/strong&gt;: Unlike a standard chat interface, Antigravity maintains a structured “Manager View” of the project. It tracks high-level objectives, breaks them down into sub-tasks (e.g., “Scaffold Repository”, “Implement Core Logic”, “Configure CI/CD”), and maintains context across the entire development lifecycle. This allows the agent to “remember” architectural decisions made in step one while executing step ten.&lt;/li&gt;
&lt;/ol&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.amazonaws.com%2Fuploads%2Farticles%2Fyswp0tkjh7ch2pui87ef.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.amazonaws.com%2Fuploads%2Farticles%2Fyswp0tkjh7ch2pui87ef.png" alt=" " width="800" height="478"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Artifact-Driven Workflow&lt;/strong&gt;: The agent does not just stream code into a void. It generates Artifacts—structured documents like Implementation Plans, Task Lists, and Code Diffs. These artifacts serve as checkpoints. The agent proposes a plan, the engineer reviews and approves it, and only then does the agent execute. This “Human-in-the-Loop” model ensures that autonomy does not come at the cost of control. &lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Package Creation Workflow
&lt;/h2&gt;

&lt;p&gt;The development of funsize-engineer followed a structured lifecycle, orchestrated by the agent.&lt;/p&gt;

&lt;h3&gt;
  
  
  Phase 1: Planning and Scaffolding
&lt;/h3&gt;

&lt;p&gt;The project began with a high-level directive. The agent analyzed the requirements—a Python package, rich library for UI, and PyPI distribution—and generated an implementation plan. It then scaffolded the directory structure, creating pyproject.toml for modern standards-compliant packaging and setting up the initial git repository.&lt;/p&gt;

&lt;h3&gt;
  
  
  Phase 2: Core Logic Development
&lt;/h3&gt;

&lt;p&gt;With the foundation in place, the agent implemented the core functionality in funsize_engineer/card.py. It utilized the rich library to create a grid layout, integrating ASCII art loaded from an asset file and styling the text with specific color tokens (e.g., #8A2BE2 for branding).&lt;/p&gt;

&lt;h3&gt;
  
  
  Phase 3: CI/CD and Versioning
&lt;/h3&gt;

&lt;p&gt;The most complex phase involved automating the release process. The agent configured GitHub Actions workflows to handle dual publishing streams:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;TestPyPI&lt;/strong&gt;: For development snapshots from the develop branch.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;PyPI&lt;/strong&gt;: For stable releases from the main branch.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Agentic Artifact Review: Validating the Workflow
&lt;/h2&gt;

&lt;p&gt;A critical moment in the project was the configuration of the CI/CD pipeline. The agent proposed a GitHub Actions workflow to automate publishing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Initial Plan Artifact (Excerpt):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Task: Configure GitHub Actions for PyPI publishing.&lt;/li&gt;
&lt;li&gt;Action: Create .github/workflows/publish.yml.&lt;/li&gt;
&lt;li&gt;Developer Review: Required.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Code Diff (Excerpt):&lt;/strong&gt;&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.amazonaws.com%2Fuploads%2Farticles%2F7wi28oo8aupaw61h16c0.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.amazonaws.com%2Fuploads%2Farticles%2F7wi28oo8aupaw61h16c0.png" alt=" " width="768" height="313"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This artifact allowed the developer to verify that the workflow was correctly targeting both branches and, crucially, that fetch-depth: 0 was included to ensure setuptools-scm could correctly calculate versions from git tags.&lt;/p&gt;

&lt;h2&gt;
  
  
  Troubleshooting and Iteration
&lt;/h2&gt;

&lt;p&gt;No development process is without friction. We encountered two significant technical hurdles that required agentic problem-solving.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. The “Dev Version” Trap
&lt;/h3&gt;

&lt;p&gt;During the setup of the automated versioning, we encountered an issue where releases from the main branch were being tagged with “dev” suffixes (e.g., 0.2.11.dev0) instead of clean release versions, despite having a correct git tag (e.g., v0.2.11).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Issue&lt;/strong&gt;: setuptools-scm calculates versions based on the distance from the last tag. In our GitHub Actions workflow, we were creating a tag and then checking it out. However, setuptools-scm saw the commit after the tag (the one triggering the workflow) and assumed it was a “dirty” state, appending a .dev suffix. Additionally, the workflow wasn’t properly stripping the v prefix from tags before passing them to the build system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Resolution&lt;/strong&gt;: The agent diagnosed the issue and implemented a robust fix:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Explicit Versioning&lt;/strong&gt;: Instead of relying on git state, we forced setuptools-scm to use the exact version we wanted by setting the SETUPTOOLS_SCM_PRETEND_VERSION environment variable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prefix Handling&lt;/strong&gt;: We added logic to strip the v prefix from git tags (e.g., v0.2.11 -&amp;gt; 0.2.11) to ensure Python package compatibility.&lt;/li&gt;
&lt;/ol&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.amazonaws.com%2Fuploads%2Farticles%2Fgtsmcrpkl4a101n1aste.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.amazonaws.com%2Fuploads%2Farticles%2Fgtsmcrpkl4a101n1aste.png" alt=" " width="800" height="75"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Rendering Diagrams on GitHub Pages
&lt;/h3&gt;

&lt;p&gt;We wanted to include a Mermaid.js diagram to visualize the agentic workflow. However, GitHub Pages (via Jekyll) rendered the mermaid code blocks as raw text instead of diagrams.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Fix&lt;/strong&gt;: The agent identified that the default markdown code block syntax ( `&lt;code&gt;mermaid ) wasn’t being processed by the Mermaid JavaScript library. We switched to using raw HTML &amp;lt;pre class=”mermaid”&amp;gt;&lt;/code&gt; tags, which allowed the diagram to render perfectly without requiring complex Jekyll plugins.&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.amazonaws.com%2Fuploads%2Farticles%2Fpjaumi1mgkxc67ow6js3.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.amazonaws.com%2Fuploads%2Farticles%2Fpjaumi1mgkxc67ow6js3.png" alt=" " width="800" height="133"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Code &amp;amp; Output
&lt;/h2&gt;

&lt;p&gt;The result is a lightweight, installable package. The core logic resides in funsize_engineer/card.py, which orchestrates the rich components.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Example Code:&lt;/strong&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Fzpn91r5ci19avp0ba9nr.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.amazonaws.com%2Fuploads%2Farticles%2Fzpn91r5ci19avp0ba9nr.png" alt=" " width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example Output:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Running pipx run funsize-engineer now renders the following in the terminal:&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.amazonaws.com%2Fuploads%2Farticles%2Fz5574gazu8mnfbwg55bq.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.amazonaws.com%2Fuploads%2Farticles%2Fz5574gazu8mnfbwg55bq.png" alt=" " width="616" height="694"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The creation of funsize-engineer highlights the power of the Agent-First methodology. By offloading the implementation details—from directory scaffolding to complex CI/CD scripting—to Antigravity, I was able to focus on the what and why of the product. The result is a professional-grade Python package built in a fraction of the time, with the agent acting not just as a coder, but as a partner in the engineering process.&lt;/p&gt;

</description>
      <category>antigravity</category>
      <category>ai</category>
      <category>gemini</category>
    </item>
  </channel>
</rss>
