<?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: Panth Patel</title>
    <description>The latest articles on DEV Community by Panth Patel (@panthpatel).</description>
    <link>https://dev.to/panthpatel</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%2F4143534%2F3561e361-6ed6-41fc-8bad-811d1a0a9b77.png</url>
      <title>DEV Community: Panth Patel</title>
      <link>https://dev.to/panthpatel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/panthpatel"/>
    <language>en</language>
    <item>
      <title>[Boost]</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Tue, 17 Nov 2026 03:28:48 +0000</pubDate>
      <link>https://dev.to/panthpatel/-ne0</link>
      <guid>https://dev.to/panthpatel/-ne0</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/aws-builders/where-to-draw-the-boundaries-when-ai-agents-write-code-building-a-control-layer-around-kiro-cli-52k8" class="crayons-story__hidden-navigation-link"&gt;Where to Draw the Boundaries When AI Agents Write Code: Building a Control Layer Around Kiro CLI and Running It for a Month&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
      &lt;a href="https://dev.to/aws-builders/where-to-draw-the-boundaries-when-ai-agents-write-code-building-a-control-layer-around-kiro-cli-52k8" class="crayons-article__context-note crayons-article__context-note__feed"&gt;&lt;p&gt;Real-world lessons from a month of automated PRs&lt;/p&gt;

&lt;/a&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;
          &lt;a class="crayons-logo crayons-logo--l" href="/aws-builders"&gt;
            &lt;img alt="AWS Community Builders  logo" 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%2Forganization%2Fprofile_image%2F2794%2F88da75b6-aadd-4ea1-8083-ae2dfca8be94.png" class="crayons-logo__image"&gt;
          &lt;/a&gt;

          &lt;a href="/ikenyal" class="crayons-avatar  crayons-avatar--s absolute -right-2 -bottom-2 border-solid border-2 border-base-inverted  "&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%2Fuser%2Fprofile_image%2F634239%2Fefa867e9-b872-436c-a450-2c5115bd4394.jpg" alt="ikenyal profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/ikenyal" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Kento IKEDA
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Kento IKEDA
                
                
              
              &lt;div id="story-author-preview-content-5046182" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/ikenyal" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&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%2Fuser%2Fprofile_image%2F634239%2Fefa867e9-b872-436c-a450-2c5115bd4394.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Kento IKEDA&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

            &lt;span&gt;
              &lt;span class="crayons-story__tertiary fw-normal"&gt; for &lt;/span&gt;&lt;a href="/aws-builders" class="crayons-story__secondary fw-medium"&gt;AWS Community Builders &lt;/a&gt;
            &lt;/span&gt;
          &lt;/div&gt;
          &lt;a href="https://dev.to/aws-builders/where-to-draw-the-boundaries-when-ai-agents-write-code-building-a-control-layer-around-kiro-cli-52k8" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Nov 16&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/aws-builders/where-to-draw-the-boundaries-when-ai-agents-write-code-building-a-control-layer-around-kiro-cli-52k8" id="article-link-5046182"&gt;
          Where to Draw the Boundaries When AI Agents Write Code: Building a Control Layer Around Kiro CLI and Running It for a Month
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/kiro"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;kiro&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/aws"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;aws&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/devops"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;devops&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/aws-builders/where-to-draw-the-boundaries-when-ai-agents-write-code-building-a-control-layer-around-kiro-cli-52k8" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/exploding-head-daceb38d627e6ae9b730f36a1e390fca556a4289d5a41abb2c35068ad3e2c4b5.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;21&lt;span class="hidden s:inline"&gt;&amp;nbsp;reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/aws-builders/where-to-draw-the-boundaries-when-ai-agents-write-code-building-a-control-layer-around-kiro-cli-52k8#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              20&lt;span class="hidden s:inline"&gt;&amp;nbsp;comments&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            21 min read
          &lt;/small&gt;
          
          &lt;div class="only-sidebar-menu-item trusted-visible-block print-hidden align-center"&gt;
                
                    
                
          &lt;/div&gt;

        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;


</description>
    </item>
    <item>
      <title>Keep client customisations out of your product: an iframe sandbox</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Fri, 13 Nov 2026 13:00:47 +0000</pubDate>
      <link>https://dev.to/panthpatel/keep-client-customisations-out-of-your-product-an-iframe-sandbox-co1</link>
      <guid>https://dev.to/panthpatel/keep-client-customisations-out-of-your-product-an-iframe-sandbox-co1</guid>
      <description>&lt;p&gt;Every client wants something slightly different, and AI just made those differences cheap to build. I think that changes how products get shaped, so I built a sandbox for it: &lt;a href="https://github.com/Panth977/sandbox-environment" rel="noopener noreferrer"&gt;sandbox-environment&lt;/a&gt;, Apache-2.0, zero runtime dependencies, on JSR as &lt;code&gt;@panth977/sandbox&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;I'm Panth Patel. I work on backends and developer tooling, and this is the argument behind the library more than a tour of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  From product to framework
&lt;/h2&gt;

&lt;p&gt;Many companies went from solutions to SaaS: stop building one thing per client and sell one thing to everyone. My view is that the next move runs from product to framework. With AI around, and with less organised sectors coming online, each client will have different needs and will expect them met.&lt;/p&gt;

&lt;p&gt;Those needs have to live somewhere. The easy answer is to have AI stitch them into your app. It works for a while. Then your product code holds every client's special case, and each customisation is a product change with a product release.&lt;/p&gt;

&lt;p&gt;The better principle is a line. Framework code on one side, client customisation on the other, and a sandbox as that line. Yes, you'll probably still use AI to write what goes inside it. That is fine. What changes is where the code lands.&lt;/p&gt;

&lt;p&gt;It gives you two things. A customisation that needs no product code change can ship in hours instead of weeks. And if the client has a tech team of their own, you can hand them the sandbox and let them maintain it.&lt;/p&gt;

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

&lt;p&gt;A customisation is an artifact: a mini-app mounted in a slot of your app.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;mount&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;scopes&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;confirm&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;audit&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"jsr:@panth977/sandbox/host"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nf"&gt;mount&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getElementById&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"slot"&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="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;artifact&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;api&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;devices&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="n"&gt;list&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;q&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;http&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;"/devices"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;q&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="c1"&gt;// uses YOUR token&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;middleware&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="nf"&gt;audit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;push&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nf"&gt;scopes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s2"&gt;"devices.list"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"devices:read"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;granted&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Inside the artifact, the code only sees the API you passed in:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;host&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"@panth977/sandbox/artifact"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;devices&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;list&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Your frontend is its backend. The call crosses a typed bridge, runs in your app with the viewer's permissions, and comes back. Streams, callbacks, cancellation and errors cross it too.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the boundary comes from
&lt;/h2&gt;

&lt;p&gt;I didn't write a security model. I used the browser's. Each artifact runs in an &lt;code&gt;&amp;lt;iframe sandbox="allow-scripts"&amp;gt;&lt;/code&gt; with an opaque origin, so it has no access to your DOM, cookies, &lt;code&gt;localStorage&lt;/code&gt; or tokens. A strict CSP closes the network unless the artifact's manifest asks and the host allows it. Scopes, confirm-before-destructive, rate limits, an audit trail and dry runs are middleware, a line each.&lt;/p&gt;

&lt;p&gt;The threat model is written down in &lt;code&gt;SECURITY.md&lt;/code&gt;. The artifact is untrusted, and the host and its API are trusted. Two things are out of scope: an artifact wasting its own frame, and anything your API chooses to allow. The sandbox stops the code from reaching around your API. You still have to design that API with care.&lt;/p&gt;

&lt;h2&gt;
  
  
  Writing artifacts in the browser
&lt;/h2&gt;

&lt;p&gt;A sandbox nobody can write for doesn't help. So the package includes the tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A compiler that takes TypeScript, JSX and Svelte in the browser or a worker, with no bundler and no WASM. The same compiler runs in Node for CI.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;mountDev&lt;/code&gt;: a Monaco editor with completions and go-to-definition, plus a live preview.&lt;/li&gt;
&lt;li&gt;A UI kit, so artifacts look like part of your app.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hosts can be plain JS, Svelte or Angular, tested in CI in Chromium, Firefox and WebKit, with Angular as far back as 15. Artifacts can be plain JS, React, Preact or Svelte 5. A React host should work through the custom element, but I haven't tested one in a real React app yet.&lt;/p&gt;

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

&lt;p&gt;This release covers the frontend. The next one is a backend sandbox: write the code in any language, while the host keeps full control over the script and its security.&lt;/p&gt;

&lt;p&gt;Where do client customisations live in your product today?&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>opensource</category>
      <category>webdev</category>
      <category>ai</category>
    </item>
    <item>
      <title>IceBase: Firebase's API, a declared schema and a way out</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Thu, 12 Nov 2026 13:00:52 +0000</pubDate>
      <link>https://dev.to/panthpatel/icebase-firebases-api-a-declared-schema-and-a-way-out-84n</link>
      <guid>https://dev.to/panthpatel/icebase-firebases-api-a-declared-schema-and-a-way-out-84n</guid>
      <description>&lt;p&gt;IceBase keeps Firebase's API and makes the backend a config value: &lt;code&gt;firebase&lt;/code&gt;, &lt;code&gt;emulator&lt;/code&gt; on SQLite, or &lt;code&gt;vm&lt;/code&gt; on Postgres, per service. It is Apache-2.0, on JSR, and at v0.6.0: &lt;a href="https://github.com/Panth977/icebase" rel="noopener noreferrer"&gt;github.com/Panth977/icebase&lt;/a&gt;. The full overnight move off Firebase is not finished, and I'll say below what is missing.&lt;/p&gt;

&lt;p&gt;I'm Panth Patel. I build a lot of side projects, and Firebase has been my go-to for them. It has everything, and the free tier is generous.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem shows up late
&lt;/h2&gt;

&lt;p&gt;The trouble starts when a side project stops being one. Once I wanted to run something for a company or at scale, I found no overnight way off. The app is written against Firebase's SDK, and the schema exists only in the data.&lt;/p&gt;

&lt;p&gt;So I wanted a layer I could adopt on day one, while Firebase is still the right choice, that keeps the exit open.&lt;/p&gt;

&lt;h2&gt;
  
  
  Same calls, one more file
&lt;/h2&gt;

&lt;p&gt;The function names and call shapes are Firebase's. The imports change:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;collection&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;getDocs&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;orderBy&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;where&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'@panth977/icebase/firestore'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;db&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'./lib/icebase'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;products&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'../icebase/schema'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;query&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;collection&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;db&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;products&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;where&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'category'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'=='&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'shoes'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;orderBy&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'priceCents'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;snap&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;getDocs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;q&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;   &lt;span class="c1"&gt;// snap.docs[0].data() is typed from the schema&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The one difference you'll feel is key paths. Nested fields are arrays, &lt;code&gt;where(['address', 'city'], ...)&lt;/code&gt;, because &lt;code&gt;'rating.avg'&lt;/code&gt; is one key.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;icebase.config.ts&lt;/code&gt; is the new file. It holds the schema, rules, functions, hosting and, per environment, the mode of each service:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="n"&gt;environments&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;mode&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'emulator'&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;prod&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;mode&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'firebase'&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;h2&gt;
  
  
  The schema is the real feature
&lt;/h2&gt;

&lt;p&gt;Firebase accepts anything, and that is why it is fast to start. AI makes this sharper. Building with AI is fine, but a good developer still looks at the interfaces and the schema to find bugs before the build. A loose database gives you nothing to look at.&lt;/p&gt;

&lt;p&gt;IceBase asks for the exact shape of every collection, Realtime Database path and storage path, and for every field you filter on. Writes are type-checked and validated at runtime in every mode. A query whose index isn't declared fails at compile time:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nc"&gt;MissingIndex&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="s2"&gt;"category"&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="s2"&gt;"stock"&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It is also refused at runtime, in every mode, and &lt;code&gt;icebase indexes check&lt;/code&gt; lists every such query for CI.&lt;/p&gt;

&lt;p&gt;The later payoff is the migration. On the day you move to Postgres, you don't need to run an AI over your data to discover what the schema was. It has been in your repo the whole time.&lt;/p&gt;

&lt;p&gt;If the project already exists, &lt;code&gt;icebase init --import DIR --project ID --sample N&lt;/code&gt; drafts a schema from sampled documents, and learning mode reports undeclared collections and missing indexes instead of refusing them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three drivers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;firebase&lt;/strong&gt;: the real Firebase SDKs, with the type, schema and index checks on top.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;emulator&lt;/strong&gt;: my own IceBase server on SQLite. I found Firebase's emulator slow and wanted one good enough for production-like testing. It enforces your rules in Firebase's own syntax, and those same files deploy unchanged to Firebase.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;vm&lt;/strong&gt;: the same server on Postgres, self-hosted.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Modes mix per service, so one service can move while the rest stay put. Going between the two server stores is one command, in either direction:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;icebase migrate --from sqlite:.icebase --to env:DATABASE_URL
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;IceBase also has its own console for every mode, so you don't have to open Firebase's.&lt;/p&gt;

&lt;p&gt;To keep me honest, the conformance suites run against Firebase's emulators, the IceBase server and a live Firebase project, and every IceBase-server suite also passes on Postgres. My design editor, &lt;a href="https://github.com/Panth977/digital-canvas" rel="noopener noreferrer"&gt;Digital Canvas&lt;/a&gt;, runs on IceBase in firebase mode.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is not built
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;S3 for stored files. In vm mode they stay on disk today, and &lt;code&gt;icebase migrate&lt;/code&gt; does not copy them.&lt;/li&gt;
&lt;li&gt;A Docker image, login and deploy to a VM, and backups.&lt;/li&gt;
&lt;li&gt;Import, export and link. These are what will make the move from a live Firebase project an overnight job, and they are next on the roadmap.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So the overnight move is the goal, and the pieces under it are in place. It is not a claim about today.&lt;/p&gt;

&lt;p&gt;Have you moved a real app off Firebase? What was the part you did not see coming?&lt;/p&gt;

</description>
      <category>firebase</category>
      <category>typescript</category>
      <category>postgres</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I built an open-source Canva alternative with 42 MCP tools</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Tue, 10 Nov 2026 13:02:49 +0000</pubDate>
      <link>https://dev.to/panthpatel/i-built-an-open-source-canva-alternative-with-42-mcp-tools-5bkp</link>
      <guid>https://dev.to/panthpatel/i-built-an-open-source-canva-alternative-with-42-mcp-tools-5bkp</guid>
      <description>&lt;p&gt;Digital Canvas is a free design editor, Apache-2.0, and it opens with no login. My first commit was on 27 October and there were 160 by the 31st. The goal is everything Canva has, with your designs stored as files you own: &lt;a href="https://github.com/Panth977/digital-canvas" rel="noopener noreferrer"&gt;github.com/Panth977/digital-canvas&lt;/a&gt;. You can &lt;a href="https://digital-canvas-p977.web.app" rel="noopener noreferrer"&gt;try it here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I'm Panth Patel. I build backends and developer tools, and this is a project of my own.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why build this at all
&lt;/h2&gt;

&lt;p&gt;As a graphics editor, Canva is simple. That is a compliment, and it is also why I think the editor should be free. The templates are great and they may never be free, because someone made them. The framework, the animations and the kit are different. Those are software, and software can be opened.&lt;/p&gt;

&lt;p&gt;So I split the problem in two: an open editor now, and a template catalogue that grows over time. I set one rule on the content side. Nothing in the library is generated. Templates, stickers and palettes come from open catalogues, with credit, and the 62 mockups are real photographs.&lt;/p&gt;

&lt;h2&gt;
  
  
  The file is the product
&lt;/h2&gt;

&lt;p&gt;A design is one &lt;code&gt;.dcanvas&lt;/code&gt; file. It is a zip:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mimetype         application/vnd.digital-canvas+zip
document.json    { format: "digital-canvas", version: 1, width, height, pages: [...], assets: {...} }
assets/&amp;lt;hash&amp;gt;    image bytes, named by content hash
thumbnail.png    preview of page 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;document.json&lt;/code&gt; is plain, documented JSON, so a script can read and write a design without the editor. You choose where the files live: this browser, a folder on your computer, or your own Google Drive. Drive access uses the &lt;code&gt;drive.file&lt;/code&gt; scope only, so the app sees what it created and what you picked.&lt;/p&gt;

&lt;p&gt;The backend stores a user, a login count and a Drive refresh token. Your designs never pass through it. That backend runs on &lt;a href="https://github.com/Panth977/icebase" rel="noopener noreferrer"&gt;IceBase&lt;/a&gt;, which is another thing I built and a separate post.&lt;/p&gt;

&lt;h2&gt;
  
  
  One renderer everywhere
&lt;/h2&gt;

&lt;p&gt;Drawing goes through CanvasKit, which is Skia compiled to WebAssembly. The UI around it is Svelte 5. &lt;code&gt;packages/render&lt;/code&gt; has no DOM in it, so the same code draws in the browser and in Node, and the unit tests render real PNGs.&lt;/p&gt;

&lt;p&gt;That choice pays off in export. Live playback, the web MP4 export and the agent's exporter all call the same frame function, so what you see while scrubbing is what lands in the file. PNG, JPG, SVG, PDF (raster or vector) and MP4 all come out of this one engine.&lt;/p&gt;

&lt;p&gt;Today that covers 2,000+ Google Fonts, 270+ size presets, 17 adjustments, 35 filters, tables, charts, QR codes and a video timeline. The background remover (BiRefNet) and Magic Eraser (LaMa) run on your device. The AI features use your own key, and that key goes only to its provider.&lt;/p&gt;

&lt;h2&gt;
  
  
  Give it to your agent
&lt;/h2&gt;

&lt;p&gt;This is the part I care about most. You spend hours learning an editor. An agent should be able to use that same editor for you, and leave you a design you can open and finish by hand.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;packages/mcp&lt;/code&gt; is an MCP server with 42 tools. Any client with remote MCP and OAuth can connect with one URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http digital-canvas https://digital-canvas-p977.web.app/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent searches your uploads and free stock, composes the page, calls &lt;code&gt;render_page&lt;/code&gt; to look at the result, and calls &lt;code&gt;check_design&lt;/code&gt;, which measures overflow, contrast on the real pixels, cut-off text and tiny fonts. Then it fixes what failed and exports. The tools run on your own device, and the server is only a relay.&lt;/p&gt;

&lt;p&gt;That loop is why it has eyes: the agent sees what it made and gets a measured critique before it hands anything back. The result is an ordinary &lt;code&gt;.dcanvas&lt;/code&gt; file, not a flattened image.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is not there yet
&lt;/h2&gt;

&lt;p&gt;It is web only today. The next phase is a version you run locally from any folder, with no login and no Drive setup. After that come the tools people expect from a modern editor: Instagram-style edit animations, hooks, more mockups and many more templates.&lt;/p&gt;

&lt;p&gt;The repo is Apache-2.0. If you try it, I'd like to know one thing: what is the first thing you tried to do that it could not?&lt;/p&gt;

</description>
      <category>svelte</category>
      <category>webassembly</category>
      <category>mcp</category>
      <category>showdev</category>
    </item>
    <item>
      <title>[Boost]</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Mon, 09 Nov 2026 03:02:28 +0000</pubDate>
      <link>https://dev.to/panthpatel/-3goj</link>
      <guid>https://dev.to/panthpatel/-3goj</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/anas_issath/adding-a-database-server-doubled-capacity-one-index-multiplied-it-by-2600-437g" class="crayons-story__hidden-navigation-link"&gt;Adding a Database Server Doubled Capacity. One Index Multiplied It by 2,600.&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/anas_issath" class="crayons-avatar  crayons-avatar--l  "&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%2Fuser%2Fprofile_image%2F907893%2F57da9c4e-064f-47b3-a5ca-5a75138b4d51.png" alt="anas_issath profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/anas_issath" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Anas Issath
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Anas Issath
                
                
              
              &lt;div id="story-author-preview-content-4977356" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/anas_issath" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&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%2Fuser%2Fprofile_image%2F907893%2F57da9c4e-064f-47b3-a5ca-5a75138b4d51.png" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Anas Issath&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/anas_issath/adding-a-database-server-doubled-capacity-one-index-multiplied-it-by-2600-437g" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Nov 4&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/anas_issath/adding-a-database-server-doubled-capacity-one-index-multiplied-it-by-2600-437g" id="article-link-4977356"&gt;
          Adding a Database Server Doubled Capacity. One Index Multiplied It by 2,600.
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/postgres"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;postgres&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/database"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;database&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/performance"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;performance&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/django"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;django&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/anas_issath/adding-a-database-server-doubled-capacity-one-index-multiplied-it-by-2600-437g" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;3&lt;span class="hidden s:inline"&gt;&amp;nbsp;reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/anas_issath/adding-a-database-server-doubled-capacity-one-index-multiplied-it-by-2600-437g#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              7&lt;span class="hidden s:inline"&gt;&amp;nbsp;comments&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            19 min read
          &lt;/small&gt;
          
          &lt;div class="only-sidebar-menu-item trusted-visible-block print-hidden align-center"&gt;
                
                    
                
          &lt;/div&gt;

        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
    </item>
    <item>
      <title>[Boost]</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Fri, 06 Nov 2026 03:02:47 +0000</pubDate>
      <link>https://dev.to/panthpatel/-83i</link>
      <guid>https://dev.to/panthpatel/-83i</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/dannwaneri/dont-write-markdown-files-for-your-coding-agent-write-scripts-j00" class="crayons-story__hidden-navigation-link"&gt;Don't Write Markdown Files for Your Coding Agent. Write Scripts.&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
      &lt;a href="https://dev.to/dannwaneri/dont-write-markdown-files-for-your-coding-agent-write-scripts-j00" class="crayons-article__context-note crayons-article__context-note__feed"&gt;&lt;p&gt;Comments warn agents modifying their own scripts&lt;/p&gt;

&lt;/a&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/dannwaneri" class="crayons-avatar  crayons-avatar--l  "&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%2Fuser%2Fprofile_image%2F3606168%2Fa45537f0-d879-4611-a026-3fb74fcddb24.jpg" alt="dannwaneri profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/dannwaneri" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Daniel Nwaneri
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Daniel Nwaneri
                &lt;a href="/++"&gt;&lt;img alt="Subscriber" class="subscription-icon" src="https://assets.dev.to/assets/subscription-icon-805dfa7ac7dd660f07ed8d654877270825b07a92a03841aa99a1093bd00431b2.png"&gt;&lt;/a&gt;
                
              
              &lt;div id="story-author-preview-content-4948394" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/dannwaneri" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&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%2Fuser%2Fprofile_image%2F3606168%2Fa45537f0-d879-4611-a026-3fb74fcddb24.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Daniel Nwaneri&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/dannwaneri/dont-write-markdown-files-for-your-coding-agent-write-scripts-j00" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Nov 5&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/dannwaneri/dont-write-markdown-files-for-your-coding-agent-write-scripts-j00" id="article-link-4948394"&gt;
          Don't Write Markdown Files for Your Coding Agent. Write Scripts.
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/programming"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;programming&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/devops"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;devops&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/productivity"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;productivity&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/dannwaneri/dont-write-markdown-files-for-your-coding-agent-write-scripts-j00" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/exploding-head-daceb38d627e6ae9b730f36a1e390fca556a4289d5a41abb2c35068ad3e2c4b5.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;64&lt;span class="hidden s:inline"&gt;&amp;nbsp;reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;span class="crayons-story__favorited"&gt;
              &lt;span class="favorited-marker"&gt;
                &lt;span&gt;
                  

                &lt;/span&gt;
                &lt;span class="hidden"&gt;
                  

                &lt;/span&gt;
              &lt;/span&gt;
            &lt;/span&gt;
            &lt;a href="https://dev.to/dannwaneri/dont-write-markdown-files-for-your-coding-agent-write-scripts-j00#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              49&lt;span class="hidden s:inline"&gt;&amp;nbsp;comments&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            4 min read
          &lt;/small&gt;
          
          &lt;div class="only-sidebar-menu-item trusted-visible-block print-hidden align-center"&gt;
                
                    
                
          &lt;/div&gt;

        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;


</description>
    </item>
    <item>
      <title>Three ways into a client's on-prem server, and where the client's switch sits</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Thu, 05 Nov 2026 13:01:05 +0000</pubDate>
      <link>https://dev.to/panthpatel/three-ways-into-a-clients-on-prem-server-and-where-the-clients-switch-sits-1dj7</link>
      <guid>https://dev.to/panthpatel/three-ways-into-a-clients-on-prem-server-and-where-the-clients-switch-sits-1dj7</guid>
      <description>&lt;p&gt;A government client's server is not my server. On-Prem Manager (OPM) can now reach one in three ways, so the useful question for each is who can turn it off.&lt;/p&gt;

&lt;p&gt;OPM is the open-source tool I built to run on-premise Docker deployments: a cloud console, and one Go agent per server with its own GUI. Three things changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The browser tunnel is end-to-end encrypted
&lt;/h2&gt;

&lt;p&gt;Some sites have no internet at all. For those, the agent borrows the browser of the person using its GUI: the tab fetches from the cloud on the agent's behalf.&lt;/p&gt;

&lt;p&gt;Until this change, every request and response passed through that tab in clear. That included commits with secret values, and on a LAN the agent GUI may be plain http.&lt;/p&gt;

&lt;p&gt;Now the agent seals each request to an X25519 key on the cloud, and that key has to be certified by a release key pinned in the agent's config. The cloud answers with an AES-256-GCM stream. The tab carries ciphertext.&lt;/p&gt;

&lt;p&gt;There is no fallback. If the key is missing or the signature is wrong, the call fails and the reason shows on the Internet page. An agent with no pinned key can be told to run in clear, and that is logged every time a tunnel starts.&lt;/p&gt;

&lt;p&gt;The security review changed the design once. A replayed request gets a second answer under the same key, and with the plain design that reuses key and nonces, which opens the first answer. So each response now starts with a random 32-byte salt that derives its own key.&lt;/p&gt;

&lt;p&gt;The tab can still see that a call happened, its size and its timing, and it can drop calls. Relays between agents on the mesh are signed, not encrypted. Agents older than this stay in clear until they are updated and have the release key, which the install script adds and &lt;code&gt;opm-agent upgrade&lt;/code&gt; does not.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The agent GUI on the cloud's own domain
&lt;/h2&gt;

&lt;p&gt;Each site's agent GUI now opens from the cloud console, at a path under OPM's own domain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;cloud&amp;gt;/app/deployments/{deploymentId}/remote/{siteSlug}/_opm/…
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You log in to the cloud once. There is no agent key to find and no extra port for the client to open, because the site asks the cloud for work over outbound HTTPS and the cloud never calls a site. Every action is recorded on the site under the person's cloud email, and the GUI shows "through the cloud".&lt;/p&gt;

&lt;p&gt;This one is on by default. The client switches it off in the agent GUI on the site, and open remote sessions end at once. A remote session can't flip that switch; the call answers 403.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Port tunnels
&lt;/h2&gt;

&lt;p&gt;A container port, the site's edge or a TCP port on the server can be forwarded to a port on the cloud's VM. It carries raw TCP, so a website, an API or a database client all work, and a site with no cloud route of its own can be served through a peer.&lt;/p&gt;

&lt;p&gt;You add a tunnel in the console, and it does nothing there. It stays off until someone switches it on in that site's agent GUI, under Agent › Tunnels. Each site keeps its own switches.&lt;/p&gt;

&lt;p&gt;Two limits, because the switch is only as good as what sits around it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The tunnel switch also works from the agent GUI opened through the cloud. So a client who wants the decision to stay on their side should turn the remote GUI off as well.&lt;/li&gt;
&lt;li&gt;The public port has no login of its own. Whoever reaches it reaches the target, so the target's own auth is what stands there.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why the switches sit on the client's side
&lt;/h2&gt;

&lt;p&gt;Local deployment is why these clients buy Envizom in the first place. They keep the data, and now they also decide how much of a path to it exists. If a client isn't comfortable with any of this, the same agent GUI turns it off and the deployment keeps running without it.&lt;/p&gt;

&lt;p&gt;The code is at &lt;a href="https://github.com/Panth977/on-premise-manager" rel="noopener noreferrer"&gt;github.com/Panth977/on-premise-manager&lt;/a&gt;, Apache-2.0. The sealing is in SPEC-final §9.10, the two tunnels in §21 #118 and #125.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>security</category>
      <category>docker</category>
      <category>opensource</category>
    </item>
    <item>
      <title>A kanban board for AI coding agents: 12 stages, 6 repos</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Tue, 03 Nov 2026 13:01:05 +0000</pubDate>
      <link>https://dev.to/panthpatel/a-kanban-board-for-ai-coding-agents-12-stages-6-repos-44kn</link>
      <guid>https://dev.to/panthpatel/a-kanban-board-for-ai-coding-agents-12-stages-6-repos-44kn</guid>
      <description>&lt;p&gt;12 board stages, 6 repos per ticket, about 5,100 lines of TypeScript, 2 days to build. The first full ticket went from Todo to merged across all 6 repos for 0.8M tokens.&lt;/p&gt;

&lt;p&gt;That is Orch2, the development pipeline we run on Envizom at Oizom, where I'm a Tech Lead. One change usually touches a Go backend, a Svelte frontend, a UI library and 3 driver repos. Orch2 turns a kanban board into the control panel: a plain script runs the pipeline, Claude agents only do the coding, and every ticket gets its own sandboxed copy of the whole product. The Envizom code is proprietary, so this is the design, not the source.&lt;/p&gt;

&lt;p&gt;Three things stay separate. The tracker is a product. Orch2 is a client of it. The agent is what Orch2 runs.&lt;/p&gt;

&lt;h2&gt;
  
  
  A script, not an agent
&lt;/h2&gt;

&lt;p&gt;The orchestrator is ordinary TypeScript: predictable, cheap and easy to debug. An LLM starts only when there is code to write or a conflict to resolve. The board is the whole UI. There are no dashboards and no CLI for users, just stages, the thread and question cards, and orch replies in the thread with links, PRs and preview URLs. A human types one field, Src Branch. The ticket branch is the ticket key in every repo, and everything else is derived.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Stage&lt;/th&gt;
&lt;th&gt;Who&lt;/th&gt;
&lt;th&gt;What happens&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Todo&lt;/td&gt;
&lt;td&gt;human&lt;/td&gt;
&lt;td&gt;backlog, orch never acts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pull Latest&lt;/td&gt;
&lt;td&gt;script&lt;/td&gt;
&lt;td&gt;branch in all 6 repos, workspace built, stack health-checked&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Approved&lt;/td&gt;
&lt;td&gt;script&lt;/td&gt;
&lt;td&gt;agent started or resumed on the ticket branch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Working&lt;/td&gt;
&lt;td&gt;agent&lt;/td&gt;
&lt;td&gt;posts a plan as a task list, codes, tests against its live stack, calls &lt;code&gt;endWork&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review&lt;/td&gt;
&lt;td&gt;human&lt;/td&gt;
&lt;td&gt;opens the running app and the browser IDE&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Git Push&lt;/td&gt;
&lt;td&gt;script&lt;/td&gt;
&lt;td&gt;commit, merge base, build check, push, one PR per changed repo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Preview&lt;/td&gt;
&lt;td&gt;script&lt;/td&gt;
&lt;td&gt;production build, HTTPS link posted&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Confirm&lt;/td&gt;
&lt;td&gt;human&lt;/td&gt;
&lt;td&gt;the lead checks the preview&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Git Merge&lt;/td&gt;
&lt;td&gt;script&lt;/td&gt;
&lt;td&gt;every PR checked first, then merged libraries-first&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Completed&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;done&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cancel&lt;/td&gt;
&lt;td&gt;human&lt;/td&gt;
&lt;td&gt;Yes/No card, stops the agent, closes the PRs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Trashed&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;branch, workspace and preview deleted&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Every agent turn posts a short receipt and adds its token use to a board aggregate, so cost shows per ticket on the card and per day in analytics. The aggregate is stored in millions because 798,400 on a card was unreadable. It now says 0.8.&lt;/p&gt;

&lt;p&gt;Each developer runs their own orch, with its own board agent and token, so assigning that agent to a ticket hands the ticket to that machine. The same codebase has a &lt;code&gt;preview&lt;/code&gt; mode that runs once, on the dev server, for production previews.&lt;/p&gt;

&lt;h2&gt;
  
  
  A copy of the product per ticket
&lt;/h2&gt;

&lt;p&gt;A workspace is 6 repo clones, its own data and its own stack on its own block of ports. Git uses a bare mirror of each repo and clones with &lt;code&gt;--reference --dissociate&lt;/code&gt;, so a checkout takes seconds and owns its objects. GitHub auth goes per command as an HTTP header, so no credential is written to disk in a workspace.&lt;/p&gt;

&lt;p&gt;One front router on a single port routes by hostname: &lt;code&gt;&amp;lt;ticket&amp;gt;.localhost&lt;/code&gt; for the app and &lt;code&gt;code-&amp;lt;ticket&amp;gt;.localhost&lt;/code&gt; for &lt;a href="https://github.com/Panth977/code-shell" rel="noopener noreferrer"&gt;code-shell&lt;/a&gt;, the browser IDE. Browsers resolve &lt;code&gt;*.localhost&lt;/code&gt; themselves, so a new ticket needs no DNS record and no proxy reload.&lt;/p&gt;

&lt;p&gt;Data is real and safely copied. SQLite comes through a token-gated read-only file server as a &lt;code&gt;VACUUM INTO&lt;/code&gt; snapshot, because copying a live WAL database gives a corrupt file. Downloads are checked by magic bytes, so an HTML error page can never be saved as a database.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five layers around the agent
&lt;/h2&gt;

&lt;p&gt;A ticket agent can run commands, edit, build and test. It can't push, reach secrets or touch anything outside its ticket. A gap in one layer is caught by the next:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Scrubbed environment.&lt;/strong&gt; Every secret removed, for the agent, the workspace stack and the IDE.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OS sandbox on every shell command.&lt;/strong&gt; Seatbelt on macOS, bubblewrap on Linux. Writes only in the workspace and build caches, network limited to localhost, package registries and GitHub.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A guard on every tool call.&lt;/strong&gt; The same policy twice, in the SDK permission callback and a PreToolUse hook. It blocks &lt;code&gt;git push&lt;/code&gt;, branch switches, &lt;code&gt;reset --hard&lt;/code&gt;, &lt;code&gt;ssh&lt;/code&gt; and piping downloads into a shell, orch-managed files are read-only, and every denial returns the reason.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A narrow tool surface.&lt;/strong&gt; Only orch's own MCP server: ticket and thread, plan, stack control, &lt;code&gt;endWork&lt;/code&gt;. No connectors, and no web fetch because it could leak ticket text.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gates.&lt;/strong&gt; &lt;code&gt;endWork&lt;/code&gt; is refused until the plan is finished, the stack is healthy and the merge is clean. Orch commits and pushes only after a human moves the card to Git Push.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What production taught us
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Symptom&lt;/th&gt;
&lt;th&gt;Fix&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;160k tokens lost by one agent fighting a failed Go module download&lt;/td&gt;
&lt;td&gt;network build failures go to a human; agents get only code problems&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Corporate TLS inspection broke Go proxy and GitHub calls at random&lt;/td&gt;
&lt;td&gt;quiet retries at 1, 3 and 9 minutes before anything is posted&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fast clones failed with "unable to parse commit" on new git versions&lt;/td&gt;
&lt;td&gt;commit-graph off on clone and mirror fetch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A production build ran out of memory and hung a swapless 15 GB server&lt;/td&gt;
&lt;td&gt;one preview at a time, container memory limit, heap cap, free-memory check&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A preview stack died after a container restart&lt;/td&gt;
&lt;td&gt;10-minute watchdog; startup reconciles every ticket&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The first row decided a design rule: infra failures go to a person, never an agent, because an agent can't fix a firewall and will burn tokens trying.&lt;/p&gt;

&lt;p&gt;What in your pipeline still lets an agent spend tokens on a problem it can't solve?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>typescript</category>
      <category>agents</category>
    </item>
    <item>
      <title>Release-based planning: only the release gets a deadline</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Mon, 02 Nov 2026 13:00:46 +0000</pubDate>
      <link>https://dev.to/panthpatel/release-based-planning-only-the-release-gets-a-deadline-37hc</link>
      <guid>https://dev.to/panthpatel/release-based-planning-only-the-release-gets-a-deadline-37hc</guid>
      <description>&lt;p&gt;For my first 6 months as a Tech Lead I did not know how to say no, and every deadline got pushed. My answer was two shifts: we plan releases instead of features, and the product document replaced the codebase as the source of truth.&lt;/p&gt;

&lt;p&gt;I'm Panth Patel, Tech Lead on Envizom at Oizom. This post is about process, not code.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the job turned out to be
&lt;/h2&gt;

&lt;p&gt;I started as a backend developer. I could debug anything in the stack, and I was comfortable helping with product design and the roadmap. None of that prepared me for a product that sells to clients.&lt;/p&gt;

&lt;p&gt;Some features were wanted right now or the client wouldn't buy. Others were insistent suggestions that could sit in the backlog for months before anyone asked for an update. There was no cap on how many came in. As a dev you think everything is doable, until you realise you are no longer a proof of concept and people expect professional experience.&lt;/p&gt;

&lt;p&gt;And I kept running into one question. If you expect no bugs and a stable release, how can you commit to a client on a 1-week timeline?&lt;/p&gt;

&lt;p&gt;We were selling almost everything, about 80-90% of what clients asked for, and the team was praised for it many times. But every deadline slipped, and every release took new features at the last moment. Clients expected a stable system while we still acted like a startup. To scale, Envizom had to become a separate product, with client customisation in a proper framework instead of production code changes.&lt;/p&gt;

&lt;p&gt;So I spent 2 months reading how professionals run this: how they scale, how they set KRAs and KPIs, how big tech manages a codebase with frequent releases. Some of it was too much for us and some too little. What we ended up with is good enough, and it works like a machine: each part has one job.&lt;/p&gt;

&lt;h2&gt;
  
  
  Shift 1: the document changes first
&lt;/h2&gt;

&lt;p&gt;Every feature now starts as a 5-10 minute group discussion, without waiting for a standup. It defines the exact change to the product document before anyone implements anything. Product development happens there, and execution doesn't. If the feature needs research, a separate R&amp;amp;D task starts and blocks it.&lt;/p&gt;

&lt;p&gt;Then the feature doc goes to three people at once:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Role&lt;/th&gt;
&lt;th&gt;Before&lt;/th&gt;
&lt;th&gt;Now&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Lead&lt;/td&gt;
&lt;td&gt;came in only if needed&lt;/td&gt;
&lt;td&gt;estimates from the doc&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dev&lt;/td&gt;
&lt;td&gt;built it, then explained it to the product owner and QA/QC&lt;/td&gt;
&lt;td&gt;implements and tests their own work&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;QA/QC&lt;/td&gt;
&lt;td&gt;driven by the dev&lt;/td&gt;
&lt;td&gt;writes cases from the doc, runs them, attaches a report&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The last row is the one I care about most. QA/QC reads only the latest feature doc, so a bug gets caught the way a client would hit it. Before this, the product truth always ended up being the code.&lt;/p&gt;

&lt;p&gt;Each task also attaches two short videos: one explaining the product, one explaining the development interfaces and contract. The product owner and dev lead confirm the original clarifications were met, and only then does it go to QA/QC.&lt;/p&gt;

&lt;h2&gt;
  
  
  Shift 2: features have no deadlines
&lt;/h2&gt;

&lt;p&gt;Nobody asks whether a feature is "immediate" any more, and nothing is "4 days" or "1 month". A feature goes into a release, and no work happens until a release is defined. A feature can join a release only when no R&amp;amp;D is left, just implementation. Only the release has a deadline and an estimated dev time.&lt;/p&gt;

&lt;p&gt;The calendar has rules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;At least 2 days of code freeze per release.&lt;/li&gt;
&lt;li&gt;1 extra QA/QC day after the release.&lt;/li&gt;
&lt;li&gt;Releases happen on working days, with at least 2 working days ahead and no consecutive holidays.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Git follows the release too. Each release has a dev branch and a prod branch. Every feature and bug-fix branch comes off the release's dev branch and merges back to it. The prod branch has two environments: demo, recently cloned from the prod DB and running the upcoming release, and prod itself, updated on release date.&lt;/p&gt;

&lt;p&gt;The comms come first as well. Change logs, product updates and press releases are defined at the start of release development and go out to client-facing colleagues, devs, QA/QC and leads.&lt;/p&gt;

&lt;p&gt;Where in your team does a feature get its deadline: when someone asks for it, or when it joins a release?&lt;/p&gt;

</description>
      <category>leadership</category>
      <category>productivity</category>
      <category>management</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>[Boost]</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Tue, 27 Oct 2026 03:02:34 +0000</pubDate>
      <link>https://dev.to/panthpatel/-1n2j</link>
      <guid>https://dev.to/panthpatel/-1n2j</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/gde/postmortem-the-tuesday-our-ai-bill-had-no-owner-34pd" class="crayons-story__hidden-navigation-link"&gt;Postmortem: The Tuesday Our AI Bill Had No Owner&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
      &lt;a href="https://dev.to/gde/postmortem-the-tuesday-our-ai-bill-had-no-owner-34pd" class="crayons-article__context-note crayons-article__context-note__feed"&gt;&lt;p&gt;Unlabeled tokens create hidden retry loops&lt;/p&gt;

&lt;/a&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;
          &lt;a class="crayons-logo crayons-logo--l" href="/gde"&gt;
            &lt;img alt="Google Developer Experts logo" 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%2Forganization%2Fprofile_image%2F11939%2Fe3080d5b-ecde-42a8-b089-bafecc31fa97.png" class="crayons-logo__image" width="800" height="800"&gt;
          &lt;/a&gt;

          &lt;a href="/karthidec" class="crayons-avatar  crayons-avatar--s absolute -right-2 -bottom-2 border-solid border-2 border-base-inverted  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png" alt="karthidec profile" class="crayons-avatar__image" width="800" height="800"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/karthidec" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Karthigayan Devan
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Karthigayan Devan
                
                
              
              &lt;div id="story-author-preview-content-4915028" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/karthidec" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png" class="crayons-avatar__image" alt="" width="800" height="800"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Karthigayan Devan&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

            &lt;span&gt;
              &lt;span class="crayons-story__tertiary fw-normal"&gt; for &lt;/span&gt;&lt;a href="/gde" class="crayons-story__secondary fw-medium"&gt;Google Developer Experts&lt;/a&gt;
            &lt;/span&gt;
          &lt;/div&gt;
          &lt;a href="https://dev.to/gde/postmortem-the-tuesday-our-ai-bill-had-no-owner-34pd" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Oct 25&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/gde/postmortem-the-tuesday-our-ai-bill-had-no-owner-34pd" id="article-link-4915028"&gt;
          Postmortem: The Tuesday Our AI Bill Had No Owner
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag crayons-tag--filled  " href="/t/discuss"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;discuss&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/vertexai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;vertexai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/sre"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;sre&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/gde/postmortem-the-tuesday-our-ai-bill-had-no-owner-34pd" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/exploding-head-daceb38d627e6ae9b730f36a1e390fca556a4289d5a41abb2c35068ad3e2c4b5.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;14&lt;span class="hidden s:inline"&gt;&amp;nbsp;reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/gde/postmortem-the-tuesday-our-ai-bill-had-no-owner-34pd#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              8&lt;span class="hidden s:inline"&gt;&amp;nbsp;comments&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            14 min read
          &lt;/small&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>management</category>
      <category>productivity</category>
      <category>startup</category>
    </item>
    <item>
      <title>944 lines that turn a ticket into a headless Claude Code session</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Mon, 26 Oct 2026 13:00:30 +0000</pubDate>
      <link>https://dev.to/panthpatel/944-lines-that-turn-a-ticket-into-a-headless-claude-code-session-4aag</link>
      <guid>https://dev.to/panthpatel/944-lines-that-turn-a-ticket-into-a-headless-claude-code-session-4aag</guid>
      <description>&lt;p&gt;I hand work to Claude Code through tickets, not a terminal. A 944-line orchestrator with zero dependencies turns each ticket into its own headless Claude Code session, and on 27 September I open-sourced it together with the tracker it works in: &lt;a href="https://github.com/Panth977/ticket-tracker" rel="noopener noreferrer"&gt;ticket-tracker&lt;/a&gt;, MIT.&lt;/p&gt;

&lt;p&gt;I'm Panth, and I lead the software team at Oizom. I dropped out before the AI wave, because I figured the engineering was in solving problems in the real world, and my college made me choose between attendance and real-world applications. This post is about how the orchestrator works and why it is shaped the way it is.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why tickets and not a terminal
&lt;/h2&gt;

&lt;p&gt;I wanted to give my VM work from my phone, while travelling or waiting in a queue, with no laptop. The first version was a terminal in an app. It grew into a room full of agents, and three things went wrong:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;I got attached to one long-running agent, and starting fresh ones was a chore.&lt;/li&gt;
&lt;li&gt;The app was a door into the VM. If someone broke in, I would spend a long time cleaning up.&lt;/li&gt;
&lt;li&gt;When the VM lost internet, I couldn't even queue a prompt.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Tickets fixed all three. Every ticket gets its own session, so there is no single agent to get attached to. The orchestrator runs on the machine and pulls work from the tracker, so nothing has to connect into that machine. The tracker is hosted apart from it, so I can raise tickets while the VM is offline, and my VM and my PC can take work from the same board.&lt;/p&gt;

&lt;h2&gt;
  
  
  The loop
&lt;/h2&gt;

&lt;p&gt;An agent is a board member: a profile, a system prompt and a token that acts as that agent on one board. Assign a ticket to it and move the ticket to To do. From there:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;To do  ──orch claims──▶ In progress ──agent reports "review"──▶ Review ──owner──▶ Done
                            │  ▲
           agent asks a     │  │ the answer (form or a comment) resumes
           question ────────▼  │ the same session
                          waiting
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The orchestrator claims the ticket and starts &lt;code&gt;claude -p&lt;/code&gt; in the repo the workspace points at, with the tracker's MCP tools. The agent reads the ticket and its thread, then publishes its plan as a task list on the ticket and marks each item as it goes.&lt;/p&gt;

&lt;p&gt;When it needs a decision, it calls &lt;code&gt;ask_question&lt;/code&gt;, which puts a form card in the thread, and ends its turn with &lt;code&gt;status: "waiting"&lt;/code&gt;. It does not poll. The answer, or any comment in the thread, starts the next turn with &lt;code&gt;--resume&lt;/code&gt; on the same session, so the agent picks up with its whole history. Moving the ticket back to To do resumes it as rework. Unassigning it, or moving it anywhere else while the agent runs, stops the agent.&lt;/p&gt;

&lt;p&gt;The brief every agent gets says it in two lines:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;You run headless in [the repo] and nobody is watching your terminal. The owner only sees the ticket, so everything you want them to see goes on the ticket.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The orchestrator owns the ticket's state
&lt;/h2&gt;

&lt;p&gt;The agent gets the tracker's MCP tools, minus the ones that decide where the ticket stands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// What only the orch may do: the stage, the heartbeat, the inbox, assignment.&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;DISALLOWED&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;move_ticket&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;update_ticket&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;assign_ticket&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;create_ticket&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;heartbeat&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;get_events&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;ack_events&lt;/span&gt;&lt;span class="dl"&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;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s2"&gt;`mcp__tm__&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;t&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;,&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent does the work and reports &lt;code&gt;review&lt;/code&gt;, &lt;code&gt;waiting&lt;/code&gt; or &lt;code&gt;blocked&lt;/code&gt;. The orchestrator moves the ticket, beats, reads the event inbox and posts the receipt. So a ticket only reaches Review after the orchestrator has seen the agent report it done.&lt;/p&gt;

&lt;p&gt;The receipt is one message per turn with what the turn cost. Claude Code's &lt;code&gt;total_cost_usd&lt;/code&gt; is cumulative across &lt;code&gt;--resume&lt;/code&gt;, so the orchestrator stores the last total and posts the difference. Because the agent pushes the cost of each turn, you can see where the money actually went — which ticket, which turn — instead of one number at the end of the month. One ticket of mine reached $402 over nine runs before the app showed any of it; the full story of that fix is in &lt;a href="https://panth.vardayinitech.in/blog/cost-per-turn-headless-claude-code" rel="noopener noreferrer"&gt;$402 on one ticket&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Health from a heartbeat
&lt;/h2&gt;

&lt;p&gt;The orchestrator beats once a minute while an agent runs, and every fifth beat it re-reads the task list, so the ticket's dot shows progress like &lt;code&gt;3/12 · Running tests&lt;/code&gt;. The board never stores "this agent is dead". It derives health from the last status and the time since the last beat, in one function, recomputed every 15 seconds:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Health&lt;/th&gt;
&lt;th&gt;When&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;working&lt;/td&gt;
&lt;td&gt;state is working and the last beat is under 75 s old&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;stale&lt;/td&gt;
&lt;td&gt;state is working and no beat for 75 s: the orchestrator may have died&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;idle&lt;/td&gt;
&lt;td&gt;waiting for an answer, or stopped&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;done&lt;/td&gt;
&lt;td&gt;finished, ready for review&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;error&lt;/td&gt;
&lt;td&gt;stopped with an error, for example a timeout&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;none&lt;/td&gt;
&lt;td&gt;no status yet&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;75 seconds is one missed beat plus a little slack. Only "working" can go stale: idle, done and error are statements that stay true until the next beat. After five minutes of silence the agent's owner gets one notification per silence.&lt;/p&gt;

&lt;h2&gt;
  
  
  One command layer
&lt;/h2&gt;

&lt;p&gt;The app, the REST API (&lt;code&gt;/v1&lt;/code&gt;, OpenAPI 3.1) and the MCP server (&lt;code&gt;/mcp&lt;/code&gt;) all run the same commands. Nothing an agent can do is different from what a person can do, and every change is attributed, for example "Owner via Claude (MCP)". Tokens are scoped to one board and act either as you or as one of your agents.&lt;/p&gt;

&lt;h2&gt;
  
  
  What running it takes
&lt;/h2&gt;

&lt;p&gt;Everything runs on one Firebase project: Firestore, Functions, Storage, Realtime Database, Auth and Hosting. "Self-hosted" here means your own Firebase project on the Blaze plan, not a Docker image. Locally, &lt;code&gt;pnpm dev&lt;/code&gt; starts the emulators, seeds demo data and serves the app (Node 22, pnpm 9, Java 21 and the Firebase CLI).&lt;/p&gt;

&lt;p&gt;Firebase, because the tracker had to live apart from the machines doing the work: if the VM is offline or the agents are down, I can still raise tickets. From there the app does live reads straight from Firestore, Auth and push come with it, and the orchestrator wakes on a Realtime Database revision stream, so when an agent comes back it picks up where it left off.&lt;/p&gt;

&lt;p&gt;A workspace is a folder with &lt;code&gt;workspace.json&lt;/code&gt; (repo, board, agent, how many agents at once), a &lt;code&gt;.env&lt;/code&gt; with a Worker token for that agent, and &lt;code&gt;brief.md&lt;/code&gt; with the project's rules:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;node workspaces/ws.mjs new myproject &lt;span class="nt"&gt;--repo&lt;/span&gt; ~/src/myproject &lt;span class="nt"&gt;--board&lt;/span&gt; MYP &lt;span class="nt"&gt;--agent&lt;/span&gt; &lt;span class="s2"&gt;"Claude MyProject"&lt;/span&gt;
&lt;span class="c"&gt;# mint a Worker token for that agent in the app (Account › Tokens), put it in workspaces/myproject/.env&lt;/span&gt;
node workspaces/ws.mjs up
node workspaces/ws.mjs status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Agents run unattended in your working tree, with &lt;code&gt;permissionMode&lt;/code&gt; from &lt;code&gt;workspace.json&lt;/code&gt;: &lt;code&gt;acceptEdits&lt;/code&gt; in the template, &lt;code&gt;bypassPermissions&lt;/code&gt; only if you trust the brief and the repo. Read &lt;code&gt;workspaces/lib/brief.md&lt;/code&gt; before you enable one.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is not in it
&lt;/h2&gt;

&lt;p&gt;At work I've written about per-ticket stacks: a branch in every repo, its own services, its own copy of the dev database and a preview URL per ticket. None of that is in this repo. That code is specific to Envizom and proprietary. Here the agent works in the repo you point it at.&lt;/p&gt;

&lt;p&gt;The repo is &lt;a href="https://github.com/Panth977/ticket-tracker" rel="noopener noreferrer"&gt;github.com/Panth977/ticket-tracker&lt;/a&gt;; &lt;code&gt;workspaces/README.md&lt;/code&gt; has the loop.&lt;/p&gt;

&lt;p&gt;If you run Claude Code headless, where does its question go when it needs a decision, and who answers it?&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>ai</category>
      <category>claudecode</category>
    </item>
    <item>
      <title>Replacing Node-RED with a 10 MB browser editor and a start.sh</title>
      <dc:creator>Panth Patel</dc:creator>
      <pubDate>Sun, 25 Oct 2026 13:01:09 +0000</pubDate>
      <link>https://dev.to/panthpatel/replacing-node-red-with-a-10-mb-browser-editor-and-a-startsh-1mh0</link>
      <guid>https://dev.to/panthpatel/replacing-node-red-with-a-10-mb-browser-editor-and-a-startsh-1mh0</guid>
      <description>&lt;p&gt;A client disconnected our server from the internet for security, and the integration for that client still had to be written on it.&lt;/p&gt;

&lt;p&gt;I'm Panth, and I lead the software team at Oizom, where we build Envizom, an air quality platform that many clients run on their own servers. Every one of those deployments needs a bit of custom work: pull data from somewhere, or expose an API in a schema the client gives us for a public display. That work can't go into our production code. This post is about where it lives now: &lt;a href="https://github.com/Panth977/code-shell" rel="noopener noreferrer"&gt;codeshell&lt;/a&gt;, a small browser workspace I built and open-sourced under Apache-2.0.&lt;/p&gt;

&lt;h2&gt;
  
  
  Node-RED first
&lt;/h2&gt;

&lt;p&gt;Node-RED was the default for these integrations before I joined. It is fragile for this kind of work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An async for loop is hard to write.&lt;/li&gt;
&lt;li&gt;Five API calls with something equivalent to &lt;code&gt;Promise.all&lt;/code&gt; is close to rocket science.&lt;/li&gt;
&lt;li&gt;Debugging is the worst part.&lt;/li&gt;
&lt;li&gt;If there is a JavaScript library for the job but no Node-RED node in the marketplace, you spend five hours figuring out how to set the library up.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are short programs. Plain code is the right tool for them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Then one repo per deployment
&lt;/h2&gt;

&lt;p&gt;The next idea: each deployment gets its own codebase, built into one Docker container that holds all of that server's customisations.&lt;/p&gt;

&lt;p&gt;It works until the client disconnects the server from the internet. Then the integration still has to be written, so you open a shell in the container, edit the code with &lt;code&gt;vi&lt;/code&gt;, and hope nobody pulls the latest image before you have copied the same code back into the repo.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I actually needed
&lt;/h2&gt;

&lt;p&gt;A VS Code-like editor in the browser, on the server, with the code directory mounted from outside so it survives a restart. If the code lives in one volume, and the volume is backed up, the integration doesn't need a repo at all.&lt;/p&gt;

&lt;p&gt;VS Code in the browser is heavy for this, because the language servers and compilers run on the server. I looked for a light editor and didn't find one, so I wrote codeshell.&lt;/p&gt;

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

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Part&lt;/th&gt;
&lt;th&gt;What&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;Go, one ~10 MB static binary with the UI embedded. It serves plain files and PTYs. No language servers, no compilers.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;Svelte 5, CodeMirror 6 for the editor, xterm.js for terminals. Syntax modes load per file type.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/code&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The one required volume. Root of the file tree, working directory of every terminal.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/code/start.sh&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Runs on every container start, restart and recreate.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Size&lt;/td&gt;
&lt;td&gt;about 1,750 lines of Go and 3,700 of Svelte and TypeScript&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Running one integration is one container:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="nt"&gt;--name&lt;/span&gt; myapp &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-p&lt;/span&gt; 8080:8080 &lt;span class="nt"&gt;-p&lt;/span&gt; 3000:3000 &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-e&lt;/span&gt; &lt;span class="nv"&gt;CODESHELL_PASSWORD&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;change-me &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-v&lt;/span&gt; myapp-code:/code &lt;span class="nt"&gt;-v&lt;/span&gt; myapp-state:/var/lib/codeshell &lt;span class="se"&gt;\&lt;/span&gt;
  ghcr.io/panth977/code-shell:latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Port 8080 is the editor. Port 3000 is whatever the integration listens on.&lt;/p&gt;

&lt;h2&gt;
  
  
  start.sh is the deploy
&lt;/h2&gt;

&lt;p&gt;Terminals are temporary on purpose. Anything you install or start from a terminal is gone after a restart. What has to come back goes in &lt;code&gt;start.sh&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;&lt;span class="c"&gt;#!/usr/bin/env bash&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt; &lt;span class="nt"&gt;-e&lt;/span&gt;
&lt;span class="nb"&gt;command&lt;/span&gt; &lt;span class="nt"&gt;-v&lt;/span&gt; node &lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;apt-get update &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; apt-get &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-y&lt;/span&gt; nodejs npm&lt;span class="o"&gt;)&lt;/span&gt;
npm ci
&lt;span class="nb"&gt;exec &lt;/span&gt;node index.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The image is Debian slim, so &lt;code&gt;start.sh&lt;/code&gt; can &lt;code&gt;apt-get install&lt;/code&gt; whatever runtime the integration needs. On the first run it installs Node and the modules. On later runs &lt;code&gt;node_modules&lt;/code&gt; is already in the volume, and mounting &lt;code&gt;/root&lt;/code&gt; and &lt;code&gt;/opt&lt;/code&gt; as volumes too keeps package caches and runtimes, so restarts get faster.&lt;/p&gt;

&lt;p&gt;codeshell supervises the script. Its output shows as a &lt;code&gt;start.sh&lt;/code&gt; entry in the terminal panel, next to your own terminals, with Restart and Stop buttons, and its state is in the top bar: running, stopped, exited, waiting or missing. The restart policy is &lt;code&gt;on-failure&lt;/code&gt; by default, and restarts back off from 1 second, doubling, to a cap of 60 seconds. On a fresh volume it writes a commented &lt;code&gt;start.sh&lt;/code&gt; template with a Node and a Python example.&lt;/p&gt;

&lt;p&gt;Terminals keep their scrollback on the server, so a page reload or a dropped connection doesn't lose them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it sits
&lt;/h2&gt;

&lt;p&gt;The other half of our on-premise work is &lt;a href="https://panth.vardayinitech.in/blog/on-prem-manager-docker-deployments" rel="noopener noreferrer"&gt;On-Prem Manager&lt;/a&gt;, which deploys and updates the containers on each client server and snapshots their volumes. With codeshell, a client's integration is one container and one volume. On-Prem Manager can persist that volume's content to its cloud, where it is versioned and reviewed, so the integration needs no repo of its own.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it doesn't try to be
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Single user. One login, an HMAC-signed session cookie, and repeated failed logins from one IP are locked out for longer each time.&lt;/li&gt;
&lt;li&gt;Anyone who signs in has a root shell in the container. Put it behind HTTPS and use a strong password. The password and the session secret are removed from the environment of terminals and &lt;code&gt;start.sh&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;No IntelliSense. It's an editor with syntax highlighting, quick open, split groups, find and replace, and a terminal.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The repo is &lt;a href="https://github.com/Panth977/code-shell" rel="noopener noreferrer"&gt;github.com/Panth977/code-shell&lt;/a&gt;. Images are published for &lt;code&gt;linux/amd64&lt;/code&gt; and &lt;code&gt;linux/arm64&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Where do your per-client integrations live today, and what happens to them when the client's server goes offline?&lt;/p&gt;

</description>
      <category>docker</category>
      <category>go</category>
      <category>devops</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
