Fetching context from adjacent repositories in the same GitLab Group #3132
|
Hello PR-Agent team and community, |
Replies: 1 comment
|
There is no cross-repository context today, and nothing in the configuration can enable it. Repo context resolves files through the provider bound to the merge request, and the GitLab implementation is scoped to that single project, reading only paths relative to its own tree, so The practical workaround is to vendor the interface you want reviewed against, an API summary or type stubs rather than the whole library, into the consuming repository and list that file in I have opened #3299 to track this properly, with the credential and scoping questions written up. Please follow that issue for progress. Closing this thread in favour of it so the work lives in one place. |
There is no cross-repository context today, and nothing in the configuration can enable it. Repo context resolves files through the provider bound to the merge request, and the GitLab implementation is scoped to that single project, reading only paths relative to its own tree, so
repo_context_filescannot reach a sibling project. The one tool that ever cloned an arbitrary repository was/help_docs, and it has been disabled since v0.36.1 as mitigation for a credential-exposure vulnerability, so any design here has to avoid that shape. Agent Skills are host-level filesystem paths, useful for sharing written guidance across your group but not for pulling a neighbouring repository's source.T…