You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(domain): treat source-map extension case-insensitively in artifact edge mapping #195
src/application/ArtifactGraphConstruction.ts:340 checks if (lower.endsWith(".map")) where lower is precomputed as path.toLowerCase(), but that helper is not used for the .endsWith(".map") checks above.
Files named MAIN.JS.MAP (or mixed-case .Map) are currently treated as generic contains edges, and mapped-source lookup for the parent artifact fails because it slices logical_path using the same case-sensitive suffix.
Repro
Produce an artifact containing a source map with upper/mixed-case suffix (for example main.js.MAP) and its source file main.js.
Run inventory_artifact and inspect edges.items in the returned graph.
The source-map edge is not reported as maps-source and parent-child inference is lost.
Expected
Source-map relation inference should be case-insensitive and consistent with file classification (which already lowercases paths for extension checks), so .map variants still map to their source file.
Activity