The Wire · Showcase
GOPLS TIGHTENS PROTOCOL TYPES AS EXP ADDS TRAJECTORY UTILITIES
By RepoJournal · Filed · About Go
gopls just locked down its LSP protocol with stronger enum typing, while the experimental track opens a new eval/trajectory module for advanced analysis workflows.
gopls/internal/protocol shipped a string enum type for field kinds [1], closing out a spec review comment and aligning with vscode-go's parallel work. This is the kind of incremental protocol hardening that prevents subtle marshaling bugs down the road. Meanwhile, golang/exp landed the ATIF utility module [2] under eval/trajectory, setting up infrastructure for trajectory-based evaluation and analysis. The two moves sit on different vectors but both signal deliberate foundation-building: gopls is tightening its contract with IDEs, while exp is establishing patterns for the next generation of analysis tooling. Neither breaks existing code, but both matter if you're shipping LSP extensions or building analysis layers on top of Go.
Action items
- → Review the new gopls enum types if you maintain LSP extensions golang/tools [monitor]
- → Watch eval/trajectory in exp for analysis use cases golang/exp [monitor]
References
- [1] gopls/internal/protocol: define enum string type for field kinds golang/tools
- [2] eval/trajectory/atif: initialize module and add ATIF utility types golang/exp