Skip to content

Commit 028356a

Browse files
olwangclaude
andcommitted
docs(spec-todo): record rss-fix prerequisite — Fix has no edit payload
P1-2 is larger than first scoped: diagnostic::Fix carries only kind/title/ applicability with no concrete replacement edit, so structured fixes must be retrofitted across all emission sites before `rss fix` can apply anything. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent cf6a2f8 commit 028356a

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

docs/spec-todo.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,16 @@ actual driver (see "Basis" at the bottom).
2828
non-linear position, the short-circuit `&&`/`||` RHS, stays rejected (`RS0411`)
2929
to preserve conditional-evaluation semantics.
3030

31-
- [ ] **Structured-fix tooling + analysis server** (§20.1-D) — _effort: medium–large._
32-
`rss fix` applying machine-applicable structured fixes (the `Fix`/applicability
33-
infrastructure already exists on diagnostics), and a language/analysis server
34-
streaming diagnostics + fixes (build on the existing `lsp` crate). Biggest
35-
dev-experience multiplier; helps every user and the port edit→check loop.
36-
`rss fix` is the bounded sub-part; the full LSP is the larger half.
31+
- [ ] **Structured-fix tooling + analysis server** (§20.1-D) — _effort: large._
32+
`rss fix` applying machine-applicable structured fixes, and a language/analysis
33+
server streaming diagnostics + fixes (build on the existing `lsp` crate).
34+
**Prerequisite (found 2026-06-15):** `diagnostic::Fix` today carries only
35+
`kind`/`title`/`applicability`*no concrete edit payload* (no replacement span
36+
+ text). Before `rss fix` can apply anything, `Fix` needs a structured edit
37+
representation and every fix-emitting site must populate it. That retrofit is
38+
the bulk of the work; the CLI/LSP plumbing is comparatively small. Not a bounded
39+
add — take as its own focused effort. Biggest dev-experience multiplier once
40+
landed.
3741

3842
- [ ] **FFI / native-ABI adapter contracts** (§3.2 general FFI, §20.1-N) —
3943
_effort: medium–large, open-ended._

0 commit comments

Comments
 (0)