Home › Claude AI › claudearchitect › claudeai_code › Why paste the directory tree before a refactor t…
Why paste the directory tree before a refactor task?
AIt lowers cost
BIt improves output streaming speed
CIt hardens against jailbreaks
DIt stops Claude inventing file paths that do not exist
Answer & Solution
Correct answer: D. It stops Claude inventing file paths that do not exist
Pinning the file map grounds Claude in the actual project layout so he refers to real files instead of plausible-sounding fakes.
Related questions