Skip to content

Build-plugin naming (<owner>.mplugin.<name>, pkgs/mcpp/) and mcpplibs.mplugin.slint 1.19.0; mcpplibs.mwrap.slint 1.19.0.3; mcpplibs.slintgen frozen - #868

Merged
Sunrisepeak merged 1 commit into
mainfrom
mplugin-naming
Nov 21, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
mplugin-naming

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Implements T1 + T4 of .agents/docs/2026-11-21-mcpp-build-plugin-naming-plan.md (T3 is slint-m #4, released as mwrap-1.19.0.3 and mirrored to mcpp-res/mwrap-slint; the two archives are byte-identical, sha256 d4e409ad…384b).

  • Spec: docs/build-plugins.md + zh: id = module = C++ namespace = <owner>.mplugin.<name>; mcpp.* stays the mcpp project's; descriptors in pkgs/mcpp/; a build plugin and its library are tested apart; older rule packages are frozen, not wrong.
  • Lints: tests/check_mplugin_layout.lua (validate.yml step 5c); check_reserved_namespace.lua also refuses owners mcpp, the reserved names, platforms, mwrap, mplugin; tests in tests/test_check_mplugin.py.
  • Packages: new pkgs/mcpp/mcpplibs.mplugin.slint.lua (1.19.0, the archive of mwrap-1.19.0.3, no autoupdate); mcpplibs.mwrap.slint 1.19.0.3; mcpplibs.slintgen frozen (rows untouched).
  • Members: tests/mwrap/slint-ui at 1.19.0.3; new tests/mwrap/slint-rule: the plugin resolved from pkgs/mcpp/ and run from build.mcpp. Local run on the candidate index: both ok.
  • Engine: no change needed; measured on 2026.11.18.1 (CI pin) and 2026.11.20.1: mcpplibs.mplugin.* builds with no warning and mcpp:: is not shadowed.

Left for later (plan §5): T2, moving the official mcpp.plugins/mcpp.platforms into pkgs/mcpp/.

….mplugin.slint 1.19.0; mcpplibs.mwrap.slint 1.19.0.3; mcpplibs.slintgen frozen

docs/build-plugins.md (en, zh): a build plugin's package, module and C++ namespace are one
id, <owner>.mplugin.<name>; mcpp.* stays the mcpp project's; descriptors in pkgs/mcpp/.
Lints: tests/check_mplugin_layout.lua, and check_reserved_namespace.lua refuses reserved
owners (tests/test_check_mplugin.py). The first package of the form is
mcpplibs.mplugin.slint@1.19.0 (the archive of slint-m mwrap-1.19.0.3, GLOBAL + CN);
mcpplibs.mwrap.slint 1.19.0.3 re-exports it. mcpplibs.slintgen keeps its published rows and
is frozen. Member tests/mwrap/slint-rule: the plugin resolved from pkgs/mcpp/ and run from
build.mcpp. Design and plan: .agents/docs/2026-11-21-mcpp-build-plugin-naming-plan.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Sunrisepeak
Sunrisepeak merged commit 3057883 into main Nov 21, 2026
22 checks passed
@Sunrisepeak
Sunrisepeak deleted the mplugin-naming branch November 21, 2026 12:13
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.

1 participant