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
[BUG] apm mcp install exits 0 when the forwarded install fails, such as on a policy denial #3666
area/cliCLI command surface, flags, help text (cross-cutting).area/mcp-configMCP server configuration depth, transports, variable resolution.pillar/governPillar: policy, trust, audit and supply-chain integritytype/bugSomething does not work as documented.
apm mcp install evil-y -- npx evil, with a policy mcp.deny: ["evil-*"], prints [x] Policy violation and "Error installing dependencies: 1" but exits 0. apm install --mcp evil-y -- npx evil exits 1. Nothing is written in either case.
To reproduce
Cached org policy with mcp.deny: ["evil-*"].
apm mcp install evil-y -- npx evil; echo $?
Expected behavior
Non-zero exit, matching apm install --mcp.
Actual behavior
Exit 0, so CI scripts treat the step as successful. The wrapper ignores the return code of the forwarded install.
Found by the 0.36.0 pre-release lifecycle sweep (#3649). Same behavior on v0.35.1, so this is not a 0.36 regression.
area/cliCLI command surface, flags, help text (cross-cutting).area/mcp-configMCP server configuration depth, transports, variable resolution.pillar/governPillar: policy, trust, audit and supply-chain integritytype/bugSomething does not work as documented.
Activity
fix(mcp): exit apm mcp install through the install outcome (#3666)
test(architecture): keep one matrix case per guard for sweep sub-rules (
fix(mcp): exit apm mcp install through the install outcome (#3666)
test(architecture): keep one matrix case per guard for sweep sub-rules (
fix: 0.36.0 red-team regression sweep (export-patch, view --file, loc…