diff --git a/gitnexus/src/core/ingestion/cfg/collect.ts b/gitnexus/src/core/ingestion/cfg/collect.ts index 890987f7d..777a1ae42 100644 --- a/gitnexus/src/core/ingestion/cfg/collect.ts +++ b/gitnexus/src/core/ingestion/cfg/collect.ts @@ -30,11 +30,42 @@ export interface CollectedCfgs { readonly skipped: number; } +/** + * Convert a CFG built from an EXTRACTED sub-document's AST (script-relative + * tree-sitter rows) into the enclosing file's coordinates by adding `offset` to + * every source-line field. Needed for embedded scripts — a Vue SFC `