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
Re-scoped, not superseded. A design pass on metadata source resolution (docs/superpowers/specs/2026-08-17-metadata-source-resolution-design.md, with prior-art research alongside it) concluded that metadataDependencies as specified here is the third need, not the first — and that building it first leaves the blocked adopters exactly as blocked.
The reframing: polyglot multi-app repos hitting this today do not need to compose several collections. They already have exactly one authored model. What they cannot do is reach it (point a consumer at a tree elsewhere in the repo) and scope it (take the part this consumer needs). Package-manager resolution is a third resolver contributing members to the same source set.
Three findings from that pass that change this issue's shape:
Sources are a set, not an ordered list. Super-resolution is order-independent (Metadata resolution is load-order-sensitive: dotted extends: Owner.member to an inherited member fails under Bun (listMetadataFiles doesn't sort files) #188), and MetaDataLoader._partitionOverlayLast already discards the caller's declared order. So this issue's "dependency sources first (in declared order), local last" rule should become a precedence rule attached to a source kind (a local source wins over a dependency; two dependencies conflicting is an error) rather than a total order. That deletes topological sorting, cycle detection, and the diamond-dependency problem.
Per-ecosystem resolution is mechanically viable — spiked, not assumed. A code-free .nupkg carrying a metadata tree was packed and consumed from a PackageReference project. contentFiles is the wrong mechanism and copies nothing useful; a build/*.targets file exposes an MSBuild property; and — the part that matters — obj/project.assets.json carries the package folder, the library path, and a complete file listing, so a plain non-MSBuild CLI resolves the tree by joining two strings and reading JSON. Warts: packing a code-free package emits NU5128 (suppressible), and resolution requires a prior restore.
The distribution channel deserves an ADR rather than a default. No surveyed peer publishes one code-free schema artifact to four language registries: CUE explicitly rejected that for OCI on polyglot grounds, Buf built its own registry, Smithy stayed single-ecosystem. Counterweight found later and worth recording here: enterprises already run internal mirrors of npm/Maven/PyPI/NuGet, so riding those needs no new infrastructure or supply-chain policy, whereas OCI usually does. That is an argument about the consumer's infrastructure, and it cuts toward this issue's original plan.
Also note the polyglot constraint this issue does not currently state: a classpath resource: source is unreachable to the Node CLI and an npm package is unreachable to Maven, so a shared model consumed across repos by a polyglot consumer set must be published to every ecosystem that consumes it, or to one neutral channel. "Publish to one and let others cope" is not available.
Deferred capabilities that surround this issue are now filed separately: #299 (access control), #300 (breaking-change detection), #301 (dependency override), #306 (meta why provenance).
changed the title [-]FR-023 — Metadata packages: cross-repo distribution + reuse[/-][+]FR-023 Phase 2 — Metadata dependencies: JVM/C# consumers and registry transports[/+]on Oct 2, 2026
Triage 2026-10-02: stays 1.x (later). Phase 1 (TS + Python consumers over path sources) covers every adopter today. Re-entry trigger: an adopter that shares a model across repos in a JVM or C# stack.
Activity
fix(fr-036): C# missing-required-value-type + regex full-match — revi…
dmealing commentedon Aug 18, 2026
Re-scoped, not superseded. A design pass on metadata source resolution (
docs/superpowers/specs/2026-08-17-metadata-source-resolution-design.md, with prior-art research alongside it) concluded thatmetadataDependenciesas specified here is the third need, not the first — and that building it first leaves the blocked adopters exactly as blocked.The reframing: polyglot multi-app repos hitting this today do not need to compose several collections. They already have exactly one authored model. What they cannot do is reach it (point a consumer at a tree elsewhere in the repo) and scope it (take the part this consumer needs). Package-manager resolution is a third resolver contributing members to the same source set.
Three findings from that pass that change this issue's shape:
Sources are a set, not an ordered list. Super-resolution is order-independent (Metadata resolution is load-order-sensitive: dotted
extends: Owner.memberto an inherited member fails under Bun (listMetadataFiles doesn't sort files) #188), andMetaDataLoader._partitionOverlayLastalready discards the caller's declared order. So this issue's "dependency sources first (in declared order), local last" rule should become a precedence rule attached to a source kind (a local source wins over a dependency; two dependencies conflicting is an error) rather than a total order. That deletes topological sorting, cycle detection, and the diamond-dependency problem.Per-ecosystem resolution is mechanically viable — spiked, not assumed. A code-free
.nupkgcarrying a metadata tree was packed and consumed from aPackageReferenceproject.contentFilesis the wrong mechanism and copies nothing useful; abuild/*.targetsfile exposes an MSBuild property; and — the part that matters —obj/project.assets.jsoncarries the package folder, the library path, and a complete file listing, so a plain non-MSBuild CLI resolves the tree by joining two strings and reading JSON. Warts: packing a code-free package emitsNU5128(suppressible), and resolution requires a prior restore.The distribution channel deserves an ADR rather than a default. No surveyed peer publishes one code-free schema artifact to four language registries: CUE explicitly rejected that for OCI on polyglot grounds, Buf built its own registry, Smithy stayed single-ecosystem. Counterweight found later and worth recording here: enterprises already run internal mirrors of npm/Maven/PyPI/NuGet, so riding those needs no new infrastructure or supply-chain policy, whereas OCI usually does. That is an argument about the consumer's infrastructure, and it cuts toward this issue's original plan.
Also note the polyglot constraint this issue does not currently state: a classpath
resource:source is unreachable to the Node CLI and an npm package is unreachable to Maven, so a shared model consumed across repos by a polyglot consumer set must be published to every ecosystem that consumes it, or to one neutral channel. "Publish to one and let others cope" is not available.Deferred capabilities that surround this issue are now filed separately: #299 (access control), #300 (breaking-change detection), #301 (dependency override), #306 (
meta whyprovenance).dmealing commentedon Oct 2, 2026
Status check 2026-10-02: Phase 1a (TS + Python consumers:
meta deps, shared-model files, dependency-conformance corpus) shipped around 1.0.3. Remaining is Phase 2: Java/Kotlin/C# consumers, npm/PyPI/Maven/NuGet transports, andpackageBindings. Milestone stays 1.x (later).[-]FR-023 — Metadata packages: cross-repo distribution + reuse[/-][+]FR-023 Phase 2 — Metadata dependencies: JVM/C# consumers and registry transports[/+]docs(roadmap): move feature status and target releases to GitHub issues
dmealing commentedon Oct 2, 2026
Triage 2026-10-02: stays 1.x (later). Phase 1 (TS + Python consumers over path sources) covers every adopter today. Re-entry trigger: an adopter that shares a model across repos in a JVM or C# stack.