diff --git a/docs/gitgalaxy_architecture_brief.md b/docs/gitgalaxy_architecture_brief.md index bdd72163..408ead8c 100644 --- a/docs/gitgalaxy_architecture_brief.md +++ b/docs/gitgalaxy_architecture_brief.md @@ -6,10 +6,10 @@ |---|---| | **Engine** | `GitGalaxy Scope vlatest (Delta Mode)` | | **Target Path** | `/home/runner/work/gitgalaxy/gitgalaxy` | -| **Timestamp** | `2026-07-29T00:58:16.555342+00:00` | -| **Scan Duration** | `5.62s` | +| **Timestamp** | `2026-07-29T01:48:17.256144+00:00` | +| **Scan Duration** | `7.1s` | | **Git Branch** | `main` | -| **Git Commit** | `614412fd8f3f9c1dfff6f272469247b03d046aa0` | +| **Git Commit** | `f75964271f736353429cc3826b84cf9499fa4c57` | | **Git Remote** | `https://github.com/squid-protocol/gitgalaxy` | | **Zero-Dependency Mode** | `Inactive (Full Precision)` | @@ -65,7 +65,7 @@ | Total Artifacts | 635 | | Analyzed Artifacts (Scanned) | 164 | | Excluded Artifacts (Unparsable data, binaries, unsupported formats) | 471 | -| Total LOC | 47349 | +| Total LOC | 47447 | | Volatility Index | 0.03 | | % Scanned of codebase = | 25.8% | | Dominant Lang | PYTHON | @@ -73,7 +73,7 @@ ## 3.5 MACRO-NETWORK TOPOLOGY (Resilience & Coupling) | Metric | Value | Interpretation | |---|---|---| -| Modularity | 0.6202 | High = Clean micro-boundaries. Low = Spaghetti coupling. | +| Modularity | 0.6186 | High = Clean micro-boundaries. Low = Spaghetti coupling. | | Assortativity | -0.168 | Positive = Resilient core. Negative = Fragile single-points-of-failure. | | Cyclic Density | 0.0% | % of files trapped in dependency loops (Static Friction). | | Avg Path Length | 2.8435 | Hops between files. Lower = Tighter coupling. | @@ -82,7 +82,7 @@ ## 4. COMPOSITION | Lang | Files | LOC | Share | |---|---|---|---| -| PYTHON | 130 | 46868 | 79.3% | +| PYTHON | 130 | 46966 | 79.3% | | MARKDOWN | 23 | 0 | 14.0% | | YAML | 8 | 481 | 4.9% | | PLAINTEXT | 3 | 0 | 1.8% | @@ -223,11 +223,11 @@ These files pull in the most external dependencies. They are highly coupled and ## 9. DIRECTORY GROUPS (Top 10 Heaviest Modules) | Folder Path | Files | Total Impact | Avg Cog Load | Avg Debt | |---|---|---|---|---| -| `tests/core_engine` | 17 | 5230.86 | 2.6% | 0.0% | +| `tests/core_engine` | 17 | 5267.66 | 2.6% | 0.0% | | `gitgalaxy` | 6 | 4647.7 | 10.65% | 0.0% | | `gitgalaxy/core` | 9 | 4163.3 | 14.4% | 3.9% | | `gitgalaxy/metrics` | 5 | 3149.06 | 16.84% | 4.54% | -| `gitgalaxy/standards` | 8 | 2055.12 | 8.06% | 17.92% | +| `gitgalaxy/standards` | 8 | 2055.18 | 8.06% | 17.94% | | `gitgalaxy/recorders` | 8 | 1548.92 | 21.1% | 1.81% | | `tests/security_auditing` | 16 | 1518.02 | 1.92% | 0.0% | | `tests/extraction` | 5 | 1373.14 | 2.93% | 0.0% | @@ -255,17 +255,17 @@ These files pull in the most external dependencies. They are highly coupled and > Secondary Evidence: The following files tripped specific static threat signatures. Use these to explain *why* the XGBoost model flagged the files above. ### Exploit Generation Surface -- `gitgalaxy/cobol_refractor_controller.py` -> **100.0%** Exposure - `gitgalaxy/cobol_to_java_controller.py` -> **100.0%** Exposure +- `gitgalaxy/cobol_refractor_controller.py` -> **100.0%** Exposure - `gitgalaxy/core/guidestar_lens.py` -> **100.0%** Exposure - `gitgalaxy/core/network_risk_sensor.py` -> **100.0%** Exposure -- `gitgalaxy/core/prism.py` -> **100.0%** Exposure +- `gitgalaxy/core/spatial_correlation.py` -> **100.0%** Exposure ### Algorithmic DoS Exposure -- `gitgalaxy/cobol_refractor_controller.py` -> **100.0%** Exposure - `gitgalaxy/cobol_to_java_controller.py` -> **100.0%** Exposure +- `gitgalaxy/cobol_refractor_controller.py` -> **100.0%** Exposure - `gitgalaxy/core/guidestar_lens.py` -> **100.0%** Exposure - `gitgalaxy/core/network_risk_sensor.py` -> **100.0%** Exposure -- `gitgalaxy/core/prism.py` -> **100.0%** Exposure +- `gitgalaxy/core/spatial_mapper.py` -> **100.0%** Exposure ## 10.7 AUTONOMOUS AI VULNERABILITIES (AGENTIC RCE & PROMPT INJECTION) > **AI CONTEXT:** Identifies untrusted data flowing into LLM context windows (Prompt Injection) and LLM outputs flowing into dynamic execution (Agentic RCE). @@ -283,61 +283,61 @@ These files pull in the most external dependencies. They are highly coupled and ## 11. CUMULATIVE RISK HITLIST (Top 10 Highest Risk Files) > Cumulative Risk is the sum of all individual risk exposures. These files represent the highest multi-dimensional technical debt and architectural fragility. -### 1. `gitgalaxy/core/spatial_mapper.py` (PYTHON) -> Cumulative Risk: **752.74** +### 1. `gitgalaxy/core/spatial_mapper.py` (PYTHON) -> Cumulative Risk: **752.77** - **Archetype:** `file_cluster_13` (Distance: 11.554 IQR) - **Magnitude:** 257.06 | **LOC:** 230 | **CtrlFlow:** 61.7% | **Authorship Centralization:** 53.8% - **Primary Risk Drivers:** Spec Match (100.0%), Documentation (100.0%), Algorithmic Dos (100.0%), Logic Bomb (100.0%) - **Heaviest Functions:** `map_repository` (Impact: 189.1), `__init__` (Impact: 11.5), `_hash_jitter` (Impact: 8.6) -### 2. `gitgalaxy/metrics/statistical_auditor.py` (PYTHON) -> Cumulative Risk: **686.9** +### 2. `gitgalaxy/metrics/statistical_auditor.py` (PYTHON) -> Cumulative Risk: **686.92** - **Archetype:** `file_cluster_8` (Distance: 11.277 IQR) - **Magnitude:** 1175.2 | **LOC:** 536 | **CtrlFlow:** 70.2% | **Authorship Centralization:** 55.6% - **Primary Risk Drivers:** Spec Match (100.0%), Algorithmic Dos (100.0%), Logic Bomb (100.0%), State Flux (99.2406%) - **Heaviest Functions:** `audit` (Impact: 1026.0), `_is_dead_code` (Impact: 26.1), `_is_threat` (Impact: 25.9) -### 3. `gitgalaxy/galaxyscope.py` (PYTHON) -> Cumulative Risk: **677.93** +### 3. `gitgalaxy/galaxyscope.py` (PYTHON) -> Cumulative Risk: **677.95** - **Archetype:** `file_cluster_8` (Distance: 12.542 IQR) - **Magnitude:** 3862.46 | **LOC:** 3044 | **CtrlFlow:** 71.1% | **Authorship Centralization:** 63.6% - **Primary Risk Drivers:** Spec Match (100.0%), Churn (100.0%), Algorithmic Dos (100.0%), Logic Bomb (100.0%) - **Heaviest Functions:** `execute_pipeline` (Impact: 2143.0), `main` (Impact: 869.6), `_process_file_worker` (Impact: 611.9) -### 4. `gitgalaxy/core/prism.py` (PYTHON) -> Cumulative Risk: **668.36** +### 4. `gitgalaxy/core/prism.py` (PYTHON) -> Cumulative Risk: **668.39** - **Archetype:** `file_cluster_16` (Distance: 12.0 IQR) - **Magnitude:** 847.98 | **LOC:** 729 | **CtrlFlow:** 61.9% | **Authorship Centralization:** 62.5% - **Primary Risk Drivers:** Spec Match (100.0%), Algorithmic Dos (100.0%), Logic Bomb (100.0%), State Flux (99.9766%) - **Heaviest Functions:** `_compile_regex_matrix` (Impact: 383.2), `_strip_nested_comments` (Impact: 125.8), `split_streams` (Impact: 125.2) -### 5. `gitgalaxy/cobol_refractor_controller.py` (PYTHON) -> Cumulative Risk: **664.69** +### 5. `gitgalaxy/cobol_refractor_controller.py` (PYTHON) -> Cumulative Risk: **664.72** - **Archetype:** `file_cluster_13` (Distance: 10.961 IQR) - **Magnitude:** 471.4 | **LOC:** 434 | **CtrlFlow:** 50.9% | **Authorship Centralization:** 63.6% - **Primary Risk Drivers:** Spec Match (100.0%), Algorithmic Dos (100.0%), Logic Bomb (100.0%), State Flux (97.0538%) - **Heaviest Functions:** `main` (Impact: 225.2), `process_payload` (Impact: 59.8), `record_dead_code` (Impact: 41.2) -### 6. `gitgalaxy/tools/cobol_to_cobol/cobol_compiler_forge.py` (PYTHON) -> Cumulative Risk: **662.86** +### 6. `gitgalaxy/tools/cobol_to_cobol/cobol_compiler_forge.py` (PYTHON) -> Cumulative Risk: **662.89** - **Archetype:** `Unknown Archetype` (Distance: N/A IQR) - **Magnitude:** 0.37 | **LOC:** 215 | **CtrlFlow:** 0.0% | **Authorship Centralization:** 0.0% - **Primary Risk Drivers:** None - **Heaviest Functions:** `flatten_copybooks` (Impact: 184.3), `generate_build_jcl` (Impact: 34.5), `main` (Impact: 23.0) -### 7. `gitgalaxy/standards/config_resolver.py` (PYTHON) -> Cumulative Risk: **655.02** +### 7. `gitgalaxy/standards/config_resolver.py` (PYTHON) -> Cumulative Risk: **655.04** - **Archetype:** `Unknown Archetype` (Distance: N/A IQR) - **Magnitude:** 356.52 | **LOC:** 305 | **CtrlFlow:** 0.0% | **Authorship Centralization:** 0.0% - **Primary Risk Drivers:** None - **Heaviest Functions:** `_load_yaml_section` (Impact: 206.6), `_merge_value` (Impact: 74.3), `_get_default` (Impact: 20.4) -### 8. `gitgalaxy/metrics/chronometer.py` (PYTHON) -> Cumulative Risk: **651.41** +### 8. `gitgalaxy/metrics/chronometer.py` (PYTHON) -> Cumulative Risk: **651.43** - **Archetype:** `file_cluster_13` (Distance: 11.71 IQR) - **Magnitude:** 638.28 | **LOC:** 458 | **CtrlFlow:** 60.6% | **Authorship Centralization:** 64.7% - **Primary Risk Drivers:** Spec Match (100.0%), Algorithmic Dos (100.0%), Logic Bomb (100.0%), State Flux (94.2916%) - **Heaviest Functions:** `_load_ignored_revs` (Impact: 448.1), `_initialize_history_scan` (Impact: 145.0), `__init__` (Impact: 1.8) -### 9. `gitgalaxy/recorders/sbom_recorder.py` (PYTHON) -> Cumulative Risk: **644.74** +### 9. `gitgalaxy/recorders/sbom_recorder.py` (PYTHON) -> Cumulative Risk: **644.77** - **Archetype:** `file_cluster_13` (Distance: 10.643 IQR) - **Magnitude:** 283.32 | **LOC:** 351 | **CtrlFlow:** 51.9% | **Authorship Centralization:** 100.0% - **Primary Risk Drivers:** Spec Match (100.0%), Algorithmic Dos (100.0%), Logic Bomb (100.0%), State Flux (97.0328%) - **Heaviest Functions:** `_audit_capped_sample` (Impact: 176.8), `_iter_candidate_files` (Impact: 32.0), `_scan_single_file` (Impact: 29.2) -### 10. `gitgalaxy/recorders/sarif_recorder.py` (PYTHON) -> Cumulative Risk: **638.74** +### 10. `gitgalaxy/recorders/sarif_recorder.py` (PYTHON) -> Cumulative Risk: **638.77** - **Archetype:** `file_cluster_8` (Distance: 9.805 IQR) - **Magnitude:** 154.32 | **LOC:** 238 | **CtrlFlow:** 67.3% | **Authorship Centralization:** 100.0% - **Primary Risk Drivers:** Spec Match (100.0%), Logic Bomb (100.0%), Algorithmic Dos (99.9997%), State Flux (85.8014%) @@ -370,12 +370,12 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Pure Consumer (Orchestrator) | `Dependency Blast Radius (PageRank):` 8.367 * `Choke Point (Betweenness):` 0.003257 | `Ripple Effect (Closeness):` 0.018405 - * `Imports (Out-Degree: 30):` gitgalaxy.recorders.gpu_recorder, subprocess, yaml, typing, gitgalaxy.tools.ai_guardrails.dev_agent_firewall, shutil, gitgalaxy.core.guidestar_lens, gitgalaxy.recorders.llm_recorder... + * `Imports (Out-Degree: 30):` yaml, gitgalaxy.recorders.llm_recorder, gitgalaxy.standards.language_standards, gitgalaxy.licensing, multiprocessing, gitgalaxy.standards.language_lens, signal, gitgalaxy.metrics.tensor_scanner... * `Imported By (In-Degree: 3):` (Excluded from Brief to save tokens) ### `tests/core_engine/test_language_standards_strict.py` (PYTHON | Tier 2 | AI Safe: 0.0%) - **Global Archetype:** `Unknown Archetype` (Drift: N/A IQR) -- **Magnitude:** 2647.12 | **LOC:** 8166 | **CtrlFlow:** 0.0% | **Authorship Centralization:** 0.0% +- **Magnitude:** 2683.92 | **LOC:** 8358 | **CtrlFlow:** 0.0% | **Authorship Centralization:** 0.0% - **Algorithmic:** O(N) | **DB Complexity:** 0 - **Risk Profile:** Cognitive Load (0.0%), Tech Debt (0.0%) **Top Internal Functions/Classes:** @@ -392,7 +392,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` ulab, and, re, data.csv, numpy, scala.util.Try, Reactive.Banana, kotlin.collections.List... + * `Imports (Out-Degree: 0):` gitgalaxy.standards.language_standards, multiprocessing, Brick, Foundation, re, kotlin.collections.List, time, qualified... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/core/network_risk_sensor.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -414,7 +414,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Transceiver (Middle-Tier) | `Dependency Blast Radius (PageRank):` 10.687 * `Choke Point (Betweenness):` 6.9e-05 | `Ripple Effect (Closeness):` 0.030061 - * `Imports (Out-Degree: 1):` warnings, pathlib, typing, gitgalaxy.standards.analysis_lens, collections, logging, networkx.algorithms, token... + * `Imports (Out-Degree: 1):` typing, math, collections, networkx, token, networkx.algorithms, warnings, gitgalaxy.standards.analysis_lens... * `Imported By (In-Degree: 4):` (Excluded from Brief to save tokens) ### `gitgalaxy/metrics/signal_processor.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -440,7 +440,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Pure Producer (Foundation) | `Dependency Blast Radius (PageRank):` 10.698 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.035694 - * `Imports (Out-Degree: 0):` typing, gitgalaxy.standards, os, logging, re, statistics, math + * `Imports (Out-Degree: 0):` statistics, typing, math, gitgalaxy.standards, logging, re, os * `Imported By (In-Degree: 5):` (Excluded from Brief to save tokens) ### `gitgalaxy/metrics/statistical_auditor.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -467,7 +467,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Pure Producer (Foundation) | `Dependency Blast Radius (PageRank):` 8.009 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.019172 - * `Imports (Out-Degree: 0):` typing, os, logging, statistics, math + * `Imports (Out-Degree: 0):` statistics, typing, math, logging, os * `Imported By (In-Degree: 2):` (Excluded from Brief to save tokens) ### `gitgalaxy/standards/language_lens.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -490,7 +490,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` gitgalaxy.standards.gitgalaxy_config, time, pathlib, typing, logging, re, gitgalaxy.standards.language_standards, math + * `Imports (Out-Degree: 0):` gitgalaxy.standards.language_standards, typing, math, gitgalaxy.standards.gitgalaxy_config, logging, pathlib, re, time * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `tests/extraction/test_dependency_extraction_strict.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -506,7 +506,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` formatting, fmt, numpy, cats.effect.IO, qualified, Control.Monad, gitgalaxy.standards.language_standards, network... + * `Imports (Out-Degree: 0):` gitgalaxy.standards.language_standards, Foundation, qualified, fmt, gitgalaxy.engine, machine, type, cats.effect.IO... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/core/detector.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -533,7 +533,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Transceiver (Middle-Tier) | `Dependency Blast Radius (PageRank):` 6.045 * `Choke Point (Betweenness):` 0.000164 | `Ripple Effect (Closeness):` 0.02454 - * `Imports (Out-Degree: 3):` time, tiktoken, typing, gitgalaxy.standards.analysis_lens, collections, logging, gitgalaxy.core.spatial_correlation, re... + * `Imports (Out-Degree: 3):` gitgalaxy.standards.language_standards, typing, math, collections, gitgalaxy.core.spatial_correlation, gitgalaxy.standards.analysis_lens, tiktoken, logging... * `Imported By (In-Degree: 3):` (Excluded from Brief to save tokens) ### `gitgalaxy/core/prism.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -562,7 +562,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Transceiver (Middle-Tier) | `Dependency Blast Radius (PageRank):` 6.342 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.02454 - * `Imports (Out-Degree: 1):` typing, re, gitgalaxy.standards.language_standards, logging + * `Imports (Out-Degree: 1):` re, gitgalaxy.standards.language_standards, logging, typing * `Imported By (In-Degree: 3):` (Excluded from Brief to save tokens) ### `gitgalaxy/recorders/llm_recorder.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -587,7 +587,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Pure Producer (Foundation) | `Dependency Blast Radius (PageRank):` 8.009 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.019172 - * `Imports (Out-Degree: 0):` json, pathlib, typing, gitgalaxy.standards, collections, logging, statistics, heapq... + * `Imports (Out-Degree: 0):` statistics, heapq, typing, collections, json, gitgalaxy.standards, logging, pathlib... * `Imported By (In-Degree: 2):` (Excluded from Brief to save tokens) ### `tests/core_engine/test_galaxyscope.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -613,7 +613,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` subprocess, yaml, re, name, must, gitgalaxy.galaxyscope, tempfile, unittest.mock... + * `Imports (Out-Degree: 0):` yaml, or, unittest.mock, logging, re, subprocess, concurrent.futures, passes... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/security/manifest_parser.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -636,7 +636,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` json, pathlib, typing, os, logging, re + * `Imports (Out-Degree: 0):` typing, json, logging, pathlib, re, os * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/metrics/chronometer.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -660,7 +660,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Transceiver (Middle-Tier) | `Dependency Blast Radius (PageRank):` 8.009 * `Choke Point (Betweenness):` 3.8e-05 | `Ripple Effect (Closeness):` 0.019172 - * `Imports (Out-Degree: 1):` time, subprocess, gitgalaxy.standards.config_resolver, pathlib, typing, gitgalaxy.standards, os, logging... + * `Imports (Out-Degree: 1):` typing, gitgalaxy.standards.config_resolver, gitgalaxy.standards, os, logging, pathlib, shutil, time... * `Imported By (In-Degree: 2):` (Excluded from Brief to save tokens) ### `gitgalaxy/security/security_auditor.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -681,7 +681,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` pathlib, typing, gitgalaxy.standards.analysis_lens, collections, logging, numpy, pandas, networkx... + * `Imports (Out-Degree: 0):` numpy, typing, networkx, collections, gitgalaxy.standards.analysis_lens, logging, pathlib, pandas... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/cobol_refractor_controller.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -709,7 +709,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Pure Consumer (Orchestrator) | `Dependency Blast Radius (PageRank):` 7.772 * `Choke Point (Betweenness):` 0.000341 | `Ripple Effect (Closeness):` 0.006135 - * `Imports (Out-Degree: 9):` json, gitgalaxy.tools.cobol_to_cobol.cobol_agent_task_forge, gitgalaxy.tools.cobol_to_cobol.cobol_schema_forge, gitgalaxy.licensing, argparse, pathlib, typing, gitgalaxy.tools.cobol_to_cobol.cobol_lexical_patcher... + * `Imports (Out-Degree: 9):` gitgalaxy.tools.cobol_to_cobol.cobol_graveyard_finder, gitgalaxy.tools.cobol_to_cobol.cobol_jcl_forge, typing, gitgalaxy.licensing, gitgalaxy.tools.cobol_to_cobol.cobol_jcl_auditor, gitgalaxy.tools.cobol_to_cobol.cobol_microservice_slicer, gitgalaxy.tools.cobol_to_cobol.cobol_schema_forge, json... * `Imported By (In-Degree: 1):` (Excluded from Brief to save tokens) ### `tests/core_engine/test_detector.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -733,7 +733,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` gitgalaxy.standards.gitgalaxy_config, logging, gitgalaxy.core.detector, gitgalaxy.core.prism, gitgalaxy.core.spatial_mapper, re, gitgalaxy.standards.language_standards, pytest... + * `Imports (Out-Degree: 0):` gitgalaxy.standards.language_standards, math, gitgalaxy.standards.gitgalaxy_config, gitgalaxy.core.detector, with, unittest.mock, gitgalaxy.core.spatial_mapper, logging... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `tests/dead_key_audit.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -757,7 +757,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` json, argparse, pathlib, typing, ast, sys + * `Imports (Out-Degree: 0):` typing, ast, json, sys, pathlib, argparse * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/standards/config_resolver.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -780,12 +780,12 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` copy, yaml, dataclasses, typing, gitgalaxy.standards, logging, __future__ + * `Imports (Out-Degree: 0):` yaml, copy, typing, gitgalaxy.standards, __future__, logging, dataclasses * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/standards/language_standards.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) - **Global Archetype:** `Unknown Archetype` (Drift: N/A IQR) -- **Magnitude:** 353.22 | **LOC:** 11336 | **CtrlFlow:** 0.0% | **Authorship Centralization:** 0.0% +- **Magnitude:** 353.28 | **LOC:** 11367 | **CtrlFlow:** 0.0% | **Authorship Centralization:** 0.0% - **Algorithmic:** O(N) | **DB Complexity:** 0 - **Risk Profile:** Cognitive Load (0.0%), Tech Debt (0.0%) **Structural Signatures (Net Mitigated Signals):** @@ -796,7 +796,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` path, inside, typing, re, java.util., type, keyword. + * `Imports (Out-Degree: 0):` path, typing, inside, keyword., type, java.util., re * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `tests/core_engine/test_signal_processor.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -821,7 +821,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` which, json, os, gitgalaxy.recorders.sarif_recorder, pytest, gitgalaxy.metrics.signal_processor, identity, tempfile + * `Imports (Out-Degree: 0):` gitgalaxy.recorders.sarif_recorder, identity, json, which, gitgalaxy.metrics.signal_processor, tempfile, pytest, os * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/cobol_to_java_controller.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -848,7 +848,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Pure Consumer (Orchestrator) | `Dependency Blast Radius (PageRank):` 4.201 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 6):` json, org.slf4j.LoggerFactory, gitgalaxy.tools.cobol_to_java.cobol_to_java_service_forge, gitgalaxy.licensing, gitgalaxy.tools.cobol_to_java.cobol_to_java_build_forge, argparse, pathlib, org.slf4j.Logger... + * `Imports (Out-Degree: 6):` gitgalaxy.tools.cobol_to_java.cobol_to_java_spring_forge, gitgalaxy.tools.cobol_to_java.cobol_to_java_decoder_forge, gitgalaxy.tools.cobol_to_java.cobol_to_java_agent_forge, gitgalaxy.licensing, json, org.slf4j.Logger, sys, pathlib... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/recorders/sbom_recorder.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -876,7 +876,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Transceiver (Middle-Tier) | `Dependency Blast Radius (PageRank):` 9.794 * `Choke Point (Betweenness):` 0.000303 | `Ripple Effect (Closeness):` 0.02454 - * `Imports (Out-Degree: 4):` gitgalaxy.standards.gitgalaxy_config, json, pathlib, typing, os, logging, gitgalaxy.security.security_lens, datetime... + * `Imports (Out-Degree: 4):` gitgalaxy.security.security_lens, gitgalaxy.standards.language_standards, typing, gitgalaxy.standards.language_lens, gitgalaxy.standards.gitgalaxy_config, json, datetime, gitgalaxy.security.manifest_parser... * `Imported By (In-Degree: 3):` (Excluded from Brief to save tokens) ### `tests/security_auditing/test_supply_chain_firewall.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -900,7 +900,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Unknown | `Dependency Blast Radius (PageRank):` 0.0 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 0):` json, yaml, gitgalaxy.standards.config_resolver, pathlib, gitgalaxy.tools.supply_chain_security.supply_chain_firewall, sys, bypassed, pytest... + * `Imports (Out-Degree: 0):` yaml, bypassed, json, gitgalaxy.standards.config_resolver, unittest.mock, sys, gitgalaxy.metrics.signal_processor, pathlib... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/core/spatial_mapper.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -924,7 +924,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Pure Producer (Foundation) | `Dependency Blast Radius (PageRank):` 5.152 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.019172 - * `Imports (Out-Degree: 0):` hashlib, typing, logging, math + * `Imports (Out-Degree: 0):` typing, logging, hashlib, math * `Imported By (In-Degree: 2):` (Excluded from Brief to save tokens) ### `gitgalaxy/core/guidestar_lens.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -951,7 +951,7 @@ These files pull in the most external dependencies. They are highly coupled and * *Network Topology:* * `Ecosystem Role:` Transceiver (Middle-Tier) | `Dependency Blast Radius (PageRank):` 8.009 * `Choke Point (Betweenness):` 3.8e-05 | `Ripple Effect (Closeness):` 0.019172 - * `Imports (Out-Degree: 1):` gitgalaxy.standards.gitgalaxy_config, json, pathlib, typing, fnmatch, os, logging, re + * `Imports (Out-Degree: 1):` typing, gitgalaxy.standards.gitgalaxy_config, json, logging, pathlib, fnmatch, re, os * `Imported By (In-Degree: 2):` (Excluded from Brief to save tokens) ## 13. ARCHITECTURAL DRIFT ANOMALIES & ANTI-PATTERNS @@ -1028,7 +1028,7 @@ These are 'Core Architecture Nodes' that the entire ecosystem relies upon, but t - `gitgalaxy/standards/config_resolver.py` -> **Severity: 3294.1** (Blast Radius: 32.941 * Doc Risk: 100.0%) - `gitgalaxy/metrics/tensor_scanner.py` -> **Severity: 800.9** (Blast Radius: 8.009 * Doc Risk: 100.0%) -- `gitgalaxy/standards/language_standards.py` -> **Severity: 788.826** (Blast Radius: 48.215 * Doc Risk: 16.3606%) +- `gitgalaxy/standards/language_standards.py` -> **Severity: 790.263** (Blast Radius: 48.215 * Doc Risk: 16.3904%) - `gitgalaxy/tools/cobol_to_cobol/cobol_compiler_forge.py` -> **Severity: 777.2** (Blast Radius: 7.772 * Doc Risk: 100.0%) - `gitgalaxy/tools/network_auditing/full_api_network_map.py` -> **Severity: 739.647** (Blast Radius: 8.009 * Doc Risk: 92.352%)