<?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: Lake</title>
    <description>The latest articles on DEV Community by Lake (@getlake).</description>
    <link>https://dev.to/getlake</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%2F4274841%2Fe70e9617-632c-4410-9600-dfb75fc2c591.png</url>
      <title>DEV Community: Lake</title>
      <link>https://dev.to/getlake</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/getlake"/>
    <language>en</language>
    <item>
      <title>Review the plan before the code</title>
      <dc:creator>Lake</dc:creator>
      <pubDate>Mon, 30 Nov 2026 17:44:20 +0000</pubDate>
      <link>https://dev.to/getlake/review-the-plan-before-the-code-2f5l</link>
      <guid>https://dev.to/getlake/review-the-plan-before-the-code-2f5l</guid>
      <description>&lt;p&gt;Coding agents made it cheap to start writing. They did not make it cheap to say yes. Teams are still reviewing a diff after the tokens are spent. The useful response is a method, not a panic: review the plan, before the code.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;First published on &lt;a href="https://getlake.dev/blog/review-the-plan-before-the-code/?utm_source=devto&amp;amp;utm_medium=crosspost&amp;amp;utm_campaign=shiftleft" rel="noopener noreferrer"&gt;getlake.dev&lt;/a&gt; on 30 November 2026.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The expensive kind of wrong
&lt;/h2&gt;

&lt;p&gt;By the time a pull request is ready, the agent has spent the tokens and you have spent the hours. Changing course in a plan costs a sentence. Changing it in a diff costs a rewrite.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://survey.stackoverflow.co/2025/ai" rel="noopener noreferrer"&gt;2025 Stack Overflow Developer Survey&lt;/a&gt; is a clear official snapshot of that mood. 84% of respondents use or plan to use AI tools, up from 76%, and 51% of professional developers use them daily. Favorable sentiment fell from more than 70% in 2023 and 2024 to 60%.&lt;/p&gt;

&lt;p&gt;Trust is worse. More developers actively distrust the accuracy of AI tools (46%) than trust it (33%). Only 3% highly trust the output. Experienced developers are the most cautious: 2.6% highly trust, 20% highly distrust. Asked why they would still want a person in the loop, 75% said "when I don't trust AI's answers."&lt;/p&gt;

&lt;p&gt;The frustration under those numbers has a name. 66% of developers are dealing with "AI solutions that are almost right, but not quite," and 45% say debugging AI-generated code is more time-consuming. "Almost right" is the expensive kind of wrong: it passes a glance, burns a run, and then burns a review.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bill is already in motion
&lt;/h2&gt;

&lt;p&gt;This is not only a quality problem. Anthropic's &lt;a href="https://code.claude.com/docs/en/costs" rel="noopener noreferrer"&gt;Claude Code cost documentation&lt;/a&gt; puts the average, across enterprise deployments, at around $13 per developer per active day and $150 to $250 per developer per month, with costs remaining below $30 per active day for 90% of users. Those are Anthropic's published figures, not a Lake measurement. Your team will differ. The point is that the money moves while the approach is still unreviewed.&lt;/p&gt;

&lt;p&gt;On a Pro, Max or Ultra plan the dollar figure in &lt;code&gt;/usage&lt;/code&gt; is an API-equivalent estimate, not your bill. The waste is still real: a wrong approach uses up the usage window, and then someone has to unwind the diff.&lt;/p&gt;

&lt;h2&gt;
  
  
  The method
&lt;/h2&gt;

&lt;p&gt;The method is shift-left. Code review stays. It just stops being the first time a human looks at the approach.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Review the plan before you let the agent build.&lt;/li&gt;
&lt;li&gt;See a recommended model and an estimated dollar range for every step, before you approve.&lt;/li&gt;
&lt;li&gt;Put a per-run cap on the run that stops and asks.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Claude Code already has the first half of step 1. In &lt;a href="https://code.claude.com/docs/en/permission-modes" rel="noopener noreferrer"&gt;plan mode&lt;/a&gt; (&lt;code&gt;Shift+Tab&lt;/code&gt;, or prefix a prompt with &lt;code&gt;/plan&lt;/code&gt;, or start with &lt;code&gt;claude --permission-mode plan&lt;/code&gt;), Claude researches and writes a plan but does not edit your source until you approve it. That is the right habit for one person in one session.&lt;/p&gt;

&lt;p&gt;The gap is everything after that. A "yes" in a chat is easy to drift past. The plan is not in the pull request, a teammate cannot comment on exact lines, and if the agent later changes the approach there is no exact version that the approval was bound to. For a team, the plan has to live where review already lives: in the PR.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Lake puts in front of the agent
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://getlake.dev/lake-gate/?utm_source=devto&amp;amp;utm_medium=crosspost&amp;amp;utm_campaign=shiftleft" rel="noopener noreferrer"&gt;Gate&lt;/a&gt; is Lake's plan-approval capability. Plans live in the pull request as versioned files. A teammate or a manager reviews in rounds, comments on exact lines, and approves a specific plan version. Edit one word and the approval no longer applies. A PR check stays red until the current plan is approved, so unapproved work cannot merge.&lt;/p&gt;

&lt;p&gt;Meter, in the same install, puts a recommended model and a dollar range on every step, and a run cap that stops and asks. This is a method you can install, not a case study. We are not claiming a savings figure for your team.&lt;/p&gt;

&lt;p&gt;Plan approval (Gate) is free for up to 3 users and 20 plan reviews per calendar month per repo. Cost control (Meter) is free forever. Team is $15 per user per month and starts with a 14-day trial at install. Paid checkout is not open yet, so nothing is charged until you choose to subscribe.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm i -D lake-gate &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; npx lake-gate init --cap 5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Working solo? Add &lt;code&gt;--try&lt;/code&gt;. Run it in your repo, then commit. To block merges, make &lt;code&gt;lake/plan-approval&lt;/code&gt; a required check. That needs a public repo, or GitHub Pro or Team for a private one; otherwise the check is advisory. PRs opened by a bot get the check once a person comments, reviews or pushes. Do not run &lt;code&gt;npx lake&lt;/code&gt;: that installs an unrelated package.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with plan approval
&lt;/h2&gt;

&lt;p&gt;Put the plan in the pull request and hold the run until a teammate approves that exact version.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://getlake.dev/lake-gate/?utm_source=devto&amp;amp;utm_medium=crosspost&amp;amp;utm_campaign=shiftleft" rel="noopener noreferrer"&gt;About Gate&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://getlake.dev/lake-gate/app/?utm_source=devto&amp;amp;utm_medium=crosspost&amp;amp;utm_campaign=shiftleft#/demo" rel="noopener noreferrer"&gt;Try the live demo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you want a look at past Claude Code spend first, the &lt;a href="https://getlake.dev/waste-calculator/?utm_source=devto&amp;amp;utm_medium=crosspost&amp;amp;utm_campaign=shiftleft" rel="noopener noreferrer"&gt;free waste calculator&lt;/a&gt; runs in your browser on a ccusage export. Nothing you paste is uploaded.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://getlake.dev/blog/reviewing-ai-agent-plans/?utm_source=devto&amp;amp;utm_medium=crosspost&amp;amp;utm_campaign=shiftleft" rel="noopener noreferrer"&gt;How to review an AI agent's plan&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://getlake.dev/blog/approving-agent-plans-in-pull-requests/?utm_source=devto&amp;amp;utm_medium=crosspost&amp;amp;utm_campaign=shiftleft" rel="noopener noreferrer"&gt;Approve agent plans in the pull request&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://getlake.dev/blog/how-much-does-claude-code-cost/?utm_source=devto&amp;amp;utm_medium=crosspost&amp;amp;utm_campaign=shiftleft" rel="noopener noreferrer"&gt;How much does Claude Code cost?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://survey.stackoverflow.co/2025/ai" rel="noopener noreferrer"&gt;Stack Overflow Developer Survey 2025, AI section&lt;/a&gt;: usage, sentiment, trust, "almost right," and the person-in-the-loop figure.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://code.claude.com/docs/en/costs" rel="noopener noreferrer"&gt;Anthropic, Manage costs effectively&lt;/a&gt;: published enterprise averages and the note that subscription session costs are not the bill.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://code.claude.com/docs/en/permission-modes" rel="noopener noreferrer"&gt;Anthropic, Choose a permission mode&lt;/a&gt;: plan mode behavior and how approval works in a local session.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>claudecode</category>
    </item>
  </channel>
</rss>
