Skip to content

O2: Never overwrite a malformed or externally edited settings.json #504

Backlog

Description

@aMonteSl

Part of the overnight IDE epic.

As a user who edits settings.json by hand, I want a change made in the Settings UI to refuse writing when my user settings.json does not parse, and to start from the file on disk, so that a missing comma never wipes the rest of my settings.

Acceptance criteria

  • Updating the user scope while settings.json has a parse error rejects with a clear message and leaves the file untouched
  • The user file is re-read before each write so outside edits are kept
  • Unit test with a malformed file

Hosts

  • Code-XR IDE (apps/ide): required on Windows, macOS and Linux.
  • VS Code extension: no change unless stated above (shared logic, if any, lives in the core so the extension can reuse it).

Generated by Claude Code

Activity

  1. added
    tfm
    user-story
    area: ide
    stream: ide-overnight-polish
    on Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: idestream: ide-overnight-polishtfmuser-story

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions