Skip to content

FR: meta why <fqn> — query per-node source provenance (attribution already tracked, no query surface) #306

Open

Description

@dmealing

Gap

Once a collection can be assembled from multiple sources, "where did this node come from?" stops being obvious. Today it is answerable only when something fails.

What we already have

The loader already tracks per-node source attribution and surfaces it in diagnostics (resolvedSource(failure.source, failure.nodeFqn, failure.ref) in meta-data-loader.ts). The data exists; there is no way to query it on demand.

Prior art (open source)

Go — go mod why explains why a dependency is in the graph. https://go.dev/ref/mod

Direction

meta why <fqn> reporting, for a resolved node: which source contributed it, which sources contributed overlays onto it, what it resolved its extends against, and (once package sources land) which package and version.

Notes

Activity

  1. added
    FR
    on Oct 2, 2026
  2. added this to the 1.x (later) milestone on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FR

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions