pub fn enumerate_source_artifacts(
engine: &Engine,
source: &Source,
deny_paths: &[String],
workspace_root: &Path,
) -> Vec<String>Expand description
Enumerate one primary source’s in-scope artifacts, whatever its medium —
the single entry point every S(D) consumer uses. Path-shaped mediums
(codebase / filesystem / git) walk the file tree; a graph source filters
the source mem’s entities. A medium the matrix marks non-enumerable
yields nothing, and its callers render the non-enumerable basis rather
than a denominator.
This exists because the enumeration bail was never in one place: five call
sites each repeated the same loop over enumerate_facet_files, so teaching
only the report about a new medium left the findings store, the refinement
rotation, and the exclude membership gate empty-handed.