Fix malformed JSON in .claude/settings.json and expand allowlist#723
Merged
Conversation
Remove the trailing comma after the last array element that made the file invalid strict JSON. Add read-only gh CLI permissions to match the gh-based PR/issue workflows documented in CLAUDE.md, and round out the Chrome DevTools MCP allowlist with non-mutating observability tools (screenshots, console/network inspection, snapshots, perf trace). Mutating commands (gh pr create/comment/merge, gh issue create, page interactions like click/fill/type_text) continue to require prompts. Closes #721 Closes #722
prk-Jr
approved these changes
May 20, 2026
ChristianPavilonis
approved these changes
May 20, 2026
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
.claude/settings.json, which made the file invalid strict JSON (python3 -m json.toolrejected it:Illegal trailing comma before end of array: line 28 column 73). The corruption appears to have been introduced by the Claude VS Code extension editing the file.ghCLI permissions so the PR/issue workflows documented in CLAUDE.md stop prompting on every read.click,fill,type_text, etc.) and destructive tools (close_page) to continue prompting.Bash(git show:*)for symmetry with the existing read-only git allowlist.Closes #721
Closes #722
Test plan
python3 -m json.tool .claude/settings.jsonparses without error