<?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: LM web lab</title>
    <description>The latest articles on DEV Community by LM web lab (@lm_weblab_d3597a4313589a).</description>
    <link>https://dev.to/lm_weblab_d3597a4313589a</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%2F4260390%2F038616f5-61fb-46f8-a39d-e3a424fed51e.png</url>
      <title>DEV Community: LM web lab</title>
      <link>https://dev.to/lm_weblab_d3597a4313589a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lm_weblab_d3597a4313589a"/>
    <language>en</language>
    <item>
      <title>Running several Claude Code sessions on one site without git: a shared log that also tracks what's uploaded</title>
      <dc:creator>LM web lab</dc:creator>
      <pubDate>Mon, 23 Nov 2026 10:50:44 +0000</pubDate>
      <link>https://dev.to/lm_weblab_d3597a4313589a/running-several-claude-code-sessions-on-one-site-without-git-a-shared-log-that-also-tracks-whats-282c</link>
      <guid>https://dev.to/lm_weblab_d3597a4313589a/running-several-claude-code-sessions-on-one-site-without-git-a-shared-log-that-also-tracks-whats-282c</guid>
      <description>&lt;p&gt;Most advice about parallel Claude Code sessions starts with "use git worktrees". That's good advice if you use git. A lot of people who build sites with Claude don't: they keep a folder on their laptop, open several chats on it, and upload the files by hand.&lt;/p&gt;

&lt;p&gt;That's my setup, across seven internal web apps for a small company. Two problems come with it.&lt;/p&gt;

&lt;p&gt;The first is overwrites. Session A edits &lt;code&gt;style.css&lt;/code&gt;. Session B read &lt;code&gt;style.css&lt;/code&gt; an hour ago and writes its old copy back with a shell command (&lt;code&gt;cp&lt;/code&gt;, &lt;code&gt;cat &amp;gt;&lt;/code&gt;, a script). A's work is gone without any error, so nothing tells you it happened. Claude Code's own Edit and Write tools catch a stale copy; shell commands don't.&lt;/p&gt;

&lt;p&gt;The second is deploy state. After a day with several chats, which files have changed since the last upload? File dates lie (a chat touched a file and reverted it), and each chat only remembers its own work.&lt;/p&gt;

&lt;h3&gt;
  
  
  What fixed it
&lt;/h3&gt;

&lt;p&gt;A plain text log in the project. Every session reads the newest entries before editing and adds its own when it's done:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## 2026-03-14 16:20 — Contact form: phone number field
&lt;/span&gt;&lt;span class="k"&gt;- &lt;/span&gt;Session: contact form
&lt;span class="k"&gt;- &lt;/span&gt;Version: 2.3.8
&lt;span class="k"&gt;- &lt;/span&gt;Files: contact.php, js/form.js, inc/version.php
&lt;span class="k"&gt;- &lt;/span&gt;What changes: the contact form asks for a phone number (optional)
&lt;span class="k"&gt;- &lt;/span&gt;After upload: nothing
&lt;span class="k"&gt;- &lt;/span&gt;Uploaded: no
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And a short block of rules in &lt;code&gt;CLAUDE.md&lt;/code&gt;. Re-read a file right before editing it, even if you read it earlier. Change files only with targeted edits, never by rewriting the whole file or copying a backup over it. Bump the version on every change, so browsers reload the CSS and JS. Don't tidy up changes you didn't make; they're another session's work in progress.&lt;/p&gt;

&lt;p&gt;With that in place, "what do I have to upload?" has an exact answer: every entry still marked &lt;code&gt;Uploaded: no&lt;/code&gt;, from any session, each file once. "I uploaded it" flips them to &lt;code&gt;yes (date)&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Things that only showed up in testing
&lt;/h3&gt;

&lt;p&gt;The log needs a starting entry that lists the whole site as not uploaded. Otherwise the first chat you ask says "nothing to upload", because the log is empty, while the server is months behind.&lt;/p&gt;

&lt;p&gt;Partial uploads need their own status. If you upload everything except &lt;code&gt;main.js&lt;/code&gt;, marking the entries as uploaded loses &lt;code&gt;main.js&lt;/code&gt; from the next list; leaving them as not uploaded makes you re-upload everything. The skill now writes &lt;code&gt;partly (date), still to upload: main.js&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;If you've always dragged the whole folder to the server, your &lt;code&gt;.env&lt;/code&gt; file is probably already online, and maybe downloadable. Setup now says so. If the site reads that file, you check whether it opens in a browser and block it, because deleting it would break the site. If nothing reads it, you delete it. Then you change every key that could be downloaded.&lt;/p&gt;

&lt;h3&gt;
  
  
  The skill
&lt;/h3&gt;

&lt;p&gt;I packaged all of this as a Claude skill and Claude Code plugin, MIT licensed: &lt;a href="https://github.com/lmweblab/claude-code-parallel-sessions" rel="noopener noreferrer"&gt;https://github.com/lmweblab/claude-code-parallel-sessions&lt;/a&gt;. You tell Claude you keep several chats open on the project, and it asks how you upload, finds your version number, builds the never-upload list and writes the two files.&lt;/p&gt;

&lt;p&gt;It's a set of rules, not a lock. Two sessions editing the same file in the same few seconds can still collide. The rules make stale copies and forgotten uploads rarer; they don't make them impossible.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written with AI assistance (Claude), which also helped test the skill.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>claudecode</category>
      <category>claude</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
