From db5b2810a927bdd57c923247bc9da98f0eb9c18d Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sun, 17 May 2026 00:57:33 +0200 Subject: [PATCH] spec(textarea-editor): handoff after contenteditable rollback Briefs the next brainstorming session with: what we built, the four contenteditable failure modes that made it unshippable, what's still in the repo (Playwright harness, dev-server, original spec/plan as historical reference), the decision pending (CodeMirror 6 vs textarea-overlay), inputs to load, and an explicit "don't restart this cycle" caveat against trying a third contenteditable variant. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../2026-05-17-textarea-editor-handoff.md | 245 ++++++++++++++++++ 1 file changed, 245 insertions(+) create mode 100644 docs/superpowers/specs/2026-05-17-textarea-editor-handoff.md diff --git a/docs/superpowers/specs/2026-05-17-textarea-editor-handoff.md b/docs/superpowers/specs/2026-05-17-textarea-editor-handoff.md new file mode 100644 index 0000000..6b50657 --- /dev/null +++ b/docs/superpowers/specs/2026-05-17-textarea-editor-handoff.md @@ -0,0 +1,245 @@ +# Textarea code editor — handoff after rollback + +> Follow-up artifact after a 35-commit attempt at a syntax-highlighting +> + autocomplete editor (CodeJar + Prism over `contenteditable`) was +> rolled back in commit `f14d352`. This is **not an implementation plan** +> — it's a brief for the next brainstorming session to pick a different +> architecture and produce a new spec. The "Don't restart this cycle" +> note below is load-bearing. + +## Context + +We shipped a 12-task implementation of an in-browser code editor that +upgraded three `