Skip to main content

Module trace

Module trace 

Source
Expand description

Trace output contracts shared by core, engine, CLI, API, and MCP. Shared trace output contracts for analysis and integration surfaces.

Structs§

ClassMemberTrace
Result of tracing a class / enum / store MEMBER: the --trace FILE:NAME fallback when NAME is not a top-level export but a member declared on one (issue #1744). The trace runs on the module graph only, so it reports the OWNING export’s reachability and usage (the gating precondition for member-level crediting) plus a pointer to the right --unused-*-members command, rather than per-member crediting provenance.
CloneTrace
Result of tracing a clone: all groups containing the code at a source location or addressed by a stable clone fingerprint.
DependencyTrace
Result of tracing a dependency: where it is used.
EntryPointSpans
Sub-phase attribution inside the entry-point discovery stage.
ExportReference
A direct reference to an export.
ExportTrace
Result of tracing an export: why it is considered used or unused.
FileTrace
Result of tracing all edges for a file.
ImpactClosureGap
One coordination-gap entry in an ImpactClosureTrace.
ImpactClosureTrace
Result of computing the impact closure for a single file as the seed.
ImportPathHop
One import edge on an ImportPathTrace.
ImportPathTrace
Result of asking how one module reaches another: the shortest import path.
NamespacedExportReferences
Direct references that credit one namespace of an export binding.
PipelineTimings
Pipeline performance timings.
ReExportChain
A re-export chain showing how an export is propagated.
TracedCloneGroup
One clone group returned from a clone trace request.
TracedExport
An export with usage information.
TracedReExport
A re-export with source information.

Enums§

ImportPathTraceSchemaVersion
Wire-version discriminator for ImportPathTrace. Independent from the global SchemaVersion: the import-path payload versions on its own cadence, like the other independently-versioned envelopes. Serializes as a string const so JSON consumers can switch on it.