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
wp/ as the namespace for first-draft and experimental abilities
core/ for those intended for Core WP inclusion or that have already landed in core and are synced back here
wordpress/ for mature (non-experimental) abilities that are not intended for core inclusion
I'm not convinced that these names or even this tier structure are necessarily the best solution here, so am opening this issue to house that discussion.
Some notable problems with the existing setup:
The name wp/ does not inherently tell someone that those abilities are experimental. Would something more verbose like wordpress-experimental/ be a better fit there?
Any utilization of core/ outside of core WP itself presents potential issues with conflicts, especially when abilities are planned for promotion. This package seeks to streamline that by (a) centralizing development of canonical abilities and (b) providing a dedicated path for abilities to be promoted to core with it's coreify tooling, however we still need to consider possible issues & overlaps with core/ abilities.
@jorgefilipecosta@gziolo@justlevine tagging you folks here for input. Abilities being developed in Core trunk first won't have to worry about this since they will only ever exist in the core/ namespace, but settling the convention for experimental and other package-first abilities will allow folks to start contributing to those as well.
Yes, core/ is straightforward choice for these synced from WP core when thinking about early access or polyfill mechanism.
Some other alternatives to wp would be ai/ or mcp/ namespace depending where you think they should be available for users. I'm also not sure what exact vision you have for rolling them out, and in particular how much control MCP adapter and AI plugin users would want to have to opt out/in from these abilities on their sites. I don't have strong opinions here, as long as it's clear it's plugin-only.
In light of yesterday's clarification on the flow, I'd recommend the following hierarchy:
core/* for Abilities that have been released in a public WordPress version.
core-experimental/* for Abilities that are (ideally) merged or (as justified case-by-case) candidates for merge
This provides both clear signage, and prevents a new WordPress release from breaking compatibility for plugins using this library by letting them coexist with the trunk iteration and providing a migration path: once a new Core release is out, we deprecate the core-experimental ability and have it shim the official one so folks have time to migrate to the finalized core/* version.
@nikmclaughlin After yesterday, I'm not particularly sure what non-core candidate abilities we'd want to "mature" here versus the specific plugin that needs it (love to hear what you have in mind), but I think we can cross that bridge if/when we come to it. Similarly if we decide there's a need to differentiate between trunk abilities and more edgy ones, we could introduce something like meta.stability prop and not necessarily require a prefix change. Not saying that's better or worse, just that we have options to scale the hierarchy in multiple directions depending on what the IRL situation is that arises.
@gziolo , I imagine plugin rollouts will vary based on the audience and would like to encode as little of that here as possible (ideally none). For example, the MCP adapter might opt to expose all package abilities by default as a way to simplify setup, whereas the AI plugin might keep experimental abilities feature-gated as an opt-in. For this package, I think the important thing is clearly identifying `core/‘ backfills vs. abilities that are still in-development so consumers can make those choices.
To that end, I agree with @justlevine that a more explicit demarcation like core-experimental/ would better suit current needs and we can cross other bridges as we get to them. I don’t have any specific “mature but not meant for core” abilities in mind today, so mostly just keeping us aware for now that the package gives us that option and we can come up with a convention around it should the need arise.
For now, if folks are aligned on the core/ + core-experimental/ breakdown, I can get a PR started to update that throughout the package docs.
Activity
nikmclaughlin commentedon Nov 18, 2026
@jorgefilipecosta @gziolo @justlevine tagging you folks here for input. Abilities being developed in Core
trunkfirst won't have to worry about this since they will only ever exist in thecore/namespace, but settling the convention for experimental and other package-first abilities will allow folks to start contributing to those as well.gziolo commentedon Nov 19, 2026
Yes,
core/is straightforward choice for these synced from WP core when thinking about early access or polyfill mechanism.Some other alternatives to
wpwould beai/ormcp/namespace depending where you think they should be available for users. I'm also not sure what exact vision you have for rolling them out, and in particular how much control MCP adapter and AI plugin users would want to have to opt out/in from these abilities on their sites. I don't have strong opinions here, as long as it's clear it's plugin-only.justlevine commentedon Nov 19, 2026
Thanks for the ping @nikmclaughlin 🙇
In light of yesterday's clarification on the flow, I'd recommend the following hierarchy:
core/*for Abilities that have been released in a public WordPress version.core-experimental/*for Abilities that are (ideally) merged or (as justified case-by-case) candidates for mergeThis provides both clear signage, and prevents a new WordPress release from breaking compatibility for plugins using this library by letting them coexist with the
trunkiteration and providing a migration path: once a new Core release is out, we deprecate thecore-experimentalability and have it shim the official one so folks have time to migrate to the finalizedcore/*version.@nikmclaughlin After yesterday, I'm not particularly sure what non-core candidate abilities we'd want to "mature" here versus the specific plugin that needs it (love to hear what you have in mind), but I think we can cross that bridge if/when we come to it. Similarly if we decide there's a need to differentiate between
trunkabilities and more edgy ones, we could introduce something likemeta.stabilityprop and not necessarily require a prefix change. Not saying that's better or worse, just that we have options to scale the hierarchy in multiple directions depending on what the IRL situation is that arises.nikmclaughlin commentedon Nov 19, 2026
@gziolo , I imagine plugin rollouts will vary based on the audience and would like to encode as little of that here as possible (ideally none). For example, the MCP adapter might opt to expose all package abilities by default as a way to simplify setup, whereas the AI plugin might keep experimental abilities feature-gated as an opt-in. For this package, I think the important thing is clearly identifying `core/‘ backfills vs. abilities that are still in-development so consumers can make those choices.
To that end, I agree with @justlevine that a more explicit demarcation like
core-experimental/would better suit current needs and we can cross other bridges as we get to them. I don’t have any specific “mature but not meant for core” abilities in mind today, so mostly just keeping us aware for now that the package gives us that option and we can come up with a convention around it should the need arise.For now, if folks are aligned on the
core/+core-experimental/breakdown, I can get a PR started to update that throughout the package docs.