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:
Jarvis Prime
2026-03-09 05:29:29 +00:00
commit efb12d003b
19 changed files with 4106 additions and 0 deletions

View File

@@ -0,0 +1,83 @@
{
"file": "/tmp/test_deployment.yaml",
"language": "yaml",
"entities": [
{
"id": "test_deployment.yaml",
"type": "Config",
"name": "test_deployment.yaml",
"kind": "yaml-config",
"visibility": "public",
"line_range": [
1,
12
]
},
{
"id": "test_deployment.yaml:apiVersion",
"type": "Config",
"name": "apiVersion",
"kind": "yaml-key",
"visibility": "public",
"line_range": [
1,
1
]
},
{
"id": "test_deployment.yaml:kind",
"type": "Config",
"name": "kind",
"kind": "yaml-key",
"visibility": "public",
"line_range": [
1,
1
]
},
{
"id": "test_deployment.yaml:metadata",
"type": "Config",
"name": "metadata",
"kind": "yaml-key",
"visibility": "public",
"line_range": [
1,
1
]
},
{
"id": "test_deployment.yaml:spec",
"type": "Config",
"name": "spec",
"kind": "yaml-key",
"visibility": "public",
"line_range": [
1,
1
]
}
],
"relationships": [
{
"type": "CONTAINS",
"source": "test_deployment.yaml",
"target": "test_deployment.yaml:apiVersion"
},
{
"type": "CONTAINS",
"source": "test_deployment.yaml",
"target": "test_deployment.yaml:kind"
},
{
"type": "CONTAINS",
"source": "test_deployment.yaml",
"target": "test_deployment.yaml:metadata"
},
{
"type": "CONTAINS",
"source": "test_deployment.yaml",
"target": "test_deployment.yaml:spec"
}
]
}