Dev Intel Pipeline v2 — multi-language semantic graph extractor
Phase 1: extract.js — tree-sitter AST parser (TS/JS/Python/Go/Java/Bash) + config parsers (YAML/HCL) Phase 2: graph.js — in-memory directed graph store with build/query/diff CLI Phase 3: namespace.js — cross-repo namespace registry with 3-tier resolution Phase 4: semantic-diff.js — categorized diffs with impact scoring (0-100) Phase 5: pipeline.js — batch extraction, incremental diffing, benchmarking Benchmark: 4,325 files, 21,646 nodes, 133,979 edges in 67s (15ms/file) BMad SPA reviews: all phases GO
This commit is contained in:
45
test/ground-truth/mask-api-key.json
Normal file
45
test/ground-truth/mask-api-key.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"file": "/app/src/utils/mask-api-key.ts",
|
||||
"language": "typescript",
|
||||
"entities": [
|
||||
{
|
||||
"id": "utils/mask-api-key.ts",
|
||||
"type": "Module",
|
||||
"name": "utils/mask-api-key.ts",
|
||||
"kind": "module",
|
||||
"visibility": "public",
|
||||
"line_range": [
|
||||
1,
|
||||
14
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "utils/mask-api-key.ts:maskApiKey",
|
||||
"type": "Function",
|
||||
"name": "maskApiKey",
|
||||
"kind": "function",
|
||||
"visibility": "public",
|
||||
"line_range": [
|
||||
1,
|
||||
13
|
||||
]
|
||||
}
|
||||
],
|
||||
"relationships": [
|
||||
{
|
||||
"type": "CONTAINS",
|
||||
"source": "utils/mask-api-key.ts",
|
||||
"target": "utils/mask-api-key.ts:maskApiKey"
|
||||
},
|
||||
{
|
||||
"type": "CALLS",
|
||||
"source": "utils/mask-api-key.ts:maskApiKey",
|
||||
"target": "value.trim"
|
||||
},
|
||||
{
|
||||
"type": "CALLS",
|
||||
"source": "utils/mask-api-key.ts:maskApiKey",
|
||||
"target": "trimmed.slice"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user