惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
人人都是产品经理
人人都是产品经理
aimingoo的专栏
aimingoo的专栏
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
V
Visual Studio Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
MyScale Blog
MyScale Blog
Hugging Face - Blog
Hugging Face - Blog
宝玉的分享
宝玉的分享
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 叶小钗
博客园 - 聂微东
U
Unit 42
F
Fortinet All Blogs
Microsoft Security Blog
Microsoft Security Blog
GbyAI
GbyAI
IT之家
IT之家
The GitHub Blog
The GitHub Blog
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Your AI coding agent forgets everything between sessions....
massiron · 2026-06-13 · via DEV Community

massiron

You spend 20 minutes rebuilding context every time you open a new Claude Code or Cursor session. The architecture decision from last week? Gone. The task you were halfway through? Lost. The rationale behind that weird except: pass you left as a TODO? Your future self will curse past you.

I built nodestone — a project context memory engine that lives alongside your repo. It remembers decisions, tasks, and architecture drift across AI sessions, regardless of which agent you're using. One command, and your agent picks up exactly where it left off.

How it works in practice

Install:

pip install nodestone

Start a session:

nodestone start "Refactor auth middleware to use JWT"

nodestone creates a compressed context pack (~500 tokens) that captures: active tasks, recent decisions, detected drift between plan and code, and milestone status. Your agent receives this as system context on the next session. Full files stay on disk — only the signal travels.

Concrete example: the drift detector

Say you planned a three-phase refactor but your teammate hotfixed a core module mid-stream. You won't notice until CI breaks. nodestone's drift detection compares actual file changes against your plan:

nodestone plan check
# Output: DRIFT DETECTED: src/auth/jwt.py modified outside planned scope
#         Expected: src/auth/middleware.py, tests/test_auth.py
#         Actual:   src/auth/jwt.py (unplanned), src/auth/middleware.py

It flags the mismatch before you waste hours debugging.

Features you can use today

  • Decision journal — records not just what changed, but why. Every agent sees the rationale.
  • Task tracking — dependencies, PERT durations, critical path analysis. Know which task is blocking everything.
  • OR-Tools CP-SAT scheduler — optimal task ordering with resource constraints. This isn't a toy todo list.
  • Fingerprint handoff — zero-loss context transfer between Claude Code, Cursor, Gemini, or any AI tool that reads from stdin or a file.
  • Trigger system — auto-actions on state changes: webhooks, CLI commands, MCP tool calls.
  • Keystone/milestone model — break projects into mini-phases with clear completion criteria.

Where it falls short (honest trade-offs)

  • Single-user today. Multi-user shared context is on the roadmap but not here yet.
  • Git-centric. It reads git state and file hashes. Non-git projects won't benefit from drift detection.
  • Requires buy-in. Your agent needs to read the context pack. If you switch between agents, you need the same nodestone context command in your session starter.
  • No IDE plugin yet. CLI and MCP tool only for now. Cursor and VS Code extensions are planned.

Why not just use git commit messages?

Git tells you what changed. nodestone tells you why you changed it, what you were about to do next, and whether reality matches the plan. They complement each other — commit messages record history, nodestone maintains forward context.

Why not just use ChatGPT memory?

ChatGPT memory is per-chatbot. nodestone is per-project. It works across Claude, Cursor, Gemini, and any future agent. Your context follows the repo, not the chat window.

nodestone is free and open-source. pip install nodestone — check it out at deepstrain.dev or the GitHub repo.

I'd love to hear what's missing for your workflow. What would make context persistence actually work for your team?