<?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: 叁則</title>
    <description>The latest articles on DEV Community by 叁則 (@lisanze).</description>
    <link>https://dev.to/lisanze</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3961851%2Fd7c87b56-5841-40b6-87eb-af96f133105e.jpeg</url>
      <title>DEV Community: 叁則</title>
      <link>https://dev.to/lisanze</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lisanze"/>
    <language>en</language>
    <item>
      <title>AI Coding Sessions That Don't Start From Scratch</title>
      <dc:creator>叁則</dc:creator>
      <pubDate>Mon, 01 Jun 2026 02:48:08 +0000</pubDate>
      <link>https://dev.to/lisanze/ai-coding-sessions-that-dont-start-from-scratch-i3d</link>
      <guid>https://dev.to/lisanze/ai-coding-sessions-that-dont-start-from-scratch-i3d</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;For developers who spend 2+ hours daily coding with AI and need sessions that don't start from scratch every time.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  The real problem isn't memory
&lt;/h2&gt;

&lt;p&gt;You've probably set up project-level context for your AI — rules files, system prompts, documentation. And they work for teaching the AI your conventions.&lt;/p&gt;

&lt;p&gt;But there are three problems they don't solve:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Cross-session continuity
&lt;/h3&gt;

&lt;p&gt;You're building a feature with AI. Three hours in, you've split it into 8 tasks and finished 5. Then you close your laptop.&lt;/p&gt;

&lt;p&gt;Next morning, new session, blank slate. You paste yesterday's conversation back in. The AI says "got it" and starts from task 3, silently rewriting task 4's logic along the way.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Scope creep without consent
&lt;/h3&gt;

&lt;p&gt;You ask the AI to fix a button style. It refactors the component structure. You ask it to fix a bug. It "optimizes" a database query. These changes are mixed in with your intended work, and you might not notice.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. No decision trail
&lt;/h3&gt;

&lt;p&gt;Three days later you're looking at the code: why was this designed this way? What alternatives were considered? If you relied on chat history, you'd scroll through dozens of turns. If the session expired, that context is gone forever.&lt;/p&gt;




&lt;h2&gt;
  
  
  What if context lived in your file system?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/evidentloop/sopify" rel="noopener noreferrer"&gt;Sopify&lt;/a&gt; is an open-source workflow layer that injects engineering structure into AI coding sessions. The core idea: &lt;strong&gt;context lives in your file system, not in the AI's memory.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Plan lifecycle
&lt;/h3&gt;

&lt;p&gt;When you start a feature, Sopify generates a structured plan:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.sopify-skills/
├── blueprint/           # Long-term project knowledge
│   ├── background.md
│   ├── design.md
│   └── tasks.md
└── plan/
    └── 20260601_user_auth/
        ├── background.md   # Requirements context
        ├── design.md       # Technical design
        └── tasks.md        # Task checklist with verification criteria
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each task has verifiable completion criteria, explicit dependencies, and status tracking. When complete, plan packages are archived to &lt;code&gt;history/&lt;/code&gt; — you can always look up past design decisions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Checkpoints
&lt;/h3&gt;

&lt;p&gt;At high-risk points (database schema changes, auth logic, breaking API changes), the AI stops and asks for confirmation instead of plowing ahead:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[my-project-ai] Development ?

Task 2.3 involves database schema changes:
  - Add user_sessions table
  - Add last_login_at column to users table

This is a high-risk operation. Continue or revise the plan?

---
Next: Confirm to proceed, or reply with changes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every completed task goes through verification + two-stage review (spec compliance + code quality). "Should be fine" is not evidence.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cross-session resume
&lt;/h3&gt;

&lt;p&gt;Close your session. Open a new one — even switch to a different AI tool. Type &lt;code&gt;~go&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[my-project-ai] Ready ✓

Active plan detected: 20260601_user_auth
Progress: 5/8 tasks completed
Next task: 2.6 Implement session validation in src/auth/middleware.ts

---
Next: Continue? (Y/n)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It knows because task state, plan documents, and project knowledge all live in &lt;code&gt;.sopify-skills/&lt;/code&gt; — committed alongside your code. Switch sessions, switch hosts, switch models. The work continues.&lt;/p&gt;




&lt;h2&gt;
  
  
  Real-world test
&lt;/h2&gt;

&lt;p&gt;Last month I did a 15-milestone refactoring over 20 days. Switched between Claude Code and GitHub Copilot. Interrupted for days at a time. Went off to fix unrelated bugs mid-stream.&lt;/p&gt;

&lt;p&gt;Every milestone was a complete plan package with background, design, and task checklist. Three weeks later I could still look up why a specific route was deleted at milestone P3a — by opening the archived plan file, not by searching chat logs.&lt;/p&gt;




&lt;h2&gt;
  
  
  Who is this for?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Good fit:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You code with AI 2+ hours daily&lt;/li&gt;
&lt;li&gt;You build features that span multiple sessions/days&lt;/li&gt;
&lt;li&gt;You want traceable engineering records for AI-assisted work&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Not a fit:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You occasionally ask AI to write a function&lt;/li&gt;
&lt;li&gt;You don't need structured workflows&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Getting started
&lt;/h2&gt;

&lt;p&gt;Sopify supports Claude Code, GitHub Copilot, and Codex CLI. Works in English and Chinese:&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;# Claude Code&lt;/span&gt;
curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://github.com/evidentloop/sopify/releases/latest/download/install.sh | bash &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="nt"&gt;--&lt;/span&gt; &lt;span class="nt"&gt;--target&lt;/span&gt; claude:en-US

&lt;span class="c"&gt;# GitHub Copilot&lt;/span&gt;
curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://github.com/evidentloop/sopify/releases/latest/download/install.sh | bash &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="nt"&gt;--&lt;/span&gt; &lt;span class="nt"&gt;--target&lt;/span&gt; copilot:en-US

&lt;span class="c"&gt;# Codex CLI&lt;/span&gt;
curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://github.com/evidentloop/sopify/releases/latest/download/install.sh | bash &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="nt"&gt;--&lt;/span&gt; &lt;span class="nt"&gt;--target&lt;/span&gt; codex:en-US
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then type &lt;code&gt;~go&lt;/code&gt; in your AI coding tool. For Chinese, replace &lt;code&gt;:en-US&lt;/code&gt; with &lt;code&gt;:zh-CN&lt;/code&gt;.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/evidentloop/sopify" rel="noopener noreferrer"&gt;evidentloop/sopify&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback via issues is welcome. PRs for new host adapters even more so.&lt;/p&gt;

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