docs: keep gitceiling.go shareable and say why it is not internal/cli's

main

Commit

Suhaan Thayyil4d ago

Two answers to GIT_CEILING_DIRECTORIES now ship in one binary and they fail in opposite directions. internal/cli's canonicalizes entries through the provider's guarded same-volume walk and refuses to answer when it cannot, because the path it returns is one Git is then run in; this package's stays lexical and leaves the walk unfenced, because its answer only chooses where a guide is written. Unwritten, that reads as duplication to consolidate, which is not available anyway: internal/cli imports internal/agentsetup, the guarded resolver lives on internal/sem, and entire-brain keeps its own copy of internal/agentsetup with no sem at all.

So the note goes in internal/cli/root.go, where the hardened resolver is, and NOT in gitceiling.go. That file is meant to be the 26th byte-identical file in a package two repositories maintain as one copy, and the brain lane has taken it onto entireio/entire-brain#654's branch verbatim. Three comments named Context, OuterRepo and resolveRepo, none of which exist over there; this is their agreed wording, which is true in both repositories and leaves the file identical in both.