claude-code - 💡(How to fix) Fix [BUG] Ultraplan CCR session fails to read tracked files — path resolution mismatch in cloud environment [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47812Fetched 2026-04-15 06:41:36
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×4cross-referenced ×1

Error Message

Error Messages/Logs

  1. The cloud planning agent fails to read the file with the error above The error path /home/user/navsim/... suggests the CCR environment may have cloned the repo into /home/user/ but the model is not prefixing the repo directory name when constructing file paths, or the repo contents were extracted at the wrong level.

Code Example

Read /home/user/navsim/planning/script/config/common/agent/SafeDrive_2stage_GeoBEV_newbase_motionAnchorCls.yaml
File does not exist. Note: your current working directory is /home/user.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When running /ultraplan from a clean, fully-pushed git repository, the CCR cloud session fails to read files that verifiably exist on the remote branch. The planning agent attempts to access a file at /home/user/navsim/planning/script/config/common/agent/SafeDrive_2stage_GeoBEV_newbase_motionAnchorCls.yaml but reports "File does not exist", with the working directory shown as /home/user. All of the following have been confirmed locally:

git rev-parse --show-toplevel correctly returns the repo root git status shows clean working tree, up to date with origin/main git ls-files confirms the file is tracked git log origin/main confirms the file exists on the remote git check-ignore confirms the file is not gitignored No submodules are involved (.gitmodules does not exist) The file is visible on GitHub web UI

The repo root is correct, there are no nested or ancestor git repos, and the file is present on the remote — yet the CCR session cannot access it.

What Should Happen?

The CCR cloud session should correctly clone the repository and resolve file paths so that all git-tracked files are readable by the planning agent.

Error Messages/Logs

Read /home/user/navsim/planning/script/config/common/agent/SafeDrive_2stage_GeoBEV_newbase_motionAnchorCls.yaml
File does not exist. Note: your current working directory is /home/user.

Steps to Reproduce

Steps to Reproduce

  1. Have a GitHub-hosted repository with files committed and pushed to origin/main

  2. Confirm the repo is clean and in sync: ''' $ git rev-parse --show-toplevel /home/jiyong/Jiyong/navsim_e2e/safedrive_adr

    $ git branch --show-current main

    $ git status On branch main Your branch is up to date with 'origin/main'. nothing to commit, working tree clean

    $ git log origin/main..HEAD --oneline (empty) '''

  3. Confirm the target file is tracked and present on the remote: ''' $ git ls-files navsim/planning/script/config/common/agent/SafeDrive_2stage_GeoBEV_newbase_motionAnchorCls.yaml navsim/planning/script/config/common/agent/SafeDrive_2stage_GeoBEV_newbase_motionAnchorCls.yaml

    $ git log origin/main --oneline -1 -- navsim/planning/script/config/common/agent/SafeDrive_2stage_GeoBEV_newbase_motionAnchorCls.yaml 865c587 Update yaml

    $ git check-ignore -v navsim/planning/script/config/common/agent/SafeDrive_2stage_GeoBEV_newbase_motionAnchorCls.yaml (empty — not ignored) '''

  4. Confirm no submodules: ''' $ cat .gitmodules cat: .gitmodules: No such file or directory

    $ git submodule status (empty) '''

  5. Confirm the file is visible on GitHub web UI

  6. Run /ultraplan <prompt> from the repo root

  7. The cloud planning agent fails to read the file with the error above

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.107

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

Repo type: Private, GitHub-hosted No nested git repos: No .git directory exists in any ancestor path above the repo root No submodules

The error path /home/user/navsim/... suggests the CCR environment may have cloned the repo into /home/user/ but the model is not prefixing the repo directory name when constructing file paths, or the repo contents were extracted at the wrong level. Possibly related issues:

#44643 — Remote session (ultraplan) receives wrong project context #44815 — /ultraplan always routes to wrong workspace, plan agent gets no context #46302 — /ultraplan attaches to ancestor git repository, ignoring nested repo in CWD

This issue differs from the above: the git repo root is correctly identified, there are no nested/ancestor repos involved, and the file is confirmed on the remote. The problem appears to be specifically in how the CCR environment resolves file paths after cloning. Ultraplan session URL: https://claude.ai/code/session_01E2Y1s1kmRBdicCx8e78s8A

extent analysis

TL;DR

The CCR cloud session likely fails to read files due to incorrect file path resolution after cloning the repository.

Guidance

  • Verify that the CCR environment correctly clones the repository into a directory with the same name as the repository, and that the planning agent is using the correct path.
  • Check if the navsim directory is being cloned into /home/user/ instead of /home/user/navsim, which could cause the file path mismatch.
  • Investigate the possibility that the CCR environment is not prefixing the repository directory name when constructing file paths, as suggested by the error message.
  • Review the related issues (#44643, #44815, #46302) to see if they provide any insight into the file path resolution issue.

Example

No code snippet is provided as the issue seems to be related to the CCR environment's file path resolution.

Notes

The issue seems to be specific to the CCR environment's handling of file paths after cloning the repository. The provided information suggests that the repository is correctly cloned, but the file paths are not being resolved correctly.

Recommendation

Apply a workaround to modify the file paths used by the planning agent to include the repository directory name, if possible. This could involve updating the ultraplan command or the planning agent's configuration to use the correct file paths.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Ultraplan CCR session fails to read tracked files — path resolution mismatch in cloud environment [1 participants]