Commit Graph

270 Commits

Author SHA1 Message Date
benstull 0ef70a0226 Merge pull request 'F4: propose/accept diff flow — pending proposals, ✓/✗ review, seam-applied acceptance (Feature #12)' (#13) from feat/f4-propose-accept into main 2026-06-11 05:16:23 +00:00
Ben Stull 169abf06c8 F4: document propose/accept — manual smoke, README, playground loop (#12)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:14:13 -07:00
Ben Stull 8fdea97d36 F4 SLICE-5: host E2E (propose/accept/reject/persist/stale/coexist) + seam fix: event-level net-effect matching survives host word-diff splitting (INV-9) (#12)
The accept E2E exposed a latent F3 limitation: VS Code word-diffs one
applied WorkspaceEdit into several minimal hunks when old/new share
interior tokens, so the registry's per-hunk exact match missed and seam
edits fell through as fragmented human spans. PendingEditRegistry.match
is replaced by matchEvent (all hunks inside the registered full range +
equal net delta — one applyEdit is one change event). Plan AMENDMENT 1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:12:15 -07:00
Ben Stull 452c071efb F4 SLICE-4: editSelection is propose-by-default — the turn ends in a proposal, the seam fires on accept (#12)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:05:44 -07:00
Ben Stull 4688ac8bbd F4 SLICE-3: wire ProposalController — contributes, watcher fan-out, propose command, stubs, API (#12)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:05:16 -07:00
Ben Stull 4efd34ffda F4 SLICE-2/3: ProposalController — propose ingress, resolve-or-flag, diff threads, accept/reject via the seam (#12)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:04:19 -07:00
Ben Stull f474684946 F4 SLICE-1: proposalModel helpers — add/remove + fenced-diff body (#12)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:03:20 -07:00
Ben Stull d5beb619aa F4 SLICE-1: anchor prune counts proposal anchorIds (closes store.ts F4 TODO) (#12)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:02:48 -07:00
Ben Stull 652f8619d2 F4 SLICE-1: typed proposals[] on shared anchors/Provenance (spec §6.3, INV-13) (#12)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:02:08 -07:00
Ben Stull debd09fb97 F4: add implementation plan (just-in-time from coauthoring-propose-accept spec §7.2) (#12)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 22:00:42 -07:00
Ben Stull d30ebbbfb8 claim vscode-cowriting-plugin session 0012 (placeholder) + sessions.json entry 2026-06-10 21:53:35 -07:00
Ben Stull 6c2a9a2abb add sessions/0011/SESSION-0011.0-TRANSCRIPT-2026-06-10T21-41--2026-06-10T21-52.md + replace placeholder/variant SESSION-0011.0-TRANSCRIPT-2026-06-10T21-41--INPROGRESS.md 2026-06-10 21:52:53 -07:00
Ben Stull f21a6fd995 claim vscode-cowriting-plugin session 0011 (placeholder) + sessions.json entry 2026-06-10 21:42:00 -07:00
Ben Stull aa0437afd0 add sessions/0010/SESSION-0010.0-TRANSCRIPT-2026-06-10T21-33--2026-06-10T21-40.md + replace placeholder/variant SESSION-0010.0-TRANSCRIPT-2026-06-10T21-33--INPROGRESS.md 2026-06-10 21:40:54 -07:00
Ben Stull ac688c1e48 claim vscode-cowriting-plugin session 0010 (placeholder) + sessions.json entry 2026-06-10 21:33:47 -07:00
Ben Stull bf7a8af95d add sessions/0009/SESSION-0009.0-TRANSCRIPT-2026-06-10T14-30--2026-06-10T14-32.md + replace placeholder/variant SESSION-0009.0-TRANSCRIPT-2026-06-10T14-30--INPROGRESS.md 2026-06-10 14:33:35 -07:00
benstull 4ee2f70ed8 Merge pull request 'Fix #8 follow-up: EDH opens a committed sandbox/ playground (one-folder-one-window collision)' (#11) from fix/edh-sandbox-workspace into main 2026-06-10 21:32:24 +00:00
Ben Stull cdf22214fa Fix #8 (follow-up): point the EDH at a committed sandbox/ playground
${workspaceFolder} as the EDH workspace collides with the dev window (VS
Code one-folder-one-window), so plain F5 still landed folderless — now with
the stub warning instead of 'command not found'. The EDH opens
sandbox/ (committed playground with a guided playground.md) instead; its
.threads/ churn is gitignored; README updated.

Fixes #8.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 14:31:56 -07:00
Ben Stull 650b273cf5 claim vscode-cowriting-plugin session 0009 (placeholder) + sessions.json entry 2026-06-10 14:30:24 -07:00
Ben Stull 02c02ab1d0 add sessions/0008/SESSION-0008.0-TRANSCRIPT-2026-06-10T14-05--2026-06-10T14-28.md + replace placeholder/variant SESSION-0008.0-TRANSCRIPT-2026-06-10T14-05--INPROGRESS.md 2026-06-10 14:29:02 -07:00
benstull 747692a3d9 Merge pull request 'Fix EDH no-workspace command registration (#8) + selection context menus (#9)' (#10) from fix/edh-no-workspace-and-context-menus into main 2026-06-10 21:27:18 +00:00
Ben Stull c0bae8c774 Fix #8: register warning stubs when no workspace folder; F5 opens the repo. Add selection context menus (#9)
- extension.ts: with no folder open, every contributed coauthoring command now
  registers a warning stub ('open a folder first') instead of being absent —
  the palette no longer errors 'command not found'. Opening a folder reloads
  the window and re-activates with a real root.
- .vscode/launch.json: the EDH now opens the repo as its workspace, so plain
  F5 lands in a working state.
- package.json: editor/context menu entries for 'Ask Claude to Edit
  Selection' and 'Add Coauthoring Thread on Selection', shown only when text
  is highlighted in a file-scheme editor (editorHasSelection).
- E2E: second no-workspace pass (suite-no-workspace) pins the #8 regression.

Fixes #8. Fixes #9.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 14:26:59 -07:00
Ben Stull 2c5003ed01 claim vscode-cowriting-plugin session 0008 (placeholder) + sessions.json entry 2026-06-10 14:05:16 -07:00
Ben Stull 8f3074a0be add sessions/0005/SESSION-0005.0-TRANSCRIPT-2026-06-10T07-22--2026-06-10T07-45.md + replace placeholder/variant SESSION-0005.0-TRANSCRIPT-2026-06-10T07-22--INPROGRESS.md 2026-06-10 11:18:46 -07:00
Ben Stull fb869b9bbe add sessions/0007/SESSION-0007.0-TRANSCRIPT-2026-06-10T09-21--2026-06-10T11-14.md + replace placeholder/variant SESSION-0007.0-TRANSCRIPT-2026-06-10T09-21--INPROGRESS.md 2026-06-10 11:15:17 -07:00
benstull 75091202a6 Merge pull request 'F3: live human/Claude attribution on @cline/sdk claude-code (Feature #6)' (#7) from feat/f3-live-attribution into main 2026-06-10 18:11:47 +00:00
Ben Stull 9deb1f7c35 F3: add implementation plan (just-in-time from coauthoring-attribution spec §7.2) (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 11:09:59 -07:00
Ben Stull d85194224f F3 polish: active-editor status bar + E2E for command wrapper and toggle (PUC-5) (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 11:09:04 -07:00
Ben Stull 644e7b77a6 F3: document live attribution + test commands (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 11:01:52 -07:00
Ben Stull 41b1cb4f3b F3 hardening: observable seam misses, cheaper disk-compare, E2E ordering notes (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 11:00:28 -07:00
Ben Stull fc5fde1cc9 F3 SLICE-6: host E2E — type/seam/persist/re-anchor/orphan, no LLM in CI (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 10:50:58 -07:00
Ben Stull 2604ab4925 F3 SLICE-3 host fixes: disk-compare sync detection + self-minimized seam edits (INV-9) (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 10:50:07 -07:00
Ben Stull fe23ffa100 F3 SLICE-5 review fixes: fence-aware replacement extraction + editSelection guards (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 10:35:16 -07:00
Ben Stull 258d1fa914 F3 SLICE-5: correct manual-smoke failure-path doc to observed SDK binary discovery (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 10:27:28 -07:00
Ben Stull c08dc075af F3 SLICE-5: live claude-code turn via applyAgentEdit seam + manual smoke (INV-8) (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 10:25:56 -07:00
Ben Stull 20b709f794 F3 SLICE-3/4 review fixes: counted self-writes, persist deletion-to-empty, render all visible editors (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 10:12:07 -07:00
Ben Stull 4b27acfcae F3 SLICE-4: persistence/re-anchor/orphan decision-logic tests (INV-1/INV-6) (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 10:01:49 -07:00
Ben Stull d05cb0f9d4 F3 SLICE-3: applyAgentEdit seam + live tracking + decorations/toggle (INV-7/INV-9) (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 10:01:03 -07:00
Ben Stull decdfbf31d F3 SLICE-3: pending-edit registry + sidecar section-merge update (INV-9 groundwork) (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 09:51:19 -07:00
Ben Stull 363fd098fc F3 SLICE-2: AttributionTracker span algebra (INV-6/INV-7) (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 09:44:29 -07:00
Ben Stull 4afe97c9a8 F3 SLICE-1: typed attributions[] model (spec §6.3, INV-4) (#6)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 09:43:13 -07:00
Ben Stull 9c7860a776 claim vscode-cowriting-plugin session 0007 (placeholder) + sessions.json entry 2026-06-10 09:21:51 -07:00
Ben Stull f80614e3da add sessions/0006/SESSION-0006.0-TRANSCRIPT-2026-06-10T08-02--2026-06-10T09-15.md + replace placeholder/variant SESSION-0006.0-TRANSCRIPT-2026-06-10T08-02--INPROGRESS.md 2026-06-10 09:16:15 -07:00
Ben Stull 8d406a8bd6 claim vscode-cowriting-plugin session 0006 (placeholder) + sessions.json entry 2026-06-10 08:03:16 -07:00
Ben Stull ea5b411233 claim vscode-cowriting-plugin session 0005 (placeholder) + sessions.json entry 2026-06-10 07:22:25 -07:00
Ben Stull df872c9484 add sessions/0004/SESSION-0004.0-TRANSCRIPT-2026-06-10T06-38--2026-06-10T07-04.md + replace placeholder/variant SESSION-0004.0-TRANSCRIPT-2026-06-10T06-38--INPROGRESS.md 2026-06-10 07:05:15 -07:00
benstull d8e6d4a328 Merge pull request 'F2: region-anchored threads on @cline/sdk (Feature #4)' (#5) from feat/f2-region-anchored-threads into main 2026-06-10 14:01:10 +00:00
Ben Stull 40c118e1a0 F2: document region-anchored threads + test commands (#4)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 06:59:45 -07:00
Ben Stull 4ce6c9da52 F2 SLICE-5: @vscode/test-electron host E2E (create→reload→re-anchor→orphan) (#4)
Drives the extension's returned ThreadController API + asserts the on-disk
sidecar and rendered Comments state (spec §6.8 fallback). All 4 host tests
green against VS Code 1.124.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 06:58:51 -07:00
Ben Stull 2a9c198859 F2 SLICE-4: lock reload/re-anchor/orphan decision logic with unit tests (#4)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 06:53:50 -07:00