2edb66fe4c
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1.6 KiB
1.6 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 Cmd/Ctrl-Alt-D (or run Cowriting: Toggle
Diff View). ✅ A diff opens: the readonly baseline on the left, your live
document on the right; the tab title reads
playground.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 workspace storage, not the repo —
INV-19;
git statusshows nothing new). - Toggle on a file outside the workspace folder. ✅ A warning, no diff.