Resolve all cspell lints#210
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add project-specific terms to the .cspell.json dictionary, extend the unicode escape ignore patterns, and add inline cspell disable/ignore directives to files containing intentional non-dictionary terms. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rename flagged abbreviations to full words so cspell passes without new dictionary entries: assocs->associations in PreferencesContent, and the sdir/toolopts/Sess/rootmarker abbreviations in the test suite. Also trims trailing whitespace in PreferencesContent. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Restore the elided "Parameters" key in the sample output so cspell does not flag the truncated "Paramet". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to eliminate repository-wide cspell spell-check lints by updating the cspell configuration, adding targeted inline ignore/disable directives in content-heavy files, and renaming a few abbreviated identifiers (mostly in tests) to more dictionary-friendly forms.
Changes:
- Expanded
.cspell.jsonwith additional project-specific dictionary words and broadened ignore regexes for escape sequences. - Added inline
cspelldirectives to docs/specs/notes and a few Wolfram Language/test files to suppress intentional non-dictionary tokens. - Renamed a handful of abbreviated identifiers and test temp-file/session naming strings to avoid spell-check flags, plus minor whitespace/comment formatting tweaks.
Reviewed changes
Copilot reviewed 21 out of 22 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| TODO/more-mcp-clients.md | Adds inline cspell ignore directive for client names/terms. |
| Tests/Tools.wlt | Adds cspell ignore for a token and re-syncs TestID line references. |
| Tests/ToolOptions.wlt | Renames temp config filename fragments (toolopts → toolOpts). |
| Tests/StartMCPServer.wlt | Renames root marker filenames and updates related checks and TestIDs. |
| Tests/EvaluatorSessions.wlt | Renames temp dir/session IDs and a local var (sdir → sDir) for readability/spell-check. |
| Tests/CreateMCPServer.wlt | Adds cspell ignore for a tool name and re-syncs TestID line references. |
| Specs/MCPApps.md | Adds inline cspell ignore directive for embedded/base64-related token. |
| Notes/generating-scripts-from-tools.md | Fixes a truncated sample-output token (Paramet → Parameters). |
| Kernel/Tools/PacletTools/SubmitPaclet.wl | Adds cspell ignore for an intentional auth keyword prefix token. |
| Kernel/PreferencesContent.wl | Renames assocs → associations and performs whitespace/comment formatting cleanup. |
| FrontEnd/Assets/AgentTools.wl | Disables cspell for a FrontEnd string asset file. |
| docs/mcp-clients.md | Adds inline cspell ignore directive for client/tooling terms. |
| client-research/windsurf.md | Adds inline cspell ignore directive for a proper noun. |
| client-research/pi.md | Adds inline cspell ignore directive for names/handles/terms. |
| client-research/msty.md | Adds inline cspell ignore directive for a client name. |
| client-research/junie.md | Adds inline cspell ignore directive for names/terms. |
| client-research/goose.md | Adds inline cspell ignore directive for org/tooling terms. |
| client-research/continue.md | Adds inline cspell ignore directive for a client identifier. |
| client-research/cherry-studio.md | Adds inline cspell ignore directive for a storage engine term. |
| client-research/5ire.md | Adds inline cspell ignore directive for handle/term. |
| .gitignore | Ignores a private scratch directory (ignore/). |
| .cspell.json | Adds dictionary words, notebook ignore paths, and broader escape-sequence ignore regexes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves all outstanding cspell spell-check lints across the repository. Fixes are applied via the least-intrusive mechanism per case:
AgentTools,Chatbook,paclet,wolframscript,Sourcegraph) to the.cspell.jsonword list, and broadened the unicode-escape ignore regexes to cover uppercase hex and\uXXXXforms.cspelldirectives — addedcspell: disable/ignorecomments to files containing intentional non-dictionary terms that don't belong in the global dictionary (docs, specs, notes, allclient-research/*.md, a FrontEnd string asset,SubmitPaclet.wl, and two test files).assocs→associationsinPreferencesContent.wl, andsdir→sDir,toolopts→toolOpts,Sess→Session,rootmarker→RootMarkerin the test suite. These are functionally equivalent (session IDs and temp file/dir names are arbitrary).Parameterskey in a sample output inNotes/generating-scripts-from-tools.mdso cspell no longer flagsParamet.Also adds
ignore/to.gitignore(private scratch dir) as unrelated housekeeping.Notes
TestIDstrings; that accounts for the larger-than-expected line counts in the test files.PreferencesContent.wlis a pure variable rename plus trailing-whitespace cleanup.Commits
Test plan
cspellreports no lints across the repo🤖 Generated with Claude Code