Repository navigation
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Technical Review & Findings1. Scope Leak on Failed Local Discovery (
|
|
@greptileai review |
[High impact] The reviewed changes appear safe to merge; no new actionable issue remains. SummaryAdds private Claude Code project registrations while keeping setup and uninstall in user scope by default.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
CLI["Setup, doctor or uninstall"] --> Project["Resolve physical project and Git metadata"]
Project --> Profile["Read configured Claude profile"]
Profile --> Mode{"Requested operation"}
Mode -->|Doctor| Effective["Select local REA entry, otherwise user entry"]
Effective --> Status["Report registration, policy and project context"]
Mode -->|Local setup or uninstall| Exact["Select exact project server table"]
Exact --> Checks["Check policy, ownership and write safety"]
Checks --> Backup["Preserve backup"]
Backup --> Write["Write selected entry"]
Write --> Readback{"Readback matches?"}
Readback -->|Yes| Done["Complete"]
Readback -->|No| Restore["Restore original profile"]
Reviews (8) · Last reviewed commit: "fix(setup): address project scope review..." · Reviewed by Greptile |
|
TL;DR: The private project registration works on Node 22, 24 and 26. Setup writes only the chosen project, and uninstall removes only that entry. I did not run Edit: I reran the edge cases on the new head 5d0264e, here. The conflict note below no longer applies. I tested head aa2e7c2 as pushed. GitHub says it conflicts with main b7dcf78. I used the writer and status code directly, with a throwaway home folder for each run. Results
Before and after (Node 24.18.0)Each run starts from the same
Status read stale on both builds. My fixture command was Not run
Thanks, dev-zaib, for the PR and its clear notes. Test setupCommandsThe script calls 🤖 Generated with Claude Code (Sonnet 5.5, verified by Opus 5.5) 🦊 |
|
@morluto, pushed 5d0264e and would appreciate another review. This merges main at 70cd4cb and resolves the nine conflicted files while retaining the newer source-layer, ZCode fallback, timeout and provider-budget behavior. I reviewed matbrgz's findings and CassieFox23's verification report:
The merge also exposed a new version-drift message that would direct a local registration into user setup. The remediation owner now retains local scope, and disabled entries retain their /mcp guidance. Added both regressions. No related ownership cleanup remains. Validation on this revision (Windows, Node 24.18.0/npm 11.16.0):
Thank you for the Linux multi-version verification and the earlier inline fixes. |
|
I reran my check on head 5d0264e. GitHub now shows no conflicts, so my old conflict note no longer applies.
Still not run
Test setup
🤖 Generated with Claude Code (Sonnet 5.5, verified by Opus 5.5) 🦊 |
|
The branch has drifted into conflicts with current Eight files union cleanly. The registrations/catalog layer ( Two files are re-fit work, not text merges. I verified the union through |
|
@dev-zaib thanks for the PR — this branch has merge conflicts with |
Closes #2187.
Claude Code setup currently registers REA for every project.
rea setup --client claude_code --scope local [--project DIR]now writes only the selected private project registration. Its plan identifies the project and profile, and local setup skips personal skills and Hopper. Setup and uninstall retain their user-scope defaults.Doctor checks the current project's effective registration, supports
--project DIR, and reports source scope and project context.rea uninstall --scope local [--project DIR]removes only the owned entry in that project, preserving peer servers, user registrations, other projects, personal skills and shared data. Writes reuse backups, readback verification and rollback.The parser selects local data before interpreting unrelated global tables. Physical Git roots and worktree metadata select the project; exact native Windows keys preserve inactive aliases. Unresolved project identity fails explicitly. Shared
.mcp.jsonand managed-policy registrations are outside this change.Latest update: 5d0264e merges main 70cd4cb, resolves integration conflicts, rejects empty local client selection and preserves local guidance for package-version drift. The review response explains the findings, fixes and native evidence for retaining exact drive casing and Git pointer paths.
Validation on the latest revision (Windows, Node 24.18.0/npm 11.16.0):
The full suite, full package verifiers, authenticated Claude model use and Linux/macOS verification were not run for this revision. Earlier OCR reviews ran; further OCR remains skipped at the user's request after the configured account returned HTTP 402. No personal Claude profile was edited during verification.