diff --git a/docs/gitgalaxy_architecture_brief.md b/docs/gitgalaxy_architecture_brief.md index d680f40c..b1da7af4 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-28T21:14:46.057373+00:00` | -| **Scan Duration** | `7.02s` | +| **Timestamp** | `2026-07-28T22:00:30.835042+00:00` | +| **Scan Duration** | `6.74s` | | **Git Branch** | `main` | -| **Git Commit** | `275634bc6ea063dbe9c5258205f754f0c8a8fe68` | +| **Git Commit** | `d064dff79e368373a68922a67fdfb81077e383c6` | | **Git Remote** | `https://github.com/squid-protocol/gitgalaxy` | | **Zero-Dependency Mode** | `Inactive (Full Precision)` | @@ -65,7 +65,7 @@ | Total Artifacts | 634 | | Analyzed Artifacts (Scanned) | 163 | | Excluded Artifacts (Unparsable data, binaries, unsupported formats) | 471 | -| Total LOC | 46547 | +| Total LOC | 46787 | | Volatility Index | 0.031 | | % Scanned of codebase = | 25.7% | | Dominant Lang | PYTHON | @@ -73,7 +73,7 @@ ## 3.5 MACRO-NETWORK TOPOLOGY (Resilience & Coupling) | Metric | Value | Interpretation | |---|---|---| -| Modularity | 0.616 | High = Clean micro-boundaries. Low = Spaghetti coupling. | +| Modularity | 0.6202 | 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 | 129 | 46066 | 79.1% | +| PYTHON | 129 | 46306 | 79.1% | | MARKDOWN | 23 | 0 | 14.1% | | YAML | 8 | 481 | 4.9% | | PLAINTEXT | 3 | 0 | 1.8% | @@ -199,10 +199,10 @@ These files pull in the most external dependencies. They are highly coupled and - `flatten_copybooks` (@ `gitgalaxy/tools/cobol_to_cobol/cobol_compiler_forge.py`) -> **O(2^N) [Recursive]** - `extract_lineage` (@ `gitgalaxy/tools/cobol_to_cobol/cobol_dag_architect.py`) -> **O(2^N) [Recursive]** * *Intent:* """ Analyzes a COBOL program to map internal variables to external physical files. Utilizes shared IR state to mask out unreachable logic and prevent ... -- `resolve_copybooks` (@ `gitgalaxy/tools/cobol_to_cobol/cobol_graveyard_finder.py`) -> **O(2^N) [Recursive]** - * *Intent:* """ Recursively hunts for COBOL 'COPY' statements and injects the contents of the target .cpy file directly into the memory string to ensure accurate ... - `parse_jcl_intent` (@ `gitgalaxy/tools/cobol_to_cobol/cobol_jcl_auditor.py`) -> **O(2^N) [Recursive]** * *Intent:* """Parses a JCL file to extract its raw execution and dataset allocation intent.""" +- `resolve_copybooks` (@ `gitgalaxy/tools/cobol_to_cobol/cobol_graveyard_finder.py`) -> **O(2^N) [Recursive]** + * *Intent:* """ Recursively hunts for COBOL 'COPY' statements and injects the contents of the target .cpy file directly into the memory string to ensure accurate ... - `draw_ascii_histogram` (@ `gitgalaxy/tools/terabyte_log_scanning/terabyte_log_scanner.py`) -> **O(2^N) [Recursive]** * *Intent:* """ Draws a dynamically scaled ASCII histogram. If the dataset is massive, it filters to show only the highest volume spikes to prevent terminal flood... @@ -224,11 +224,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 | 4827.64 | 2.59% | 0.0% | +| `tests/core_engine` | 17 | 4980.8 | 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 | 2054.88 | 8.06% | 17.92% | +| `gitgalaxy/standards` | 8 | 2055.02 | 8.06% | 17.92% | | `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% | @@ -256,14 +256,14 @@ 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 ### 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 @@ -284,61 +284,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.63** +### 1. `gitgalaxy/core/spatial_mapper.py` (PYTHON) -> Cumulative Risk: **752.65** - **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.78** +### 2. `gitgalaxy/metrics/statistical_auditor.py` (PYTHON) -> Cumulative Risk: **686.81** - **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.81** +### 3. `gitgalaxy/galaxyscope.py` (PYTHON) -> Cumulative Risk: **677.84** - **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.24** +### 4. `gitgalaxy/core/prism.py` (PYTHON) -> Cumulative Risk: **668.26** - **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.58** +### 5. `gitgalaxy/cobol_refractor_controller.py` (PYTHON) -> Cumulative Risk: **664.6** - **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.75** +### 6. `gitgalaxy/tools/cobol_to_cobol/cobol_compiler_forge.py` (PYTHON) -> Cumulative Risk: **662.77** - **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: **654.9** +### 7. `gitgalaxy/standards/config_resolver.py` (PYTHON) -> Cumulative Risk: **654.92** - **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.28** +### 8. `gitgalaxy/metrics/chronometer.py` (PYTHON) -> Cumulative Risk: **651.31** - **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.63** +### 9. `gitgalaxy/recorders/sbom_recorder.py` (PYTHON) -> Cumulative Risk: **644.65** - **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.63** +### 10. `gitgalaxy/recorders/sarif_recorder.py` (PYTHON) -> Cumulative Risk: **638.65** - **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%) @@ -371,17 +371,17 @@ 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.402 * `Choke Point (Betweenness):` 0.003297 | `Ripple Effect (Closeness):` 0.018519 - * `Imports (Out-Degree: 30):` gitgalaxy.recorders.sarif_recorder, gitgalaxy.recorders.audit_recorder, gitgalaxy.tools.ai_guardrails.ai_appsec_sensor, gitgalaxy.recorders.gpu_recorder, gitgalaxy.tools.network_auditing.full_api_network_map, gitgalaxy.recorders.sbom_recorder, zipfile, gitgalaxy.tools.supply_chain_security.binary_anomaly_detector... + * `Imports (Out-Degree: 30):` gitgalaxy.recorders.audit_recorder, re, gitgalaxy.core.network_risk_sensor, gitgalaxy.tools.ai_guardrails.ai_appsec_sensor, shutil, gitgalaxy.security.dependency_audit_cache, os, time... * `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:** 2243.9 | **LOC:** 6744 | **CtrlFlow:** 0.0% | **Authorship Centralization:** 0.0% +- **Magnitude:** 2397.06 | **LOC:** 7241 | **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:** + * `test_livecode_ambiguity_io_vs_ipc_rpc_br` (Impact: 302.2 | O(N^3) | DB: 6) * `test_cpp_macro_multiline_spiral` (Impact: 263.1 | O(N^5) | DB: 19) - * `test_livecode_ambiguity_io_vs_ipc_rpc_br` (Impact: 249.5 | O(N^3) | DB: 2) * `test_zig_at_builtins_leading_boundary_re` (Impact: 156.2 | O(N^3) | DB: 13) * `test_perl_ambiguity_sweep_shared_literal` (Impact: 148.4 | O(N^3) | DB: 1) * `test_php_ambiguity_sweep_shared_literals` (Impact: 143.3 | O(N^3) | DB: 1) @@ -393,7 +393,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):` qualified, kotlin.collections.List, shapes, com.example.foo.Bar, Brick, multiprocessing, time, still... + * `Imports (Out-Degree: 0):` re, static, time, os, shapes, data.csv, and, Yesod... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/core/network_risk_sensor.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -415,7 +415,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.732 * `Choke Point (Betweenness):` 7e-05 | `Ripple Effect (Closeness):` 0.030247 - * `Imports (Out-Degree: 1):` math, gitgalaxy.standards.analysis_lens, collections, logging, typing, warnings, networkx.algorithms, token... + * `Imports (Out-Degree: 1):` networkx, math, gitgalaxy.standards.analysis_lens, collections, warnings, typing, pathlib, logging... * `Imported By (In-Degree: 4):` (Excluded from Brief to save tokens) ### `gitgalaxy/metrics/signal_processor.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -441,7 +441,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.744 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.035915 - * `Imports (Out-Degree: 0):` math, statistics, os, typing, logging, re, gitgalaxy.standards + * `Imports (Out-Degree: 0):` re, math, statistics, os, typing, gitgalaxy.standards, logging * `Imported By (In-Degree: 5):` (Excluded from Brief to save tokens) ### `gitgalaxy/metrics/statistical_auditor.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -468,7 +468,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.043 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.01929 - * `Imports (Out-Degree: 0):` math, os, statistics, typing, logging + * `Imports (Out-Degree: 0):` math, statistics, os, typing, logging * `Imported By (In-Degree: 2):` (Excluded from Brief to save tokens) ### `gitgalaxy/standards/language_lens.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -491,7 +491,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):` time, math, gitgalaxy.standards.language_standards, logging, typing, re, pathlib, gitgalaxy.standards.gitgalaxy_config + * `Imports (Out-Degree: 0):` re, math, time, typing, gitgalaxy.standards.language_standards, pathlib, logging, gitgalaxy.standards.gitgalaxy_config * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `tests/extraction/test_dependency_extraction_strict.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -507,7 +507,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):` cats.effect.IO, Control.Monad, qualified, formatting, url, gitgalaxy.standards.language_standards, matlab.unittest., signatures... + * `Imports (Out-Degree: 0):` static, os, cats.effect.IO, UIKit, gitgalaxy.engine, std.core, java.util.List, signatures... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/core/detector.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -534,7 +534,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.07 * `Choke Point (Betweenness):` 0.000166 | `Ripple Effect (Closeness):` 0.024691 - * `Imports (Out-Degree: 3):` time, math, gitgalaxy.standards.analysis_lens, gitgalaxy.standards.language_standards, tiktoken, logging, typing, collections... + * `Imports (Out-Degree: 3):` gitgalaxy.core.spatial_correlation, re, math, gitgalaxy.standards.analysis_lens, time, collections, bisect, typing... * `Imported By (In-Degree: 3):` (Excluded from Brief to save tokens) ### `gitgalaxy/core/prism.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -563,7 +563,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.369 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.024691 - * `Imports (Out-Degree: 1):` typing, logging, gitgalaxy.standards.language_standards, re + * `Imports (Out-Degree: 1):` re, logging, typing, gitgalaxy.standards.language_standards * `Imported By (In-Degree: 3):` (Excluded from Brief to save tokens) ### `gitgalaxy/recorders/llm_recorder.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -588,7 +588,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.043 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.01929 - * `Imports (Out-Degree: 0):` statistics, sqlite3, logging, typing, collections, heapq, json, pathlib... + * `Imports (Out-Degree: 0):` statistics, collections, sqlite3, typing, pathlib, logging, gitgalaxy.standards, heapq... * `Imported By (In-Degree: 2):` (Excluded from Brief to save tokens) ### `tests/core_engine/test_galaxyscope.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -614,7 +614,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):` yaml, must, name, passes, gitgalaxy.standards.analysis_lens, unittest.mock, logging, gitgalaxy.core.aperture... + * `Imports (Out-Degree: 0):` re, os, subprocess, yaml, gitgalaxy.standards.analysis_lens, unittest, logging, must... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/security/manifest_parser.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -637,7 +637,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):` os, logging, typing, json, re, pathlib + * `Imports (Out-Degree: 0):` re, os, typing, pathlib, logging, json * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/metrics/chronometer.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -661,7 +661,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.043 * `Choke Point (Betweenness):` 3.8e-05 | `Ripple Effect (Closeness):` 0.01929 - * `Imports (Out-Degree: 1):` shutil, time, os, logging, typing, pathlib, subprocess, gitgalaxy.standards... + * `Imports (Out-Degree: 1):` shutil, time, os, typing, subprocess, logging, pathlib, gitgalaxy.standards... * `Imported By (In-Degree: 2):` (Excluded from Brief to save tokens) ### `gitgalaxy/security/security_auditor.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -682,7 +682,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.analysis_lens, collections, logging, typing, pathlib, xgboost, numpy, networkx... + * `Imports (Out-Degree: 0):` xgboost, networkx, numpy, gitgalaxy.standards.analysis_lens, collections, typing, pathlib, logging... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/cobol_refractor_controller.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -710,7 +710,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.804 * `Choke Point (Betweenness):` 0.000345 | `Ripple Effect (Closeness):` 0.006173 - * `Imports (Out-Degree: 9):` gitgalaxy.tools.cobol_to_cobol.cobol_agent_task_forge, gitgalaxy.tools.cobol_to_cobol.cobol_jcl_auditor, datetime, sqlite3, typing, gitgalaxy.licensing, gitgalaxy.tools.cobol_to_cobol.cobol_lexical_patcher, gitgalaxy.tools.cobol_to_cobol.cobol_dag_architect... + * `Imports (Out-Degree: 9):` gitgalaxy.tools.cobol_to_cobol.cobol_jcl_forge, gitgalaxy.tools.cobol_to_cobol.cobol_dag_architect, gitgalaxy.tools.cobol_to_cobol.cobol_jcl_auditor, sys, sqlite3, typing, pathlib, gitgalaxy.tools.cobol_to_cobol.cobol_graveyard_finder... * `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%) @@ -734,7 +734,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):` math, gitgalaxy.standards.language_standards, gitgalaxy.core.prism, logging, unittest.mock, gitgalaxy.core.spatial_mapper, gitgalaxy.core.detector, re... + * `Imports (Out-Degree: 0):` re, math, gitgalaxy.core.detector, gitgalaxy.core.prism, gitgalaxy.standards.language_standards, pytest, logging, with... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `tests/dead_key_audit.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -758,7 +758,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):` typing, ast, sys, json, pathlib, argparse + * `Imports (Out-Degree: 0):` sys, ast, typing, pathlib, json, argparse * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/standards/config_resolver.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -781,12 +781,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):` gitgalaxy.standards, __future__, yaml, logging, typing, dataclasses, copy + * `Imports (Out-Degree: 0):` yaml, copy, __future__, typing, gitgalaxy.standards, 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:** 352.98 | **LOC:** 11245 | **CtrlFlow:** 0.0% | **Authorship Centralization:** 0.0% +- **Magnitude:** 353.12 | **LOC:** 11267 | **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):** @@ -797,7 +797,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):` typing, java.util., type, path, re, inside, keyword. + * `Imports (Out-Degree: 0):` re, inside, path, typing, keyword., type, java.util. * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `tests/core_engine/test_signal_processor.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -822,7 +822,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):` identity, gitgalaxy.recorders.sarif_recorder, os, gitgalaxy.metrics.signal_processor, json, tempfile, which, pytest + * `Imports (Out-Degree: 0):` identity, os, pytest, tempfile, json, which, gitgalaxy.recorders.sarif_recorder, gitgalaxy.metrics.signal_processor * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/cobol_to_java_controller.py` (PYTHON | Tier 2 | AI Safe: 0.0%) @@ -849,7 +849,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.219 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.0 - * `Imports (Out-Degree: 6):` shutil, gitgalaxy.tools.cobol_to_java.cobol_to_java_agent_forge, gitgalaxy.tools.cobol_to_java.cobol_to_java_api_contract_forge, org.springframework.stereotype.Service, gitgalaxy.licensing, gitgalaxy.tools.cobol_to_java.cobol_to_java_build_forge, gitgalaxy.tools.cobol_to_java.cobol_to_java_service_forge, sys... + * `Imports (Out-Degree: 6):` gitgalaxy.tools.cobol_to_java.cobol_to_java_agent_forge, gitgalaxy.tools.cobol_to_java.cobol_to_java_spring_forge, shutil, gitgalaxy.tools.cobol_to_java.cobol_to_java_api_contract_forge, gitgalaxy.tools.cobol_to_java.cobol_to_java_build_forge, org.slf4j.Logger, org.springframework.stereotype.Service, gitgalaxy.tools.cobol_to_java.cobol_to_java_service_forge... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/recorders/sbom_recorder.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -877,7 +877,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.835 * `Choke Point (Betweenness):` 0.000307 | `Ripple Effect (Closeness):` 0.024691 - * `Imports (Out-Degree: 4):` uuid, os, gitgalaxy.standards.language_lens, gitgalaxy.standards.language_standards, datetime, gitgalaxy.security.security_lens, logging, typing... + * `Imports (Out-Degree: 4):` gitgalaxy.standards.language_lens, os, typing, gitgalaxy.security.manifest_parser, pathlib, logging, gitgalaxy.security.security_lens, gitgalaxy.standards.language_standards... * `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%) @@ -901,7 +901,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):` was, yaml, gitgalaxy.tools.supply_chain_security.supply_chain_firewall, gitgalaxy.metrics.signal_processor, unittest.mock, sys, bypassed, json... + * `Imports (Out-Degree: 0):` yaml, policy, gitgalaxy.tools.supply_chain_security.supply_chain_firewall, was, sys, pytest, pathlib, bypassed... * `Imported By (In-Degree: 0):` None (Orphan / Entrypoint) ### `gitgalaxy/core/spatial_mapper.py` (PYTHON | Tier 1.5 | AI Safe: 0.0%) @@ -925,7 +925,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.174 * `Choke Point (Betweenness):` 0.0 | `Ripple Effect (Closeness):` 0.01929 - * `Imports (Out-Degree: 0):` math, typing, logging, hashlib + * `Imports (Out-Degree: 0):` typing, hashlib, logging, 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%) @@ -952,7 +952,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.043 * `Choke Point (Betweenness):` 3.8e-05 | `Ripple Effect (Closeness):` 0.01929 - * `Imports (Out-Degree: 1):` os, logging, typing, re, json, pathlib, gitgalaxy.standards.gitgalaxy_config, fnmatch + * `Imports (Out-Degree: 1):` fnmatch, re, os, typing, pathlib, logging, json, gitgalaxy.standards.gitgalaxy_config * `Imported By (In-Degree: 2):` (Excluded from Brief to save tokens) ## 13. ARCHITECTURAL DRIFT ANOMALIES & ANTI-PATTERNS @@ -1029,7 +1029,7 @@ These are 'Core Architecture Nodes' that the entire ecosystem relies upon, but t - `gitgalaxy/standards/config_resolver.py` -> **Severity: 3308.0** (Blast Radius: 33.08 * Doc Risk: 100.0%) - `gitgalaxy/metrics/tensor_scanner.py` -> **Severity: 804.3** (Blast Radius: 8.043 * Doc Risk: 100.0%) -- `gitgalaxy/standards/language_standards.py` -> **Severity: 787.545** (Blast Radius: 48.419 * Doc Risk: 16.2652%) +- `gitgalaxy/standards/language_standards.py` -> **Severity: 789.278** (Blast Radius: 48.419 * Doc Risk: 16.301%) - `gitgalaxy/tools/cobol_to_cobol/cobol_compiler_forge.py` -> **Severity: 780.4** (Blast Radius: 7.804 * Doc Risk: 100.0%) - `gitgalaxy/tools/network_auditing/full_api_network_map.py` -> **Severity: 742.787** (Blast Radius: 8.043 * Doc Risk: 92.352%)