PerformanceInventory

class PerformanceInventory(surfaces: Map<String, Set<String>>, assignments: Map<String, Map<String, String>>, sourceOwners: Map<String, Set<String>>)(source)

Exact discovered API/module surface assignments and repository-relative impact ownership. Discovery belongs to the host adapter; assignments must explicitly name every discovered symbol. Adding an API member or module cannot inherit coverage through a package wildcard.

Parameters

surfaces

actual module identifiers and their discovered public symbols.

assignments

exact symbol-to-feature assignments reviewed alongside the executable workloads.

sourceOwners

exact file paths or directory prefixes ending in /, mapped to affected features.

Constructors

Link copied to clipboard
constructor(surfaces: Map<String, Set<String>>, assignments: Map<String, Map<String, String>>, sourceOwners: Map<String, Set<String>>)

Functions

Link copied to clipboard
fun affectedFeatures(registeredFeatures: Set<String>, changedPaths: Set<String>? = null): Set<String>?

Returns the union of every matching owner; unknown or absent impact selects the full suite. Paths use portable repository-relative separators, including deleted paths from a Git diff.

Link copied to clipboard
fun verify(registeredFeatures: Set<String>)

Rejects new, removed, unassigned, or orphaned symbols and owners before selecting workloads. Every assigned feature must have an executable registration in the enclosing coverage gate.