Permission prompt confirmation shows basename only, ambiguous for same-named files in different folders
Problem
When Claude proposes creating a file, the permission dialog shows the full path at the top, followed by the proposed file contents, and then the confirmation question at the bottom:
Create file .claude/plans/dpc-585-repair-stale-loan-totals.md
... many lines of proposed file contents ...
Do you want to create dpc-585-repair-stale-loan-totals.md?
For a long file (a multi-page plan document, for example), the contents scroll the header off screen. What remains visible is only the tail of the contents and the confirmation question, which shows the basename only.
This is ambiguous when two directories hold files with the same slug-based basenames. In my workflow, .claude/plans/dpc-585-repair-stale-loan-totals.md and .claude/gauntlets/dpc-585-repair-stale-loan-totals.md are different kinds of documents, and from the bottom-of-dialog question alone I cannot tell which one I am approving without scrolling back up past the entire proposed contents.
Request
Show the repo-relative path (or at least the parent directory plus basename) in the confirmation question:
Do you want to create .claude/plans/dpc-585-repair-stale-loan-totals.md?
The same applies to the Edit/Update variants of the prompt.
Environment
- Claude Code CLI on macOS (darwin), terminal UI
- Observed across many versions; current as of July 2026