You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] OpenAPM: a dependency's vscode target must not choose the consumer's MCP destination #3853
area/multi-targetMulti-target deploy spec, target directory creation, agent surface routing.specstatus/acceptedHuman scope approval; verify the issue's approval record and review contact before work.type/featureNew capability, new flag, new primitive.
Proposals are welcome before implementation. For substantive changes, wait
for a responsible human maintainer to approve the scope and identify a review
contact. An automated recommendation, label alone, or silence is not approval.
See Contributing.
Is your feature request related to a problem? Please describe.
After 0.1.61 (proposed), targets: accepts the legacy alias vscode, which is treated as copilot for the req-tg-008 intersection but selects a different MCP configuration destination. The spec does not say that a dependency package's vscode spelling cannot steer where the consuming project writes MCP configuration, and it does not say what a declaration with both vscode and copilot (for example targets: [vscode, copilot]) selects for MCP.
Describe the solution you'd like
State in sec 8.5.3 (or a revised req-tg-008) that in a dependency's declaration vscode is only a restriction token equal to copilot and never selects or changes the consumer's MCP destination, which comes only from the consuming project's active targets. State the MCP outcome for vscode + copilot together (both destinations, or delegate to the Target Registry companion). Verify the reference implementation matches and add a fixture.
Describe alternatives you've considered
Rely on the restriction-only wording of req-tg-008: it covers targets, but an MCP destination is not a target, so the gap remains.
Additional context
Deferred by the apm-spec-guardian review of #3801 (follow-up PR #3851, Appendix D 0.1.61 proposed). Panel items F17, F18.
Decision: approve
Area: project
Scope: Specify and enforce that a dependency's vscode target token is only a restriction equal to copilot and never selects or changes the consuming project's MCP destination, which comes only from the consumer's own active targets; state that a consumer declaring both vscode and copilot writes both MCP destinations; make the reference implementation match through the existing target-decision owner; record it as an OpenAPM amendment row (next free 0.1.x) with a conformance case.
Done when: A dependency declaring targets: [vscode] in a copilot-only consumer writes no .vscode/mcp.json; a consumer declaring [vscode, copilot] writes both destinations; spec sec 8.5.3 or req-tg-008 states both rules; unit, real-binary lifecycle and spec-conformance tests cover them; docs and apm-usage updated; an apm-spec-guardian panel on the PR has no blocking findings.
Out of scope: Making vscode a separate canonical target; the deferred spec items in #3859; MCP shapes for other harnesses.
Review contact: Daniel Meppiel (@danielmeppiel)
Superseded by #3866: the vscode target is being removed in 0.37 (maintainer decision 2026-11-18), so this question no longer arises. #3866 covers replaying old lockfiles that recorded vscode.
area/multi-targetMulti-target deploy spec, target directory creation, agent surface routing.specstatus/acceptedHuman scope approval; verify the issue's approval record and review contact before work.type/featureNew capability, new flag, new primitive.
Activity
fix(spec): fold delta spec-guardian round 2 on 0.1.61 (#3851)
fix(spec): fold delta spec-guardian round 2 on 0.1.61 (#3851)
fix(spec): admit preserved vscode under targets: (OpenAPM 0.1.61 prop…
danielmeppiel commentedon Nov 18, 2026
Decision: approve
Area: project
Scope: Specify and enforce that a dependency's vscode target token is only a restriction equal to copilot and never selects or changes the consuming project's MCP destination, which comes only from the consumer's own active targets; state that a consumer declaring both vscode and copilot writes both MCP destinations; make the reference implementation match through the existing target-decision owner; record it as an OpenAPM amendment row (next free 0.1.x) with a conformance case.
Done when: A dependency declaring targets: [vscode] in a copilot-only consumer writes no .vscode/mcp.json; a consumer declaring [vscode, copilot] writes both destinations; spec sec 8.5.3 or req-tg-008 states both rules; unit, real-binary lifecycle and spec-conformance tests cover them; docs and apm-usage updated; an apm-spec-guardian panel on the PR has no blocking findings.
Out of scope: Making vscode a separate canonical target; the deferred spec items in #3859; MCP shapes for other harnesses.
Review contact: Daniel Meppiel (@danielmeppiel)
danielmeppiel commentedon Nov 18, 2026
Context: Daniel Meppiel (@danielmeppiel) asked for this 0.37 defect to be fixed in 0.37 rather than carried (follow-up of the #3801 spec-guardian review, #3851/#3864).
danielmeppiel commentedon Nov 18, 2026
Superseded by #3866: the vscode target is being removed in 0.37 (maintainer decision 2026-11-18), so this question no longer arises. #3866 covers replaying old lockfiles that recorded vscode.