gitgalaxy 2.7.0__tar.gz → 2.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/ast-accuracy-audit.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/gitgalaxy.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/golden-crucible.yml +4 -3
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/release-crucible-archive.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/rosetta-audit.yml +3 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/CLAUDE.md +15 -6
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/PKG-INFO +32 -6
- gitgalaxy-2.7.0/gitgalaxy.egg-info/PKG-INFO → gitgalaxy-2.8.0/README.md +25 -32
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/core/detector.py +148 -33
- gitgalaxy-2.8.0/gitgalaxy/core/graph_engine.py +782 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/core/network_risk_sensor.py +242 -251
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/core/state_rehydrator.py +62 -22
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/galaxyscope.py +108 -32
- gitgalaxy-2.8.0/gitgalaxy/metrics/archetype_classifier.py +134 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/metrics/signal_processor.py +189 -91
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/recorders/README.md +39 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/recorders/audit_recorder.py +32 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/recorders/llm_recorder.py +61 -12
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/recorders/record_keeper.py +191 -47
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/recorders/sarif_recorder.py +7 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/security/security_auditor.py +46 -81
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/security/security_lens.py +28 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/analysis_lens.py +729 -771
- gitgalaxy-2.8.0/gitgalaxy/standards/archetype_brains/file_archetype_brain.json +1413 -0
- gitgalaxy-2.8.0/gitgalaxy/standards/archetype_brains/repo_archetype_brain.json +516 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/config_resolver.py +2 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/gitgalaxy_config.py +13 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/cobol.py +155 -24
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/jcl.py +40 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/objectivec.py +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/yaml.py +19 -3
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/zig.py +11 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/supply_chain_security/supply_chain_firewall.py +4 -2
- gitgalaxy-2.7.0/README.md → gitgalaxy-2.8.0/gitgalaxy.egg-info/PKG-INFO +58 -5
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy.egg-info/SOURCES.txt +11 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy.egg-info/requires.txt +7 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy.egg-info/scm_file_list.json +14 -0
- gitgalaxy-2.8.0/gitgalaxy.egg-info/scm_version.json +8 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/pyproject.toml +18 -6
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_config_resolver.py +12 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_galaxyscope.py +172 -5
- gitgalaxy-2.8.0/tests/core_engine/test_graph_engine.py +230 -0
- gitgalaxy-2.8.0/tests/core_engine/test_no_networkx_runtime.py +54 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_signal_processor.py +152 -52
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_state_rehydrator.py +41 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_surface_families_contract.py +9 -4
- gitgalaxy-2.8.0/tests/core_engine/test_uncomputed_graph_metrics.py +164 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_zero_dependency.py +0 -4
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/dead_key_audit.py +21 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_cobol_strict.py +127 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/golden_master_audit.json +36096 -15084
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/golden_master_zero_dep_audit.json +36175 -15163
- gitgalaxy-2.8.0/tests/ruff_audit_baseline.json +11 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_network_risk_sensor.py +80 -119
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_security_auditor.py +39 -23
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_security_lens.py +107 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_supply_chain_firewall.py +21 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/test_golden_crucible.py +2 -2
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/crucible_check.py +2 -2
- gitgalaxy-2.8.0/tests/tools/embedded_verb_coverage.py +1319 -0
- gitgalaxy-2.8.0/tests/tools/graph_parity.py +284 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/self_scan.py +13 -13
- gitgalaxy-2.8.0/tests/tools/test_embedded_verb_coverage.py +234 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/update_golden_master.py +18 -4
- gitgalaxy-2.8.0/tests/tools_recorders/test_edge_data.py +226 -0
- gitgalaxy-2.7.0/gitgalaxy.egg-info/scm_version.json +0 -8
- gitgalaxy-2.7.0/tests/ruff_audit_baseline.json +0 -24
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/agents/class-start-scout.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/agents/contract-audit-scout.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/agents/gemini-analyzer.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/agents/issue-triage.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/agents/pipeline-manager.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/agents/strict-signature-scout.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/hooks/pytest_quiet.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/rules/ci-healing.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/rules/golden-master-guidelines.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/rules/planning-approval.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/rules/sandbox-permissions.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/rules/tri-comparison-chart.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/settings.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/ci-push-checklist/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/harden-class-start-extraction/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/harden-language-extraction/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/harden-strict-signatures/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/issue-generation/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/language-status/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/pipeline-check/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/readme-maintenance/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/release-notes/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/rule-contract-audit/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/score-contract-audit/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/self-scan-query/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/tree-sitter-accuracy-sweep/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude/skills/tri-comparison-ledger-sweep/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.claude.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.flake8 +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.galaxyscope.yaml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/CODEOWNERS +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/ISSUE_TEMPLATE/parsing_discrepancy.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/dependabot.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/pull_request_template.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/codeql.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/dead-key-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/deploy-docs.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/full-suite-gate.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/golden-master-guard.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/muninn.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/mypy-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/publish.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/ruff-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/signal-contract-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/smoke-test.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/tree-sitter-accuracy-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/tree-sitter-accuracy-history.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/tri-comparison-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.github/workflows/tri-comparison-history.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.gitignore +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/.gitlab-ci.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/AGENTS.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/ANTIGRAVITY.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/CONTRIBUTING.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/LICENSE +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/MANIFEST.in +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/SECURITY.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/action.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/azure-pipelines.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/bitbucket-pipelines.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/cobol_refractor_controller.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/cobol_to_java_controller.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/core/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/core/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/core/aperture.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/core/guidestar_lens.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/core/prism.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/core/spatial_correlation.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/core/spatial_mapper.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/licensing.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/metrics/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/metrics/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/metrics/chronometer.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/metrics/statistical_auditor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/metrics/tensor_scanner.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/recorders/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/recorders/gpu_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/recorders/sbom_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/requirements.txt +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/security/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/security/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/security/dependency_audit_cache.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/security/manifest_parser.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/fidelity_table.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/how_to_add_a_language.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_lens.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/_lens_config.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/_overrides.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/_prism_config.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/_shared_patterns.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/abap.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/ada.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/agc_assembly.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/apex.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/assembly.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/batch.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/blp.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/c.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/cpp.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/csharp.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/css.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/csv.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/dart.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/dockerfile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/embedded_python.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/fortran.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/glsl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/go.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/groovy.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/haskell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/hlo.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/html.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/java.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/javascript.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/json.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/kotlin.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/livecode.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/lua.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/m4.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/makefile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/markdown.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/matlab.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/mlir.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/nix.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/pbtxt.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/perl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/php.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/plaintext.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/powershell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/proto.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/python.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/ruby.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/rust.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/scala.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/scheme.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/shell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/solidity.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/sqlite.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/swift.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/tcl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/td.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/typescript.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/xml.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/language_standards/languages/yacc.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/standards/signal_contracts.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/ai_guardrails/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/ai_guardrails/ai_appsec_sensor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/ai_guardrails/dev_agent_firewall.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/cobol_agent_task_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/cobol_compiler_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/cobol_dag_architect.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/cobol_etl_unpacker.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/cobol_graveyard_finder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/cobol_jcl_auditor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/cobol_jcl_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/cobol_lexical_patcher.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/cobol_microservice_slicer.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/cobol_schema_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_cobol/cobol_system_limits_reporter.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_java/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_java/batch_test_harness.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_java/cobol_to_java_agent_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_java/cobol_to_java_api_contract_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_java/cobol_to_java_decoder_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_java/cobol_to_java_service_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_java/cobol_to_java_spring_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/cobol_to_java/cobol_to_java_test_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/network_auditing/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/network_auditing/full_api_network_map.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/supply_chain_security/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/supply_chain_security/binary_anomaly_detector.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/supply_chain_security/vault_sentinel.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/terabyte_log_scanning/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/terabyte_log_scanning/pii_leak_hunter.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy/tools/terabyte_log_scanning/terabyte_log_scanner.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy.egg-info/dependency_links.txt +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy.egg-info/entry_points.txt +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/gitgalaxy.egg-info/top_level.txt +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/github-action-readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/mkdocs.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/muninn.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/scripts/update_golden_masters.sh +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/setup.cfg +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/templates/azure/azure-pipelines.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/templates/bitbucket/bitbucket-pipelines.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/templates/bitbucket/bitbucket_insights.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/templates/github/gitgalaxy-pipeline.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/templates/gitlab/scan.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/templates/scan.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/_crucible_pin.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/ast_accuracy_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/ast_accuracy_baseline.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_agent_task_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_compiler_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_dag_architect.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_etl_unpacker.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_graveyard_finder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_jcl_auditor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_jcl_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_lexical_patcher.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_microservice_slicer.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_refractor_controller.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_schema_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/cobol_mainframe/test_cobol_system_limits_reporter.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_aperture.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_chronometer.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_chronometer_timeout.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_delta_scanner.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_detector.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_detector_issue_1718.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_export_visibility_contract_2904.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_guidestar_lens.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_handshake_issue_2549.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_lang_classification_2555.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_language_lens.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_language_standards_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_language_strictness.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_licensing.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_manifest_parser.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_naming_convention_signatures.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_path_modifiers.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_prism.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_prism_issue_1222.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_prism_issue_1302.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_prism_issue_1718.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_spatial_correlation.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_uef_length_invariance.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_unreferenced_by_name_contract_2806.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/core_engine/test_unreferenced_census_2866.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/dead_key_audit_baseline.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/_extraction_harness.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/how_to_extend_class_start_named_extraction.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/how_to_harden_extraction.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/how_to_harden_strict_signatures.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/_strict_harness.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_abap.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_abap_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_ada.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_ada_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_agc_assembly.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_agc_assembly_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_apex.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_apex_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_assembly.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_assembly_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_branch_contract_2822.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_c.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_c_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_cleanup_contract_2888.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_cobol.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_cpp.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_cpp_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_csharp.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_csharp_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_css.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_css_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_dart.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_dart_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_dockerfile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_dockerfile_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_embedded_python.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_embedded_python_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_fortran.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_fortran_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_globals_contract_2858.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_go.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_go_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_groovy.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_groovy_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_haskell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_haskell_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_high_risk_execution_contract_2878.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_html.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_html_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_immutability_locks_contract_2772.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_import_contract_2875.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_io_contract_2841.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_java.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_java_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_javascript.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_javascript_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_jcl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_jcl_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_kotlin.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_kotlin_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_livecode.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_livecode_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_lua.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_lua_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_m4.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_m4_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_makefile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_makefile_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_markdown_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_matlab.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_matlab_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_objectivec.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_objectivec_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_ownership_contract_2882.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_perl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_perl_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_php.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_php_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_powershell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_powershell_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_python.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_python_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_ruby.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_ruby_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_rust.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_rust_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_safety_contract_2869.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_scala.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_scala_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_scheme.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_scheme_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_shell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_shell_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_solidity.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_solidity_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_sqlite.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_sqlite_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_state_mutation_contract_2765.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_structure_contract_2856.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_swift.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_swift_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_tcl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_tcl_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_test_contract_2852.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_typescript.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_typescript_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_yacc.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_yacc_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_yaml.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_yaml_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_zig.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/languages/test_zig_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/test_args_extraction.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/test_class_extraction.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/test_dependency_extraction.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/test_function_extraction.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/tools/audit_strict_coverage.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/tools/sweep_redos_scaling.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/extraction/tools/verify_candidates.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/golden_diff.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/mypy_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/mypy_audit_baseline.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/ruff_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_ai_appsec_sensor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_api_network_map.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_binary_anomaly_detector.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_dependency_audit_cache.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_dev_agent_firewall.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_pii_leak_hunter.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_redos_poison.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_statistical_auditor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_tensor_auditor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_terabyte_log_scanner.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/security_auditing/test_vault_sentinel.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/signal_contract_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/signal_contract_audit_baseline.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/test_dead_key_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/test_signal_contract_sheet.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/audit_check.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/audit_length_invariance.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/audit_risk_equations.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/audit_score_inputs.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/bless_scope.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/census_probe.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/class_start_diff.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/contract_pr_check.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/ctags_reader.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/fidelity_table.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/recall_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/rosetta_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/rule_probe.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/scope_check.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/test_audit_runners_refuse_empty.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/test_ctags_reader_qualify.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/test_html_embedded_ts_funcs.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/test_tri_comparison_chart_badge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/test_tri_comparison_ledger.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/test_tri_comparison_reconcile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/tree_sitter_accuracy_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/tri_comparison_chart.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/tri_comparison_gatherer.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/tri_comparison_ledger.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/tri_comparison_reconcile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/tri_comparison_report.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools/worktree_env.sh +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_agent_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_audit_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_batch_test_harness.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_decoder_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_dependency_density_floor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_func_internal_density_floor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_golden_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_gpu_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_llm_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_record_keeper.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_sarif_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_sbom_generator.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tools_recorders/test_service_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_apex.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_c.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_cpp.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_csharp.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_css.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_dart.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_fortran.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_go.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_haskell.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_html.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_java.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_javascript.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_kotlin.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_lua.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_makefile.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_matlab.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_objective-c.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_perl.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_php.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_powershell.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_python.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_ruby.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_rust.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_scala.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_shell.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_solidity.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_swift.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_tcl.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_typescript.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tree_sitter_accuracy_baseline_zig.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tri_comparison_baseline_javascript.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tri_comparison_baseline_typescript.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/tests/tri_comparison_baseline_zig.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.0}/zizmor.yml +0 -0
|
@@ -47,7 +47,7 @@ jobs:
|
|
|
47
47
|
# No full-precision extras needed: function/class/args extraction
|
|
48
48
|
# (what this check measures) comes from detector.py's regex engine
|
|
49
49
|
# regardless of dependency mode -- only network/ML-derived columns
|
|
50
|
-
# (
|
|
50
|
+
# (token mass, ML) need tiktoken/pandas/xgboost, and
|
|
51
51
|
# this check never reads those.
|
|
52
52
|
- name: Install GitGalaxy
|
|
53
53
|
run: |
|
|
@@ -125,7 +125,7 @@ jobs:
|
|
|
125
125
|
- name: Install GitGalaxy & Full Precision Engines
|
|
126
126
|
run: |
|
|
127
127
|
python -m pip install --upgrade pip
|
|
128
|
-
pip install "gitgalaxy[yaml]"
|
|
128
|
+
pip install "gitgalaxy[yaml]" tiktoken xgboost pandas numpy
|
|
129
129
|
|
|
130
130
|
- name: Run GalaxyScope (single pass — all 6 outputs) # unchanged
|
|
131
131
|
env:
|
|
@@ -48,14 +48,15 @@ jobs:
|
|
|
48
48
|
# PyYAML is installed in BOTH legs -- since #1104 it's an optional
|
|
49
49
|
# `gitgalaxy[yaml]` extra, not a core dependency, so `pip install -e .`
|
|
50
50
|
# no longer pulls it in for either leg. "Zero-Dependency Mode" here has
|
|
51
|
-
# only ever meant
|
|
51
|
+
# only ever meant tiktoken/pandas/xgboost are absent (networkx is not used
|
|
52
|
+
# at all since #3041); the
|
|
52
53
|
# golden-master zero-dep fixture (tests/golden_master_zero_dep_audit.json)
|
|
53
54
|
# expects PyYAML present even on this leg.
|
|
54
55
|
if [ "${{ matrix.mode }}" = "full-precision" ]; then
|
|
55
56
|
echo "Installing heavy engines for Full-Precision Mode..."
|
|
56
|
-
pip install PyYAML
|
|
57
|
+
pip install PyYAML tiktoken pandas xgboost
|
|
57
58
|
else
|
|
58
|
-
echo "Deliberately skipping
|
|
59
|
+
echo "Deliberately skipping tiktoken/pandas/xgboost -- Zero-Dependency Mode leg."
|
|
59
60
|
pip install PyYAML
|
|
60
61
|
fi
|
|
61
62
|
pip install -e .
|
|
@@ -52,7 +52,7 @@ jobs:
|
|
|
52
52
|
run: |
|
|
53
53
|
cd gitgalaxy
|
|
54
54
|
python -m pip install --upgrade pip setuptools wheel
|
|
55
|
-
pip install PyYAML
|
|
55
|
+
pip install PyYAML tiktoken pandas xgboost
|
|
56
56
|
pip install -e .
|
|
57
57
|
|
|
58
58
|
- name: Fetch Language Crucible corpus (pinned via LANGUAGE_CRUCIBLE_REF, same as CI)
|
|
@@ -90,13 +90,15 @@ jobs:
|
|
|
90
90
|
- name: Install GitGalaxy PR build (full precision)
|
|
91
91
|
run: |
|
|
92
92
|
python -m pip install --upgrade pip
|
|
93
|
-
pip install PyYAML
|
|
93
|
+
pip install PyYAML tiktoken numpy pandas xgboost
|
|
94
94
|
pip install -e ./gitgalaxy
|
|
95
95
|
|
|
96
96
|
- name: Install GitGalaxy baseline build (full precision, separate venv)
|
|
97
97
|
run: |
|
|
98
98
|
python -m venv baseline-venv
|
|
99
99
|
baseline-venv/bin/pip install --upgrade pip
|
|
100
|
+
# networkx stays for the baseline: a main build from before #3041 still
|
|
101
|
+
# reads it to decide its mode, and must run at full precision.
|
|
100
102
|
baseline-venv/bin/pip install PyYAML networkx tiktoken numpy pandas xgboost
|
|
101
103
|
baseline-venv/bin/pip install ./gitgalaxy-baseline
|
|
102
104
|
|
|
@@ -105,7 +105,7 @@ diff be" is answered from data instead of a guess informed only by the issue tex
|
|
|
105
105
|
|
|
106
106
|
- **`docs/gitgalaxy_architecture_brief.md`** — auto-committed on every merge to main (a byproduct
|
|
107
107
|
of the CI scan that also produces SARIF/SBOM), so it's always close to current HEAD. This scan
|
|
108
|
-
always installs `
|
|
108
|
+
always installs `tiktoken`/`xgboost`/`pandas`/`numpy` first (`gitgalaxy.yml`'s
|
|
109
109
|
"Install GitGalaxy & Full Precision Engines" step) — confirm by checking the brief's own
|
|
110
110
|
Section 0 traceability table, which reports `Zero-Dependency Mode: Inactive (Full Precision)`.
|
|
111
111
|
Use it for *repo-wide* framing before a large refactor: Section 7 has the actual blast-radius
|
|
@@ -136,13 +136,15 @@ diff be" is answered from data instead of a guess informed only by the issue tex
|
|
|
136
136
|
"SELECT directory_group, COUNT(*) files, SUM(total_loc) loc, SUM(function_count) funcs
|
|
137
137
|
FROM file_data GROUP BY directory_group ORDER BY loc DESC LIMIT 8;"
|
|
138
138
|
```
|
|
139
|
-
- **Full-precision dependencies required:**
|
|
140
|
-
|
|
141
|
-
and `pyyaml` importable in whatever environment runs
|
|
142
|
-
galaxyscope
|
|
139
|
+
- **Full-precision dependencies required:** every graph column is native and needs
|
|
140
|
+
no optional package (networkx left the runtime in #3041); token mass and the ML columns need
|
|
141
|
+
`tiktoken`, `numpy`, `pandas`, `xgboost`, and `pyyaml` importable in whatever environment runs
|
|
142
|
+
the scan — without all of them, galaxyscope drops into Zero-Dependency Mode and those columns
|
|
143
|
+
come back NULL (`pagerank_score`/`normalized_blast_radius` are computed natively in both modes
|
|
144
|
+
since #3027; `docs/zero_dependency_mode.md` has the per-column list) (this
|
|
143
145
|
is *not* caused by `--db-only` itself, which only selects which recorder writes output; a
|
|
144
146
|
local dev venv missing one of these packages was the actual cause the one time this bit us).
|
|
145
|
-
`self_scan.py` now checks for all
|
|
147
|
+
`self_scan.py` now checks for all five before scanning and aborts loudly if any are missing,
|
|
146
148
|
rather than silently producing a degraded DB — if you hit that, `pip install` whatever it
|
|
147
149
|
lists. CI's copy (the `gitgalaxy-self-scan-db` artifact) always has these installed first, so
|
|
148
150
|
it's always full-precision; only a local run can be affected.
|
|
@@ -284,6 +286,13 @@ diffs were groovy and said nothing about the other 18 languages that had moved.
|
|
|
284
286
|
audit and diff it yourself:
|
|
285
287
|
|
|
286
288
|
```sh
|
|
289
|
+
# GITGALAXY_DISABLE_GIT_HISTORY=1 is NOT optional (#2985): test_golden_crucible.py sets it
|
|
290
|
+
# (and so does update_golden_master.py), so the committed fixtures have every git-derived
|
|
291
|
+
# field ablated. Omit it here and you get ~8,500 phantom differences on top of the real
|
|
292
|
+
# ones -- Architect ("Unknown Architect" -> your git identity), Raw Churn Frequency,
|
|
293
|
+
# Authorship Centralization, Instability/Volatility Exposure -- and a wasted rescan cycle
|
|
294
|
+
# before you work out none of them are yours.
|
|
295
|
+
GITGALAXY_DISABLE_GIT_HISTORY=1 \
|
|
287
296
|
.crucible_venvs/zero_dependency/bin/galaxyscope <language-crucible>/data \
|
|
288
297
|
--output /tmp/gm/ --file-speed --splicing-speed # same flags as tests/test_golden_crucible.py
|
|
289
298
|
python -c "
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitgalaxy
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.0
|
|
4
4
|
Summary: An AST-free, LLM-free zero-trust static analysis engine for mapping architectural risk, securing CI/CD pipelines, and modernizing legacy monoliths.
|
|
5
5
|
Author: Joe Esquibel
|
|
6
6
|
Project-URL: Homepage, https://gitgalaxy.io
|
|
@@ -21,6 +21,12 @@ Description-Content-Type: text/markdown
|
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
Provides-Extra: yaml
|
|
23
23
|
Requires-Dist: PyYAML>=6.0; extra == "yaml"
|
|
24
|
+
Provides-Extra: full
|
|
25
|
+
Requires-Dist: PyYAML>=6.0; extra == "full"
|
|
26
|
+
Requires-Dist: tiktoken; extra == "full"
|
|
27
|
+
Requires-Dist: xgboost; extra == "full"
|
|
28
|
+
Requires-Dist: pandas; extra == "full"
|
|
29
|
+
Requires-Dist: numpy; extra == "full"
|
|
24
30
|
Provides-Extra: tri-comparison
|
|
25
31
|
Requires-Dist: tree-sitter-language-pack; extra == "tri-comparison"
|
|
26
32
|
Dynamic: license-file
|
|
@@ -196,11 +202,15 @@ security-lens probe — one identical hardcoded secret in every language —
|
|
|
196
202
|
`credential_material` (formerly `risk_secrets_risk`; the `risk_*` name remains
|
|
197
203
|
the DB column — see [`docs/vectors.md`](docs/vectors.md)) read a **uniform
|
|
198
204
|
score across all 44 languages the lens covers**, and the two exceptions (the
|
|
199
|
-
engine deliberately
|
|
200
|
-
|
|
201
|
-
ledgered and filed the same day
|
|
205
|
+
engine deliberately skipped its security lens on inert data formats) and the
|
|
206
|
+
formula's measured length dependence were ledgered and filed the same day
|
|
202
207
|
([#2978](https://github.com/squid-protocol/gitgalaxy/issues/2978),
|
|
203
|
-
[#2979](https://github.com/squid-protocol/gitgalaxy/issues/2979)).
|
|
208
|
+
[#2979](https://github.com/squid-protocol/gitgalaxy/issues/2979)). #2978 is
|
|
209
|
+
closed: the lens now runs on all five inert formats
|
|
210
|
+
(plaintext/markdown/json/yaml/csv), with a `SECURITY_SCAN_INERT_FORMATS`
|
|
211
|
+
config opt-out for repos where that trades too much doc/config noise for the
|
|
212
|
+
coverage; keyword-rosetta's corpus re-verification against the merged fix is
|
|
213
|
+
tracked in the ledger's `secrets-lens-inert-formats` entry.
|
|
204
214
|
Every deviation is recorded in a validated ledger, the work is tracked by cause
|
|
205
215
|
family under the [contract roadmap](docs/contract_roadmap.md), and
|
|
206
216
|
the defect classes found this way are
|
|
@@ -437,12 +447,28 @@ GitGalaxy is designed for local and air-gapped operation.
|
|
|
437
447
|
# Installation
|
|
438
448
|
|
|
439
449
|
``` bash
|
|
440
|
-
pip install gitgalaxy
|
|
450
|
+
pip install gitgalaxy # zero install dependencies
|
|
451
|
+
pip install "gitgalaxy[full]" # + tiktoken, xgboost, pandas, numpy, pyyaml
|
|
441
452
|
```
|
|
442
453
|
|
|
443
454
|
See the [documentation](https://squid-protocol.github.io/gitgalaxy/) for
|
|
444
455
|
current commands and configuration.
|
|
445
456
|
|
|
457
|
+
### Zero-dependency mode
|
|
458
|
+
|
|
459
|
+
A plain `pip install gitgalaxy` pulls in nothing, for environments where
|
|
460
|
+
every third-party package is a supply-chain question. Scans still run: every
|
|
461
|
+
structural signal, dependency edge, in/out-degree count, PageRank / blast
|
|
462
|
+
radius, betweenness, closeness, average path length, modularity, cyclic
|
|
463
|
+
density, articulation points and assortativity is measured exactly as in full
|
|
464
|
+
precision (these are computed natively). What needs the optional engines is
|
|
465
|
+
token mass and read cost (`tiktoken`), ML threat
|
|
466
|
+
classification (`xgboost`/`pandas`/`numpy`) and YAML config/OpenAPI parsing
|
|
467
|
+
(`pyyaml`). A metric that was not computed is reported as absent (`n/a` /
|
|
468
|
+
NULL), never as a zero. Each output says when a scan ran in this mode, and
|
|
469
|
+
[`docs/zero_dependency_mode.md`](docs/zero_dependency_mode.md) lists, field by
|
|
470
|
+
field, what is identical and what is unavailable.
|
|
471
|
+
|
|
446
472
|
### CI/CD
|
|
447
473
|
|
|
448
474
|
Templates are provided for GitHub Actions, GitLab CI, Bitbucket Pipelines,
|
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: gitgalaxy
|
|
3
|
-
Version: 2.7.0
|
|
4
|
-
Summary: An AST-free, LLM-free zero-trust static analysis engine for mapping architectural risk, securing CI/CD pipelines, and modernizing legacy monoliths.
|
|
5
|
-
Author: Joe Esquibel
|
|
6
|
-
Project-URL: Homepage, https://gitgalaxy.io
|
|
7
|
-
Project-URL: Documentation, https://squid-protocol.github.io/gitgalaxy/
|
|
8
|
-
Project-URL: Source, https://github.com/squid-protocol/gitgalaxy
|
|
9
|
-
Project-URL: Tracker, https://github.com/squid-protocol/gitgalaxy/issues
|
|
10
|
-
Keywords: static-analysis,security,devsecops,visualization,ast,zero-trust,sbom,legacy-migration
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Operating System :: OS Independent
|
|
13
|
-
Classifier: Environment :: Console
|
|
14
|
-
Classifier: Topic :: Security
|
|
15
|
-
Classifier: Topic :: Software Development :: Quality Assurance
|
|
16
|
-
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
17
|
-
Classifier: Intended Audience :: Developers
|
|
18
|
-
Classifier: Intended Audience :: Information Technology
|
|
19
|
-
Requires-Python: >=3.9
|
|
20
|
-
Description-Content-Type: text/markdown
|
|
21
|
-
License-File: LICENSE
|
|
22
|
-
Provides-Extra: yaml
|
|
23
|
-
Requires-Dist: PyYAML>=6.0; extra == "yaml"
|
|
24
|
-
Provides-Extra: tri-comparison
|
|
25
|
-
Requires-Dist: tree-sitter-language-pack; extra == "tri-comparison"
|
|
26
|
-
Dynamic: license-file
|
|
27
|
-
|
|
28
1
|
# GitGalaxy
|
|
29
2
|
|
|
30
3
|
**Repository-scale structural intelligence without compilation.**
|
|
@@ -196,11 +169,15 @@ security-lens probe — one identical hardcoded secret in every language —
|
|
|
196
169
|
`credential_material` (formerly `risk_secrets_risk`; the `risk_*` name remains
|
|
197
170
|
the DB column — see [`docs/vectors.md`](docs/vectors.md)) read a **uniform
|
|
198
171
|
score across all 44 languages the lens covers**, and the two exceptions (the
|
|
199
|
-
engine deliberately
|
|
200
|
-
|
|
201
|
-
ledgered and filed the same day
|
|
172
|
+
engine deliberately skipped its security lens on inert data formats) and the
|
|
173
|
+
formula's measured length dependence were ledgered and filed the same day
|
|
202
174
|
([#2978](https://github.com/squid-protocol/gitgalaxy/issues/2978),
|
|
203
|
-
[#2979](https://github.com/squid-protocol/gitgalaxy/issues/2979)).
|
|
175
|
+
[#2979](https://github.com/squid-protocol/gitgalaxy/issues/2979)). #2978 is
|
|
176
|
+
closed: the lens now runs on all five inert formats
|
|
177
|
+
(plaintext/markdown/json/yaml/csv), with a `SECURITY_SCAN_INERT_FORMATS`
|
|
178
|
+
config opt-out for repos where that trades too much doc/config noise for the
|
|
179
|
+
coverage; keyword-rosetta's corpus re-verification against the merged fix is
|
|
180
|
+
tracked in the ledger's `secrets-lens-inert-formats` entry.
|
|
204
181
|
Every deviation is recorded in a validated ledger, the work is tracked by cause
|
|
205
182
|
family under the [contract roadmap](docs/contract_roadmap.md), and
|
|
206
183
|
the defect classes found this way are
|
|
@@ -437,12 +414,28 @@ GitGalaxy is designed for local and air-gapped operation.
|
|
|
437
414
|
# Installation
|
|
438
415
|
|
|
439
416
|
``` bash
|
|
440
|
-
pip install gitgalaxy
|
|
417
|
+
pip install gitgalaxy # zero install dependencies
|
|
418
|
+
pip install "gitgalaxy[full]" # + tiktoken, xgboost, pandas, numpy, pyyaml
|
|
441
419
|
```
|
|
442
420
|
|
|
443
421
|
See the [documentation](https://squid-protocol.github.io/gitgalaxy/) for
|
|
444
422
|
current commands and configuration.
|
|
445
423
|
|
|
424
|
+
### Zero-dependency mode
|
|
425
|
+
|
|
426
|
+
A plain `pip install gitgalaxy` pulls in nothing, for environments where
|
|
427
|
+
every third-party package is a supply-chain question. Scans still run: every
|
|
428
|
+
structural signal, dependency edge, in/out-degree count, PageRank / blast
|
|
429
|
+
radius, betweenness, closeness, average path length, modularity, cyclic
|
|
430
|
+
density, articulation points and assortativity is measured exactly as in full
|
|
431
|
+
precision (these are computed natively). What needs the optional engines is
|
|
432
|
+
token mass and read cost (`tiktoken`), ML threat
|
|
433
|
+
classification (`xgboost`/`pandas`/`numpy`) and YAML config/OpenAPI parsing
|
|
434
|
+
(`pyyaml`). A metric that was not computed is reported as absent (`n/a` /
|
|
435
|
+
NULL), never as a zero. Each output says when a scan ran in this mode, and
|
|
436
|
+
[`docs/zero_dependency_mode.md`](docs/zero_dependency_mode.md) lists, field by
|
|
437
|
+
field, what is identical and what is unavailable.
|
|
438
|
+
|
|
446
439
|
### CI/CD
|
|
447
440
|
|
|
448
441
|
Templates are provided for GitHub Actions, GitLab CI, Bitbucket Pipelines,
|
|
@@ -1094,6 +1094,14 @@ def _name_boundary_pattern(func_name: str) -> str:
|
|
|
1094
1094
|
return r"(?<!\w)" + re.escape(func_name) + r"(?!\w)"
|
|
1095
1095
|
|
|
1096
1096
|
|
|
1097
|
+
# A name that is a single maximal word token. For such names the boundary
|
|
1098
|
+
# pattern `(?<!\w)name(?!\w)` matches exactly the `\w+` tokens equal to `name`,
|
|
1099
|
+
# so occurrences can be read from a precomputed word-token index instead of
|
|
1100
|
+
# rescanning the whole stream. Names with non-word characters (ruby `empty?`,
|
|
1101
|
+
# scheme `set!`, C++ `operator==`) do NOT qualify and take the exact fallback.
|
|
1102
|
+
_WORD_NAME_RE = re.compile(r"\w+")
|
|
1103
|
+
|
|
1104
|
+
|
|
1097
1105
|
# #2823: one name inside a `_visibility_export_list` region. The region is the
|
|
1098
1106
|
# text between the export construct's own delimiters, so what separates two
|
|
1099
1107
|
# names in it is whitespace, a comma, or a nested bracket -- a Haskell list
|
|
@@ -1635,6 +1643,22 @@ class StructuralExtractor:
|
|
|
1635
1643
|
else self._build_brace_safe_stream(code_stream, self.primary_lang_id)
|
|
1636
1644
|
)
|
|
1637
1645
|
|
|
1646
|
+
# #PERF: the class loop below converts raw string indices to line
|
|
1647
|
+
# numbers. `code_stream.count("\n", 0, idx)` is O(len(code_stream))
|
|
1648
|
+
# per call, so doing it per class was O(classes x filesize) -- part
|
|
1649
|
+
# of the same O(N^2) family as the orphan scan. Precompute the
|
|
1650
|
+
# newline offsets once; each lookup is then an O(log n) bisect.
|
|
1651
|
+
# bisect_left(offsets, idx) == count of "\n" strictly before idx ==
|
|
1652
|
+
# code_stream.count("\n", 0, idx), so `+ 1` still yields the line.
|
|
1653
|
+
_nl_offsets: list[int] = []
|
|
1654
|
+
_p = code_stream.find("\n")
|
|
1655
|
+
while _p != -1:
|
|
1656
|
+
_nl_offsets.append(_p)
|
|
1657
|
+
_p = code_stream.find("\n", _p + 1)
|
|
1658
|
+
|
|
1659
|
+
def _line_at(idx: int) -> int:
|
|
1660
|
+
return bisect.bisect_left(_nl_offsets, idx) + 1
|
|
1661
|
+
|
|
1638
1662
|
for i, match in enumerate(class_matches):
|
|
1639
1663
|
if self.primary_lang_id == "cpp":
|
|
1640
1664
|
if not _cpp_class_has_body(code_stream, match.end()):
|
|
@@ -1725,8 +1749,9 @@ class StructuralExtractor:
|
|
|
1725
1749
|
)
|
|
1726
1750
|
|
|
1727
1751
|
# Convert raw string indices to line numbers for spatial bounding
|
|
1728
|
-
|
|
1729
|
-
|
|
1752
|
+
# (O(log n) bisect over precomputed newline offsets; see _line_at)
|
|
1753
|
+
start_line = _line_at(start_idx)
|
|
1754
|
+
end_line = _line_at(end_idx)
|
|
1730
1755
|
# If end_idx sits exactly at the start of a new line (the
|
|
1731
1756
|
# indentation resolver's dedent point, or the flat fallback,
|
|
1732
1757
|
# both land there by construction) that line belongs to
|
|
@@ -1819,6 +1844,22 @@ class StructuralExtractor:
|
|
|
1819
1844
|
# hashing every function body would be wasted work in the common case.
|
|
1820
1845
|
body_hash_counts: collections.Counter[tuple[str, str]] = collections.Counter()
|
|
1821
1846
|
func_body_hashes: dict[int, str] = {}
|
|
1847
|
+
|
|
1848
|
+
# #PERF: `_is_orphan` asks "does this name occur outside its own
|
|
1849
|
+
# span?", previously by re-scanning the WHOLE code_stream once per
|
|
1850
|
+
# function -- O(functions x filesize), ~10s on a 1MB generated
|
|
1851
|
+
# header with ~900 functions. Precompute a single whole-file index
|
|
1852
|
+
# of maximal word-token start offsets (ascending, so already sorted)
|
|
1853
|
+
# so each per-function test is an O(log n) bisect. Only names that
|
|
1854
|
+
# are a single \w+ token use it; names with non-word characters
|
|
1855
|
+
# (ruby `empty?`, scheme `set!`, C++ `operator==`) keep the exact
|
|
1856
|
+
# boundary-regex fallback inside `_is_orphan`.
|
|
1857
|
+
orphan_occ_index: Optional[dict[str, list[int]]] = None
|
|
1858
|
+
if names_its_callees and functions:
|
|
1859
|
+
orphan_occ_index = collections.defaultdict(list)
|
|
1860
|
+
for _m in re.finditer(r"\w+", code_stream):
|
|
1861
|
+
orphan_occ_index[_m.group()].append(_m.start())
|
|
1862
|
+
|
|
1822
1863
|
for func in functions:
|
|
1823
1864
|
func_name = func.get("name", "")
|
|
1824
1865
|
if func_name and func_name_counts[func_name] > 1:
|
|
@@ -1871,7 +1912,9 @@ class StructuralExtractor:
|
|
|
1871
1912
|
):
|
|
1872
1913
|
usage_status = 2 # 2 = Duplicate
|
|
1873
1914
|
duplicate_count += 1
|
|
1874
|
-
elif names_its_callees and self._is_orphan(
|
|
1915
|
+
elif names_its_callees and self._is_orphan(
|
|
1916
|
+
code_stream, func, func_name, export_name_starts, orphan_occ_index
|
|
1917
|
+
):
|
|
1875
1918
|
# Nothing outside the function's own definition names it.
|
|
1876
1919
|
#
|
|
1877
1920
|
# BUG FIX #2768: a `len(func_name) > 3` conjunct used to
|
|
@@ -2489,6 +2532,42 @@ class StructuralExtractor:
|
|
|
2489
2532
|
"""
|
|
2490
2533
|
return _correlate_signals_impl(targets, dampeners, max_distance)
|
|
2491
2534
|
|
|
2535
|
+
# The three AppSec sensor keys coding_analysis injects into every counts dict
|
|
2536
|
+
# (see below); factored out so `_active_coding_rules` and coding_analysis agree
|
|
2537
|
+
# on exactly which mapped keys are valid.
|
|
2538
|
+
_APPSEC_KEYS = ("memory_scraping", "exfiltration_camouflage", "rce_funnel")
|
|
2539
|
+
|
|
2540
|
+
def _active_coding_rules(self, seg_lang: str) -> list[tuple[str, Any, str]]:
|
|
2541
|
+
"""#PERF: the eligible `(rule_name, pattern, mapped_key)` rules for a
|
|
2542
|
+
language, computed once and cached. The eligibility tests -- skip
|
|
2543
|
+
`_`-prefixed meta keys and falsy/trivial patterns, resolve the CORE_MAPPING
|
|
2544
|
+
key, and drop rules whose mapped key isn't in the counts schema -- depend
|
|
2545
|
+
only on the static ruleset, so caching them removes tens of thousands of
|
|
2546
|
+
redundant `pattern.pattern.replace(...)*3.strip()` calls per scan. An
|
|
2547
|
+
unregistered rule is warned about once here rather than once per file."""
|
|
2548
|
+
cache = self.__dict__.setdefault("_active_rules_cache", {})
|
|
2549
|
+
cached = cache.get(seg_lang)
|
|
2550
|
+
if cached is not None:
|
|
2551
|
+
return cached
|
|
2552
|
+
valid_keys = set(self.UNIVERSAL_METRICS_SCHEMA).union(self._APPSEC_KEYS)
|
|
2553
|
+
active: list[tuple[str, Any, str]] = []
|
|
2554
|
+
for rule_name, pattern in self.languages.get(seg_lang, {}).get("rules", {}).items():
|
|
2555
|
+
if rule_name.startswith("_") or not pattern:
|
|
2556
|
+
continue
|
|
2557
|
+
mapped_key = self.CORE_MAPPING.get(rule_name, rule_name)
|
|
2558
|
+
if mapped_key not in valid_keys:
|
|
2559
|
+
self.logger.warning(
|
|
2560
|
+
f"[DIAGNOSTIC] Unregistered rule '{mapped_key}' found in '{seg_lang}'. Ignoring to preserve schema."
|
|
2561
|
+
)
|
|
2562
|
+
continue
|
|
2563
|
+
raw_pat = getattr(pattern, "pattern", str(pattern))
|
|
2564
|
+
clean_pat = raw_pat.replace("(?i)", "").replace("(?m)", "").replace("(?s)", "").strip()
|
|
2565
|
+
if clean_pat in ("", "()", "(?:)", "^", "$"):
|
|
2566
|
+
continue
|
|
2567
|
+
active.append((rule_name, pattern, mapped_key))
|
|
2568
|
+
cache[seg_lang] = active
|
|
2569
|
+
return active
|
|
2570
|
+
|
|
2492
2571
|
def coding_analysis(
|
|
2493
2572
|
self, segments: list[tuple[str, str, int]], regex_telemetry: Optional[dict] = None
|
|
2494
2573
|
) -> tuple[dict[str, int], dict[str, int], list[dict[str, list[int]]], list[str], dict[str, list[int]]]:
|
|
@@ -2496,7 +2575,7 @@ class StructuralExtractor:
|
|
|
2496
2575
|
|
|
2497
2576
|
# --- THE FIX: INJECT APPSEC SENSORS ---
|
|
2498
2577
|
# Force the new Phase 4 sensors into the schema so the LogicSplicer doesn't ignore them
|
|
2499
|
-
for appsec_key in
|
|
2578
|
+
for appsec_key in self._APPSEC_KEYS:
|
|
2500
2579
|
if appsec_key not in counts:
|
|
2501
2580
|
counts[appsec_key] = 0
|
|
2502
2581
|
|
|
@@ -2528,6 +2607,22 @@ class StructuralExtractor:
|
|
|
2528
2607
|
|
|
2529
2608
|
seg_len = len(seg_code)
|
|
2530
2609
|
|
|
2610
|
+
# #PERF: converting each match offset to a line number below used
|
|
2611
|
+
# `seg_code.count("\n", 0, m.start())` -- O(seg_len) per match, so
|
|
2612
|
+
# O(matches x seg_len) per segment (the same O(N^2) family as the
|
|
2613
|
+
# class-loop and orphan scans; ~3.9s on a 1MB single-segment header).
|
|
2614
|
+
# Precompute this segment's newline offsets once; each conversion is
|
|
2615
|
+
# then an O(log n) bisect. bisect_left(offsets, pos) == count of "\n"
|
|
2616
|
+
# strictly before pos == seg_code.count("\n", 0, pos).
|
|
2617
|
+
_seg_nl: list[int] = []
|
|
2618
|
+
_sp = seg_code.find("\n")
|
|
2619
|
+
while _sp != -1:
|
|
2620
|
+
_seg_nl.append(_sp)
|
|
2621
|
+
_sp = seg_code.find("\n", _sp + 1)
|
|
2622
|
+
|
|
2623
|
+
def _seg_line(pos: int, _nl: list[int] = _seg_nl, _offset: int = current_line_offset) -> int:
|
|
2624
|
+
return _offset + bisect.bisect_left(_nl, pos) + 1
|
|
2625
|
+
|
|
2531
2626
|
# #2674: a registry may declare `_scope_filters: {rule_name: filter_name}`
|
|
2532
2627
|
# for rules whose regex can match a construct that only *sometimes*
|
|
2533
2628
|
# means what the rule counts, and where the deciding context is the
|
|
@@ -2544,26 +2639,14 @@ class StructuralExtractor:
|
|
|
2544
2639
|
# ---> NEW: Spatial Map for this segment <---
|
|
2545
2640
|
spatial_map: dict[str, list[int]] = {}
|
|
2546
2641
|
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
f"[DIAGNOSTIC] Unregistered rule '{mapped_key}' found in '{seg_lang}'. Ignoring to preserve schema."
|
|
2556
|
-
)
|
|
2557
|
-
continue
|
|
2558
|
-
|
|
2559
|
-
if not pattern:
|
|
2560
|
-
continue
|
|
2561
|
-
|
|
2562
|
-
raw_pat = getattr(pattern, "pattern", str(pattern))
|
|
2563
|
-
clean_pat = raw_pat.replace("(?i)", "").replace("(?m)", "").replace("(?s)", "").strip()
|
|
2564
|
-
if clean_pat in ("", "()", "(?:)", "^", "$"):
|
|
2565
|
-
continue
|
|
2566
|
-
|
|
2642
|
+
# #PERF: rule eligibility (skip `_`-meta keys, empty/trivial
|
|
2643
|
+
# patterns, and rules whose mapped key isn't in the counts schema)
|
|
2644
|
+
# depends only on the language's static ruleset, not the file. It used
|
|
2645
|
+
# to re-run for every rule of every file -- recomputing
|
|
2646
|
+
# `pattern.pattern.replace(...)*3.strip()` and the membership tests
|
|
2647
|
+
# tens of thousands of times per scan. Compute it once per language
|
|
2648
|
+
# and cache it (see `_active_coding_rules`).
|
|
2649
|
+
for rule_name, pattern, mapped_key in self._active_coding_rules(seg_lang):
|
|
2567
2650
|
try:
|
|
2568
2651
|
t_rule_start = time.perf_counter()
|
|
2569
2652
|
|
|
@@ -2577,10 +2660,11 @@ class StructuralExtractor:
|
|
|
2577
2660
|
)
|
|
2578
2661
|
hit_indices = [m.start() for m in matches]
|
|
2579
2662
|
|
|
2580
|
-
# --->
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2663
|
+
# ---> Offset to LOC Conversion (#PERF: bind the
|
|
2664
|
+
# threat_locations list once and extend, instead of a
|
|
2665
|
+
# setdefault dict lookup per match) <---
|
|
2666
|
+
if hit_indices:
|
|
2667
|
+
threat_locations.setdefault(mapped_key, []).extend(_seg_line(idx) for idx in hit_indices)
|
|
2584
2668
|
|
|
2585
2669
|
# ---> THE LINEAGE EXTRACTOR <---
|
|
2586
2670
|
# In a `class Foo extends Bar` shape, group 1 is the name
|
|
@@ -2599,10 +2683,11 @@ class StructuralExtractor:
|
|
|
2599
2683
|
matches = list(re.finditer(str(pattern), seg_code))
|
|
2600
2684
|
hit_indices = [m.start() for m in matches]
|
|
2601
2685
|
|
|
2602
|
-
# --->
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2686
|
+
# ---> Offset to LOC Conversion (#PERF: bind the
|
|
2687
|
+
# threat_locations list once and extend, instead of a
|
|
2688
|
+
# setdefault dict lookup per match) <---
|
|
2689
|
+
if hit_indices:
|
|
2690
|
+
threat_locations.setdefault(mapped_key, []).extend(_seg_line(idx) for idx in hit_indices)
|
|
2606
2691
|
|
|
2607
2692
|
c = len(hit_indices)
|
|
2608
2693
|
|
|
@@ -2634,7 +2719,7 @@ class StructuralExtractor:
|
|
|
2634
2719
|
counts[mapped_key] += c
|
|
2635
2720
|
spatial_map.setdefault(mapped_key, []).extend(hit_indices)
|
|
2636
2721
|
|
|
2637
|
-
except Exception as e:
|
|
2722
|
+
except Exception as e: # noqa: PERF203 -- per-rule isolation: one rule's regex failure shouldn't abort the remaining rules for this file
|
|
2638
2723
|
self.logger.error(
|
|
2639
2724
|
f"[DIAGNOSTIC] Regex failure in rule '{rule_name}' for language '{seg_lang}': {e}"
|
|
2640
2725
|
)
|
|
@@ -8162,6 +8247,7 @@ class StructuralExtractor:
|
|
|
8162
8247
|
func: "FunctionNode",
|
|
8163
8248
|
func_name: str,
|
|
8164
8249
|
export_name_starts: frozenset[int] = frozenset(),
|
|
8250
|
+
occ_index: "Optional[dict[str, list[int]]]" = None,
|
|
8165
8251
|
) -> bool:
|
|
8166
8252
|
"""Does `func_name` occur anywhere outside its own definition?
|
|
8167
8253
|
|
|
@@ -8212,6 +8298,35 @@ class StructuralExtractor:
|
|
|
8212
8298
|
"""
|
|
8213
8299
|
start_idx = func.get("start_idx", 0)
|
|
8214
8300
|
end_idx = func.get("end_idx", start_idx)
|
|
8301
|
+
|
|
8302
|
+
# #PERF fast path: when a whole-file word-token index is supplied and
|
|
8303
|
+
# the name is a single \w+ token, its occurrences are exactly the index
|
|
8304
|
+
# entries for that name -- read inside/outside the span by bisect
|
|
8305
|
+
# (O(log n)) instead of re-running finditer over the entire code_stream
|
|
8306
|
+
# (O(len(code_stream))) once per function. Semantically identical to the
|
|
8307
|
+
# fallback below; verified by an old-vs-new parity harness across real
|
|
8308
|
+
# files (incl. ruby/scheme/C++ special-name languages, which take the
|
|
8309
|
+
# fallback and are unaffected).
|
|
8310
|
+
if occ_index is not None and _WORD_NAME_RE.fullmatch(func_name):
|
|
8311
|
+
offsets = occ_index.get(func_name)
|
|
8312
|
+
if not offsets:
|
|
8313
|
+
# No maximal-word occurrence at all -> matches the fallback's
|
|
8314
|
+
# inside==outside==0 -> declaration discount -> orphan.
|
|
8315
|
+
return True
|
|
8316
|
+
lo = bisect.bisect_left(offsets, start_idx)
|
|
8317
|
+
hi = bisect.bisect_left(offsets, end_idx)
|
|
8318
|
+
inside = hi - lo
|
|
8319
|
+
outside = len(offsets) - inside
|
|
8320
|
+
if export_name_starts:
|
|
8321
|
+
# An occurrence named in an export statement is a visibility
|
|
8322
|
+
# declaration, not a use -- discount the ones outside the span,
|
|
8323
|
+
# exactly as the fallback's `not in export_name_starts` does.
|
|
8324
|
+
outside -= sum(1 for off in offsets[:lo] if off in export_name_starts)
|
|
8325
|
+
outside -= sum(1 for off in offsets[hi:] if off in export_name_starts)
|
|
8326
|
+
if inside == 0:
|
|
8327
|
+
outside -= 1 # the declaration itself, which fell outside the span
|
|
8328
|
+
return outside <= 0
|
|
8329
|
+
|
|
8215
8330
|
word = re.compile(_name_boundary_pattern(func_name))
|
|
8216
8331
|
inside = outside = 0
|
|
8217
8332
|
for m in word.finditer(code_stream):
|