fix: let Git checkout installs build updates again when the candidate sits inside the installed checkout (#201629)

* fix(build): keep declaration builds inside a checkout nested in another install

The command-line declaration pass reads the real filesystem, so openai's
relative undici probes climb out of an update's preflight worktree into the
installed checkout's node_modules and the build refuses with
"Declaration input escapes checkout". When the pass read any path outside
the checkout, redo the compile behind the bounded API filesystem, which treats
outside paths as absent. In-checkout links that escape still fail.

* fix(build): bound the declaration fallback for every caller and line-break roots

The API fallback now always applies the checkout boundary, even when the
caller supplies no input policy. A checkout path containing a line break
cannot be framed in --listFiles output, so it uses the bounded compile
directly instead of a regex split that could hide an outside read.