Repository navigation
Allow attaching repositories to cloud sessions without a prompt - #59
Conversation
Cloud sessions working in psc often need a sibling repo (ai-config for lab-rule updates, psw, gha). The auto-mode classifier denied mcp__claude-code-remote__add_repo twice in one session, even after the maintainer asked for it directly, blocking a ready ai-config change. The maintainer asked for this allow rule. It only attaches a repository to the session; pushes and PRs there still go through their own checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VDkNzpZcNucEgL2PYawxJV
|
Claude finished review — View run All relevant CI checks are passing (spellcheck, link-checker, lint, DOIs, chars); the build and this review job are still pending/running, which is expected since this is the review itself. This is a minimal, one-line change to What I checked
No blocking issues found. VerdictReady for merge Structured Review Data (JSON){
"schema_version": "1.1",
"reviewer": "claude",
"commit_sha": "e92e929a103242ffc5ffab5a546b42f02750b4a2",
"verdict": "CLEAN",
"findings": [],
"detailed_assessment": "The single-line addition to .claude/settings.json permissions.allow is valid JSON, correctly placed, and the mcp__claude-code-remote__add_repo tool name is verified against the ai-config memory corpus rather than invented.",
"holistic_assessment": "Scope stays narrow to one permissions entry, matches the documented ask-dialog auto-mode failure pattern, and the PR's own squash-message correction was independently verified against the actual commit text."
}Reviewed commit: e92e929 |
2026-10-27 23:57 UTC |
|
Cross-model review waived: no non-Claude reviewer could run from this session. The reasons were measured earlier today on Morrison-Lab/psc#58:
This merge relies on the following, all on head e92e929:
This PR changes only Posted by Claude Code (AI agent) --- not written by a human. Generated by Claude Code |
Why
Cloud sessions working in psc often need to attach a sibling repository: ai-config for lab-rule updates, or psw or gha. In one session, the auto-mode permission check denied
mcp__claude-code-remote__add_repotwice and blocked a finished ai-config change. The attach succeeded on the third try, after the maintainer asked for it explicitly. The maintainer asked for this allow rule so later sessions don't stall the same way.Note: the commit message says the call was denied "even after the maintainer asked for it directly". That's wrong. It succeeded once the maintainer asked directly; this description is the accurate account. Please use this description as the squash-merge message.
What
Adds
"mcp__claude-code-remote__add_repo"topermissions.allowin.claude/settings.json. This only lets a session attach a repository. Pushing, opening PRs, and merging in that repository still go through their own checks.Verification
.claude/settings.jsonstill parses as valid JSON.Generated by Claude Code