Take Your Code Scratchpad Anywhere: Introducing Cloud Sync & AI Git Diffs in Drafts Lab Notes
When we launched Drafts Lab Notes, our mission was straightforward: give developers a private, contextual code scratchpad directly inside VS Code without cluttering repositories with // TODO comments or accidental commits.
The reception has been incredible. Developers loved being able to anchor thoughts to exact lines of code, track line drift automatically, and maintain a separate project scratchpad that never leaves their machine.
However, as developers, our work rarely happens on a single machine. You might start your morning debugging a tricky microservice on your desktop workstation, continue reviewing pull requests on your MacBook on the train, and finish testing inside a remote SSH session or cloud devbox.
Until now, your notes were isolated to a single local machine. Furthermore, when context-switching after a long coding session, summarizing complex unstaged changes into clean, structured notes required manual effort.
Today, we are thrilled to announce Drafts Lab Notes v0.0.5—bringing Cross-Device Cloud Synchronization, 1-Click AI-Powered Git Diff Summarization, and Instant Beta Passkeys.
1. Cross-Device Cloud Synchronization (Private, Seamless & Conflict-Free)
The biggest challenge with code-anchored notes across machines is path resolution and privacy. Your project directory path on macOS might be /Users/jane/dev/payment-service, while on your Windows workstation it is C:\\Users\\jane\\code\\payment-service.
Drafts Lab Notes v0.0.5 solves this elegantly through remote repository scoping and relative path normalization:
Workstation A (macOS) Cloud Proxy & DB Workstation B (Linux / Windows)
┌────────────────────────┐ ┌──────────────────┐ ┌────────────────────────┐
│ VS Code (Local DB) │ │ Serverless Edge │ │ VS Code (Local DB) │
│ - Rel Path Normalizer ├─────────────►│ & Supabase ├──────────────►│ - Rel Path Normalizer │
│ - Millisecond LWW │ HTTPS Sync │ - Auth (Passkey)│ HTTPS Sync │ - Millisecond LWW │
│ - Secret Storage │◄─────────────┤ - Device Quota │◄──────────────┤ - Secret Storage │
└────────────────────────┘ └──────────────────┘ └────────────────────────┘How Cloud Sync Operates
- Zero Repo Pollution Preserved: Your workspace Git tree remains completely pristine. No hidden files, no
.vscodemodifications, and no.gitignorerules. - Remote Git Scoping: Notes are scoped by your repository's remote URL (
git_remote). Whether you clone via HTTPS or SSH, notes find their home across machines automatically. - Relative Path Mapping: Instead of storing absolute filesystem paths, notes anchor to relative file paths within the Git repository root.
- Last-Write-Wins (LWW) Conflict Resolution: Synchronizations track millisecond-precision timestamps (
updated_at). Edits made on one machine seamlessly update on your other devices without merge conflicts. - Automatic Background Sync: Notes automatically synchronize when created, edited, resolved, restored, or when switching Git branches.
2. 1-Click AI-Powered Git Diff Summarization
Have you ever finished a 2-hour coding session, made modifications across 8 different files, and then struggled to write a clean recap of what you actually changed before stepping away?
With AI Git Diff Summarization, Drafts Lab Notes turns your raw working tree into structured, production-ready technical notes with a single click.
┌───────────────────────────────────────────────────────────┐
│ Note Compose Modal │
├───────────────────────────────────────────────────────────┤
│ Title: [Refactored token cache & rate limiter ] │
│ │
│ ┌───────────────────────────────────────────────────────┐ │
│ │ ✨ Summarize Active Diff with AI │ │
│ └───────────────────────────────────────────────────────┘ │
│ │
│ • Key architectural shifts in `src/auth/tokenCache.ts` │
│ • Added exponential backoff retry for network timeouts │
│ • Modified 3 files, +42 lines, -18 lines │
│ │
│ [Cancel] [Save Note] │
└───────────────────────────────────────────────────────────┘Features of the AI Summarizer:
- Deep Architectural Understanding: Powered by Google Gemini AI, it analyses both staged and unstaged changes across your working tree to generate meaningful context—not just a list of modified files, but why those changes matter.
- Offline Fallback Analyzer: On an airplane or behind a strict corporate proxy? The built-in rule-based heuristic analyzer inspects file types and hunk headers to generate a concise structured summary offline.
- VS Code Language Model API Ready: Seamlessly interoperates with
vscode.lmfor native local model execution.
3. Instant Beta Passkey Access
Cloud Sync and AI Diff Summarization are available today as part of the Drafts Lab Notes Beta Program.
We have designed authentication to be completely frictionless. You do not need to create an account, remember passwords, or hand over personal data. Instead, you authenticate with an instant cryptographic Passkey.
How to Get Your Beta Passkey
- Visit the DraftsLab Beta Portal.
- Click Generate Instant Beta Passkey (takes under 2 seconds).
- Copy your passkey (e.g.,
dl-beta-xxxx-xxxx-xxxx). Each passkey grants full access to Cloud Sync across up to 3 concurrent workstations.
# In VS Code:
# Press Cmd+Shift+P (or Ctrl+Shift+P) and run:
Drafts Lab Notes: Sync Notes
# Enter your passkey when prompted!Your passkey is stored securely in VS Code's native SecretStorage (context.secrets), encrypted with your operating system's keychain (macOS Keychain, Windows Credential Manager, or Linux Secret Service).
4. Full-Page Tab View & Remote-Scoped Decorators
Version 0.0.5 also introduces substantial workflow and performance improvements:
- Full-Page Editor Tab (`Drafts Lab Notes: Open as Tab`): When you are conducting code reviews or sprint planning, a narrow sidebar can feel cramped. You can now open your complete notes dashboard in a dedicated full-sized editor tab.
- Remote-Scoped Gutter Annotations: If you work across multiple repositories that share identical paths (e.g.
src/index.tsorREADME.md), gutter decorations and highlights are now strictly scoped to the active remote repository, eliminating false-positive anchors. - Smart Uninstall Lifecycle: Upgrading or moving installations won't wipe your stored preferences or passkeys thanks to smart sibling-version detection during uninstallation hooks.
Getting Started
Drafts Lab Notes is available on both official registries:
- Visual Studio Marketplace: Install directly from the VS Code Marketplace or search
@id:arifur561.drafts-lab-notesin the Extensions tab. - Open VSX Registry: Available on Open VSX for Cursor, Antigravity, VSCodium, and open-source IDEs.
- Beta Portal: Generate your free passkey at draftslab.site/dl-note/beta.
Try out the new Cloud Sync and AI diff features today, and take your code scratchpad anywhere!