feat: add MCP import and product customization foundations - #1787
Merged
limityan merged 1 commit intoJul 27, 2026
Merged
Conversation
limityan
force-pushed
the
yanzhn/mcp-import-product-customization
branch
from
July 27, 2026 02:49
305a1d0 to
71cc231
Compare
limityan
force-pushed
the
yanzhn/mcp-import-product-customization
branch
from
July 27, 2026 03:14
71cc231 to
235723e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR delivers two independently designed C0a slices in one reviewable change:
Boundaries
MCP import reuses the current runtime and config owner. Imports are disabled by default, use sanitized public plans, fail closed on unsupported/unknown fields, and write through snapshot CAS. It does not add a second MCP runtime, cache, journal, undo flow, TUI flow, credential migration, Peer/Remote mutation, or Codex import projection.
Product customization is an architecture foundation, not a complete white-label system. Schema v1 contains only fields consumed by the Desktop or CLI build path. It intentionally defers logos/assets, GUI/TUI layout, bundled extensions, Installer/App Store targets, signing/update identity, data isolation, and repository-wide runtime branding. No general product manifest or unused projection is emitted.
Documentation
Verification
pnpm run product:test(17/17)pnpm run product:checkpnpm run type-check:webpnpm run i18n:auditcargo check --workspaceon rebaseda1d582a1fnode scripts/check-core-boundaries.mjspnpm run check:repo-hygienepnpm run check:github-configUsage: acme)An isolated adversarial review was repeated after fixes, after rebasing onto the latest upstream
main, and after consolidating the standalone spec into owner documents; no P0/P1/P2 blockers remain.