You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 93ca589
Browse filesBrowse the repository at this point in the historyBrowse files
lucky-216
committed
refactor!: collapse the per-tool pointer formatters; drop windsurf
Six Go types — claudeFormatter, cursorFormatter, copilotFormatter,
agentsFormatter, devinFormatter, clineFormatter — existed to write the
same content under six filenames, because each IDE has its own "file I
always read" convention. The bodies they produced differed by six lines:
the filename in the heading, the two `#` banner lines some formats want,
and one phrase naming the audience. Everything else came from the same
RenderPointer call.
They are one table-driven pointerFormatter now. Each tool keeps its
legacy full-inline renderer as a plain function, because those do
genuinely differ — Claude inlines whole skill bodies, Cline emits
REQUIRE/REJECT/ALLOW lines, Devin something else again. Only the pointer
half was duplication, and only the pointer half was collapsed.
universalFormatter stays its own type: SECURITY-SKILLS.md is not a
pointer, it is the single-file human reference that inlines every skill
body on purpose.
Drop windsurf entirely — the formatter, the renderer, the Registry
entry, the --tool value, and dist/.windsurfrules. Cognition folded the
Windsurf editor into Devin Desktop on 2026-06-02, so the target named a
product that no longer ships. Its users are covered by the devin surface,
and by native skills regardless.
Formatter code 448 -> 379 lines; Registry 9 -> 8 entries; AllTools 8 -> 7.
TestWriteAllRegeneratesAllEightFiles is renamed and now asserts seven
reports and that .windsurfrules is not generated, so the surface cannot
quietly come back.
BREAKING CHANGE: `--tool windsurf` is no longer accepted.
0 commit comments