5897fb7b26
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1.9 KiB
1.9 KiB
Manual smoke — F6 diff-view toggle (live)
Pre-req: a real machine (not CI). Step 4 uses a live Claude turn — Claude Code
installed + signed in (the claude-code provider rides that login, INV-8). The
rest of F6 needs no credentials and no network.
npm run build, launch the extension (F5 in VS Code opens the committedsandbox/playground), openplayground.md.- Edit a sentence by hand, then
Ctrl+Alt+D(same chord on macOS — notCmd; or run Cowriting: Toggle Diff View). ✅ A diff opens: the readonly baseline on the left, your live document on the right; the tab title readsplayground.md — my changes since opened <time>. Your hand edit shows as a change. - Keep typing in the diff's right pane. ✅ Editing continues in place; decorations/threads still work. Toggle again. ✅ The diff tab closes and the normal editor is back.
- Select a sentence → right-click → Ask Claude to Edit Selection → give an instruction → ✓ Accept Proposal. Now toggle the diff. ✅ The accepted text is not shown as a change (the baseline advanced past the landing — INV-18); only your own subsequent edits show.
- Run Cowriting: Pin Diff Baseline to Now. ✅ The diff empties (baseline =
now); the title reads
pinned <time>. Type → your changes show against the pin. - Reload the window (Developer: Reload Window). ✅ Toggle: the baseline is the
same as before the reload (persisted in global extension storage, not the
repo — INV-19;
git statusshows nothing new). - Any file (#19): open a file from outside the
sandbox/folder, or a new untitled buffer (Cmd/Ctrl+N), edit it, andCtrl+Alt+D. ✅ The diff opens there too — untitled buffers show(unsaved)in the title and diff in-memory. Toggle with focus on a non-editor (e.g. the terminal) → warning.