data-cap
    Preparing search index...

    Function buildInventory

    • Builds the CapabilityInventory from an already-discovered LinkResult -- the one shared model every report generator (Phase C) reads from, and the boundary where each capability's absolute discovery path becomes the root-relative file every downstream model publishes (OUT-01). The root comes from linkResult.root -- the same one linking itself resolved against -- so the two can never disagree.

      Parameters

      Returns CapabilityInventory