Skip to content

Restrict SDK sources, cache repair, process launches, and MCP context - #1090

Open
leoafarias wants to merge 1 commit into
mainfrom
fix/project-trust-boundaries
Open

leoafarias wants to merge 1 commit into
mainfrom
fix/project-trust-boundaries

Conversation

@leoafarias

@leoafarias leoafarias commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Changes

  • Reserve SDK remotes, shared cache paths, and privilege settings for operator configuration. Projects can still pin a fork registered by the user.
  • Verify the configured Git origin before using a managed SDK or operating on an existing mirror. Preserve mismatched and unrecognized caches so the operator can recover them.
  • Reject linked components in project writes and cache repair. Update the selected project SDK link without recursively deleting the versions directory. Refuse to overwrite an existing SDK during repair.
  • Launch selected Flutter and Dart tools by absolute path. Use direct process launches, guard Windows batch arguments, and require a native FVM executable for the Windows MCP server.
  • Expose an explicit set of public context fields in the CLI and MCP. The MCP filter also applies to older CLI versions.

Verification

Static analysis passed for the CLI and MCP packages. The local CLI suite excluding SDK, integration, and network tags passed 511 tests. All 16 MCP tests passed. The documented isolated smoke test passed, including install, use, proxy execution, and cache cleanup.

The broader suite's Flutter 2.2.0 global-version test failed to parse version output on the local Apple Silicon host. DCM requires an activated license. The repository’s Windows CI job is paused, so Windows runtime behavior remains unverified. CI runs DCM if the repository license secrets are configured.

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
fvm Ready Ready Preview Nov 18, 2026 5:10pm UTC

@codecov-commenter

Copy link
Copy Markdown

This branch was successfully deployed

1 active deployment
Preview — 02ed540f Deployed Nov 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants