Files
reverse-engineering-anything/docs/getting-started
993c693bc1 fix(setup): read Amp workspace MCP settings (#15102)
* fix(setup): read Amp workspace MCP settings

Amp reads the nearest .amp/settings.json or .amp/settings.jsonc from the
working directory up to the repository root (only the working directory
outside a Git repository), and a workspace amp.mcpServers entry takes
precedence over the user entry with the same name. REA only read
~/.config/amp/settings.json, so doctor and setup judged a registration
Amp does not run and project uninstall left the workspace row in place.

The effective registration reader now admits Amp's workspace layer and
selects one whole server definition per name. Both workspace files in
the same directory are refused, as for the user settings, because Amp
does not document which one wins. Project uninstall includes Amp.

Fixes #15037

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* refactor(setup): share Amp settings names and the existence check

Reuse one existence check for OpenCode's user path and Amp's workspace
walk, name the Amp settings files once, and name the formats whose
effective registration includes project layers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(setup): describe Amp workspace settings selection

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(setup): honor Amp workspace selection and approval scope

* fix(setup): retain Amp launcher repair alongside approval guidance

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-30 01:51:18 +00:00
..