Context
Follow-up deferred from the apm-review-panel on #1880 (python-architect lens).
#1880 adds registered---ref propagation logic inline in resolve_marketplace_plugin (GitHub canonical #ref suffix; GitLab DependencyReference injection; main/HEAD exclusion guards; dict-source non-overwrite guard). The logic is correct and tested, but the ref-resolution concern is now spread across the resolver and would read more clearly extracted into a shared, independently-testable helper.
Why deferred (not folded into #1880)
Architectural refactor beyond bug-fix scope. Tracked here so the panel verdict on #1880 carries no loose follow-up.
Suggested scope
- Extract the ref-propagation/exclusion/non-overwrite logic into a small shared utility used by both GitHub-family and GitLab paths.
- Behavior-preserving; the existing
TestMarketplaceRegisteredRefPropagation suite should pass unchanged.
Source: panel recommendation on #1880
Context
Follow-up deferred from the apm-review-panel on #1880 (python-architect lens).
#1880 adds registered-
--refpropagation logic inline inresolve_marketplace_plugin(GitHub canonical#refsuffix; GitLabDependencyReferenceinjection;main/HEADexclusion guards; dict-source non-overwrite guard). The logic is correct and tested, but the ref-resolution concern is now spread across the resolver and would read more clearly extracted into a shared, independently-testable helper.Why deferred (not folded into #1880)
Architectural refactor beyond bug-fix scope. Tracked here so the panel verdict on #1880 carries no loose follow-up.
Suggested scope
TestMarketplaceRegisteredRefPropagationsuite should pass unchanged.Source: panel recommendation on #1880