gitgalaxy 2.7.0__tar.gz → 2.8.1__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.1}/.github/workflows/ast-accuracy-audit.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/gitgalaxy.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/golden-crucible.yml +4 -3
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/release-crucible-archive.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/rosetta-audit.yml +2 -2
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/CLAUDE.md +15 -6
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/PKG-INFO +32 -6
- gitgalaxy-2.7.0/gitgalaxy.egg-info/PKG-INFO → gitgalaxy-2.8.1/README.md +25 -32
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/action.yml +2 -2
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/azure-pipelines.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/bitbucket-pipelines.yml +2 -2
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/core/aperture.py +3 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/core/detector.py +158 -33
- gitgalaxy-2.8.1/gitgalaxy/core/graph_engine.py +782 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/core/network_risk_sensor.py +242 -251
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/core/state_rehydrator.py +62 -22
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/galaxyscope.py +136 -52
- gitgalaxy-2.8.1/gitgalaxy/metrics/archetype_classifier.py +134 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/metrics/signal_processor.py +204 -163
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/recorders/README.md +39 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/recorders/audit_recorder.py +33 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/recorders/llm_recorder.py +61 -12
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/recorders/record_keeper.py +330 -51
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/recorders/sarif_recorder.py +7 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/requirements.txt +0 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/security/security_auditor.py +46 -81
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/security/security_lens.py +28 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/analysis_lens.py +2411 -2843
- gitgalaxy-2.8.1/gitgalaxy/standards/archetype_brains/file_archetype_brain.json +1413 -0
- gitgalaxy-2.8.1/gitgalaxy/standards/archetype_brains/repo_archetype_brain.json +516 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/config_resolver.py +2 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/gitgalaxy_config.py +13 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/__init__.py +2 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/cobol.py +155 -24
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/jcl.py +40 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/objectivec.py +1 -1
- gitgalaxy-2.8.1/gitgalaxy/standards/language_standards/languages/pli.py +633 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/yaml.py +19 -3
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/zig.py +11 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/supply_chain_security/supply_chain_firewall.py +4 -2
- gitgalaxy-2.7.0/README.md → gitgalaxy-2.8.1/gitgalaxy.egg-info/PKG-INFO +58 -5
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy.egg-info/SOURCES.txt +14 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy.egg-info/requires.txt +7 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy.egg-info/scm_file_list.json +18 -0
- gitgalaxy-2.8.1/gitgalaxy.egg-info/scm_version.json +8 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/pyproject.toml +18 -6
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/templates/azure/azure-pipelines.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/templates/bitbucket/bitbucket-pipelines.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/templates/github/gitgalaxy-pipeline.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/templates/gitlab/scan.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/templates/scan.yml +1 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_config_resolver.py +12 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_detector.py +3 -1
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_galaxyscope.py +174 -7
- gitgalaxy-2.8.1/tests/core_engine/test_graph_engine.py +230 -0
- gitgalaxy-2.8.1/tests/core_engine/test_no_networkx_runtime.py +54 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_signal_processor.py +196 -85
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_state_rehydrator.py +41 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_surface_families_contract.py +9 -4
- gitgalaxy-2.8.1/tests/core_engine/test_uncomputed_graph_metrics.py +164 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_zero_dependency.py +5 -9
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/dead_key_audit.py +21 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_cobol_strict.py +127 -1
- gitgalaxy-2.8.1/tests/extraction/languages/test_pli.py +233 -0
- gitgalaxy-2.8.1/tests/extraction/languages/test_pli_strict.py +495 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/golden_master_audit.json +41418 -19957
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/golden_master_zero_dep_audit.json +41154 -19693
- gitgalaxy-2.8.1/tests/ruff_audit_baseline.json +10 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_network_risk_sensor.py +80 -119
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_security_auditor.py +40 -24
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_security_lens.py +107 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_supply_chain_firewall.py +21 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/test_golden_crucible.py +2 -2
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/crucible_check.py +2 -2
- gitgalaxy-2.8.1/tests/tools/embedded_verb_coverage.py +1319 -0
- gitgalaxy-2.8.1/tests/tools/graph_parity.py +284 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/self_scan.py +13 -13
- gitgalaxy-2.8.1/tests/tools/test_embedded_verb_coverage.py +234 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/update_golden_master.py +18 -4
- gitgalaxy-2.8.1/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.1}/.claude/agents/class-start-scout.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/agents/contract-audit-scout.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/agents/gemini-analyzer.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/agents/issue-triage.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/agents/pipeline-manager.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/agents/strict-signature-scout.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/hooks/pytest_quiet.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/rules/ci-healing.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/rules/golden-master-guidelines.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/rules/planning-approval.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/rules/sandbox-permissions.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/rules/tri-comparison-chart.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/settings.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/ci-push-checklist/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/harden-class-start-extraction/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/harden-language-extraction/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/harden-strict-signatures/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/issue-generation/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/language-status/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/pipeline-check/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/readme-maintenance/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/release-notes/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/rule-contract-audit/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/score-contract-audit/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/self-scan-query/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/tree-sitter-accuracy-sweep/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude/skills/tri-comparison-ledger-sweep/SKILL.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.claude.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.flake8 +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.galaxyscope.yaml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/CODEOWNERS +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/ISSUE_TEMPLATE/parsing_discrepancy.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/dependabot.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/pull_request_template.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/codeql.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/dead-key-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/deploy-docs.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/full-suite-gate.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/golden-master-guard.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/muninn.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/mypy-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/publish.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/ruff-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/signal-contract-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/smoke-test.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/tree-sitter-accuracy-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/tree-sitter-accuracy-history.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/tri-comparison-audit.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.github/workflows/tri-comparison-history.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.gitignore +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/.gitlab-ci.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/AGENTS.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/ANTIGRAVITY.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/CONTRIBUTING.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/LICENSE +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/MANIFEST.in +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/SECURITY.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/cobol_refractor_controller.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/cobol_to_java_controller.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/core/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/core/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/core/guidestar_lens.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/core/prism.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/core/spatial_correlation.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/core/spatial_mapper.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/licensing.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/metrics/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/metrics/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/metrics/chronometer.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/metrics/statistical_auditor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/metrics/tensor_scanner.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/recorders/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/recorders/gpu_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/recorders/sbom_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/security/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/security/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/security/dependency_audit_cache.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/security/manifest_parser.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/fidelity_table.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/how_to_add_a_language.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_lens.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/_lens_config.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/_overrides.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/_prism_config.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/_shared_patterns.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/abap.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/ada.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/agc_assembly.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/apex.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/assembly.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/batch.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/blp.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/c.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/cpp.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/csharp.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/css.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/csv.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/dart.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/dockerfile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/embedded_python.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/fortran.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/glsl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/go.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/groovy.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/haskell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/hlo.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/html.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/java.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/javascript.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/json.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/kotlin.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/livecode.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/lua.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/m4.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/makefile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/markdown.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/matlab.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/mlir.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/nix.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/pbtxt.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/perl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/php.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/plaintext.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/powershell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/proto.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/python.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/ruby.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/rust.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/scala.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/scheme.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/shell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/solidity.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/sqlite.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/swift.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/tcl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/td.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/typescript.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/xml.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/language_standards/languages/yacc.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/standards/signal_contracts.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/__init__.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/ai_guardrails/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/ai_guardrails/ai_appsec_sensor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/ai_guardrails/dev_agent_firewall.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/cobol_agent_task_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/cobol_compiler_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/cobol_dag_architect.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/cobol_etl_unpacker.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/cobol_graveyard_finder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/cobol_jcl_auditor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/cobol_jcl_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/cobol_lexical_patcher.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/cobol_microservice_slicer.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/cobol_schema_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_cobol/cobol_system_limits_reporter.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_java/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_java/batch_test_harness.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_java/cobol_to_java_agent_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_java/cobol_to_java_api_contract_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_java/cobol_to_java_build_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_java/cobol_to_java_decoder_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_java/cobol_to_java_service_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_java/cobol_to_java_spring_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/cobol_to_java/cobol_to_java_test_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/network_auditing/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/network_auditing/full_api_network_map.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/supply_chain_security/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/supply_chain_security/binary_anomaly_detector.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/supply_chain_security/vault_sentinel.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/terabyte_log_scanning/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/terabyte_log_scanning/pii_leak_hunter.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy/tools/terabyte_log_scanning/terabyte_log_scanner.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy.egg-info/dependency_links.txt +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy.egg-info/entry_points.txt +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/gitgalaxy.egg-info/top_level.txt +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/github-action-readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/mkdocs.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/muninn.yml +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/scripts/update_golden_masters.sh +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/setup.cfg +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/templates/bitbucket/bitbucket_insights.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/README.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/_crucible_pin.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/ast_accuracy_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/ast_accuracy_baseline.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_agent_task_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_compiler_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_dag_architect.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_etl_unpacker.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_graveyard_finder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_jcl_auditor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_jcl_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_lexical_patcher.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_microservice_slicer.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_refractor_controller.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_schema_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/cobol_mainframe/test_cobol_system_limits_reporter.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_aperture.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_chronometer.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_chronometer_timeout.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_delta_scanner.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_detector_issue_1718.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_export_visibility_contract_2904.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_guidestar_lens.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_handshake_issue_2549.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_lang_classification_2555.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_language_lens.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_language_standards_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_language_strictness.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_licensing.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_manifest_parser.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_naming_convention_signatures.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_path_modifiers.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_prism.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_prism_issue_1222.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_prism_issue_1302.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_prism_issue_1718.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_spatial_correlation.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_uef_length_invariance.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_unreferenced_by_name_contract_2806.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/core_engine/test_unreferenced_census_2866.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/dead_key_audit_baseline.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/_extraction_harness.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/how_to_extend_class_start_named_extraction.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/how_to_harden_extraction.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/how_to_harden_strict_signatures.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/_strict_harness.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_abap.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_abap_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_ada.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_ada_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_agc_assembly.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_agc_assembly_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_apex.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_apex_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_assembly.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_assembly_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_branch_contract_2822.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_c.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_c_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_cleanup_contract_2888.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_cobol.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_cpp.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_cpp_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_csharp.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_csharp_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_css.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_css_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_dart.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_dart_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_dockerfile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_dockerfile_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_embedded_python.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_embedded_python_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_fortran.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_fortran_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_globals_contract_2858.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_go.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_go_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_groovy.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_groovy_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_haskell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_haskell_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_high_risk_execution_contract_2878.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_html.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_html_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_immutability_locks_contract_2772.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_import_contract_2875.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_io_contract_2841.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_java.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_java_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_javascript.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_javascript_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_jcl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_jcl_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_kotlin.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_kotlin_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_livecode.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_livecode_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_lua.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_lua_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_m4.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_m4_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_makefile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_makefile_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_markdown_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_matlab.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_matlab_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_objectivec.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_objectivec_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_ownership_contract_2882.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_perl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_perl_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_php.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_php_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_powershell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_powershell_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_python.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_python_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_ruby.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_ruby_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_rust.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_rust_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_safety_contract_2869.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_scala.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_scala_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_scheme.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_scheme_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_shell.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_shell_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_solidity.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_solidity_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_sqlite.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_sqlite_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_state_mutation_contract_2765.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_structure_contract_2856.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_swift.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_swift_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_tcl.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_tcl_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_test_contract_2852.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_typescript.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_typescript_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_yacc.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_yacc_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_yaml.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_yaml_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_zig.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/languages/test_zig_strict.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/test_args_extraction.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/test_class_extraction.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/test_dependency_extraction.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/test_function_extraction.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/tools/audit_strict_coverage.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/tools/sweep_redos_scaling.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/extraction/tools/verify_candidates.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/golden_diff.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/mypy_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/mypy_audit_baseline.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/ruff_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_ai_appsec_sensor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_api_network_map.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_binary_anomaly_detector.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_dependency_audit_cache.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_dev_agent_firewall.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_pii_leak_hunter.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_redos_poison.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_statistical_auditor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_tensor_auditor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_terabyte_log_scanner.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/security_auditing/test_vault_sentinel.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/signal_contract_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/signal_contract_audit_baseline.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/test_dead_key_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/test_signal_contract_sheet.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/audit_check.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/audit_length_invariance.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/audit_risk_equations.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/audit_score_inputs.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/bless_scope.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/census_probe.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/class_start_diff.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/contract_pr_check.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/ctags_reader.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/fidelity_table.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/recall_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/rosetta_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/rule_probe.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/scope_check.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/test_audit_runners_refuse_empty.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/test_ctags_reader_qualify.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/test_html_embedded_ts_funcs.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/test_tri_comparison_chart_badge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/test_tri_comparison_ledger.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/test_tri_comparison_reconcile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/tree_sitter_accuracy_audit.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/tri_comparison_chart.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/tri_comparison_gatherer.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/tri_comparison_ledger.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/tri_comparison_reconcile.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/tri_comparison_report.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools/worktree_env.sh +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/readme.md +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_agent_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_audit_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_batch_test_harness.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_decoder_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_dependency_density_floor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_func_internal_density_floor.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_golden_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_gpu_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_llm_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_record_keeper.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_sarif_recorder.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_sbom_generator.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tools_recorders/test_service_forge.py +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_apex.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_c.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_cpp.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_csharp.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_css.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_dart.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_fortran.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_go.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_haskell.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_html.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_java.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_javascript.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_kotlin.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_lua.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_makefile.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_matlab.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_objective-c.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_perl.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_php.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_powershell.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_python.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_ruby.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_rust.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_scala.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_shell.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_solidity.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_swift.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_tcl.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_typescript.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tree_sitter_accuracy_baseline_zig.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tri_comparison_baseline_javascript.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tri_comparison_baseline_typescript.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/tests/tri_comparison_baseline_zig.json +0 -0
- {gitgalaxy-2.7.0 → gitgalaxy-2.8.1}/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,14 +90,14 @@ 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
|
-
baseline-venv/bin/pip install PyYAML
|
|
100
|
+
baseline-venv/bin/pip install PyYAML tiktoken numpy pandas xgboost
|
|
101
101
|
baseline-venv/bin/pip install ./gitgalaxy-baseline
|
|
102
102
|
|
|
103
103
|
- name: Run all language gates, classify against the baseline
|
|
@@ -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.1
|
|
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,
|
|
@@ -24,7 +24,7 @@ inputs:
|
|
|
24
24
|
required: false
|
|
25
25
|
default: 'latest'
|
|
26
26
|
full_precision:
|
|
27
|
-
description: 'Opt-in to install
|
|
27
|
+
description: 'Opt-in to install the optional engines (tiktoken, xgboost/pandas/numpy) for token mass and ML Threat Inference. Graph metrics such as Blast Radius need none.'
|
|
28
28
|
required: false
|
|
29
29
|
default: 'false'
|
|
30
30
|
|
|
@@ -55,7 +55,7 @@ runs:
|
|
|
55
55
|
|
|
56
56
|
if [ "$GG_FULL_PRECISION" = "true" ]; then
|
|
57
57
|
echo "Unlocking Full Precision Mode..."
|
|
58
|
-
pip install
|
|
58
|
+
pip install tiktoken xgboost pandas numpy
|
|
59
59
|
else
|
|
60
60
|
echo "Running in ultra-fast Zero-Dependency Mode."
|
|
61
61
|
fi
|
|
@@ -63,7 +63,7 @@ stages:
|
|
|
63
63
|
# 1. Install the tool globally FIRST (Immune to Poisoned PRs)
|
|
64
64
|
- script: |
|
|
65
65
|
python -m pip install --upgrade pip
|
|
66
|
-
pip install "gitgalaxy[yaml]"
|
|
66
|
+
pip install "gitgalaxy[yaml]" tiktoken xgboost pandas numpy
|
|
67
67
|
displayName: 'Install GitGalaxy & Heavy Physics Engines'
|
|
68
68
|
|
|
69
69
|
# 2. NOW pull the potentially untrusted code onto the runner. Shallow: the
|
|
@@ -37,7 +37,7 @@ pipelines:
|
|
|
37
37
|
- |
|
|
38
38
|
if [ "$GG_FULL_PRECISION" = "true" ]; then
|
|
39
39
|
echo "Unlocking Full Precision Mode..."
|
|
40
|
-
pip install
|
|
40
|
+
pip install tiktoken xgboost pandas numpy
|
|
41
41
|
else
|
|
42
42
|
echo "Running in ultra-fast Zero-Dependency Mode."
|
|
43
43
|
fi
|
|
@@ -84,7 +84,7 @@ pipelines:
|
|
|
84
84
|
fi
|
|
85
85
|
- |
|
|
86
86
|
if [ "$GG_FULL_PRECISION" = "true" ]; then
|
|
87
|
-
pip install
|
|
87
|
+
pip install tiktoken xgboost pandas numpy
|
|
88
88
|
fi
|
|
89
89
|
- |
|
|
90
90
|
echo "Running: ${GG_TOOL} ${GG_TARGET} ${GG_ARGS}"
|
|
@@ -503,7 +503,9 @@ class ApertureFilter:
|
|
|
503
503
|
# ==============================================================================
|
|
504
504
|
|
|
505
505
|
# --- Gate 5.1: Lexical Monotony Sensor ---
|
|
506
|
-
|
|
506
|
+
# Fixed-format mainframe source (COBOL, PL/I #2502) is uniformly indented by
|
|
507
|
+
# construction, which this indentation-frequency sensor reads as machine output.
|
|
508
|
+
if loc > 2000 and not has_intent and not low_path.endswith((".cpy", ".cbl", ".cob", ".pli", ".pl1")):
|
|
507
509
|
sample_lines = lines_list[:500]
|
|
508
510
|
meaningful_lines = [l for l in sample_lines if l.strip()]
|
|
509
511
|
|
|
@@ -565,6 +565,9 @@ _CLASS_START_NAMED_EXTRACTION_LANGS = frozenset(
|
|
|
565
565
|
"objective-c",
|
|
566
566
|
"perl",
|
|
567
567
|
"php",
|
|
568
|
+
# #2502: pli's class_start is DEFINE STRUCTURE / DEFINE ORDINAL with the name
|
|
569
|
+
# in group 1; the generic fallback (`class|struct|...`) can never match it.
|
|
570
|
+
"pli",
|
|
568
571
|
"powershell",
|
|
569
572
|
"python",
|
|
570
573
|
"ruby",
|
|
@@ -1094,6 +1097,14 @@ def _name_boundary_pattern(func_name: str) -> str:
|
|
|
1094
1097
|
return r"(?<!\w)" + re.escape(func_name) + r"(?!\w)"
|
|
1095
1098
|
|
|
1096
1099
|
|
|
1100
|
+
# A name that is a single maximal word token. For such names the boundary
|
|
1101
|
+
# pattern `(?<!\w)name(?!\w)` matches exactly the `\w+` tokens equal to `name`,
|
|
1102
|
+
# so occurrences can be read from a precomputed word-token index instead of
|
|
1103
|
+
# rescanning the whole stream. Names with non-word characters (ruby `empty?`,
|
|
1104
|
+
# scheme `set!`, C++ `operator==`) do NOT qualify and take the exact fallback.
|
|
1105
|
+
_WORD_NAME_RE = re.compile(r"\w+")
|
|
1106
|
+
|
|
1107
|
+
|
|
1097
1108
|
# #2823: one name inside a `_visibility_export_list` region. The region is the
|
|
1098
1109
|
# text between the export construct's own delimiters, so what separates two
|
|
1099
1110
|
# names in it is whitespace, a comma, or a nested bracket -- a Haskell list
|
|
@@ -1635,6 +1646,22 @@ class StructuralExtractor:
|
|
|
1635
1646
|
else self._build_brace_safe_stream(code_stream, self.primary_lang_id)
|
|
1636
1647
|
)
|
|
1637
1648
|
|
|
1649
|
+
# #PERF: the class loop below converts raw string indices to line
|
|
1650
|
+
# numbers. `code_stream.count("\n", 0, idx)` is O(len(code_stream))
|
|
1651
|
+
# per call, so doing it per class was O(classes x filesize) -- part
|
|
1652
|
+
# of the same O(N^2) family as the orphan scan. Precompute the
|
|
1653
|
+
# newline offsets once; each lookup is then an O(log n) bisect.
|
|
1654
|
+
# bisect_left(offsets, idx) == count of "\n" strictly before idx ==
|
|
1655
|
+
# code_stream.count("\n", 0, idx), so `+ 1` still yields the line.
|
|
1656
|
+
_nl_offsets: list[int] = []
|
|
1657
|
+
_p = code_stream.find("\n")
|
|
1658
|
+
while _p != -1:
|
|
1659
|
+
_nl_offsets.append(_p)
|
|
1660
|
+
_p = code_stream.find("\n", _p + 1)
|
|
1661
|
+
|
|
1662
|
+
def _line_at(idx: int) -> int:
|
|
1663
|
+
return bisect.bisect_left(_nl_offsets, idx) + 1
|
|
1664
|
+
|
|
1638
1665
|
for i, match in enumerate(class_matches):
|
|
1639
1666
|
if self.primary_lang_id == "cpp":
|
|
1640
1667
|
if not _cpp_class_has_body(code_stream, match.end()):
|
|
@@ -1725,8 +1752,9 @@ class StructuralExtractor:
|
|
|
1725
1752
|
)
|
|
1726
1753
|
|
|
1727
1754
|
# Convert raw string indices to line numbers for spatial bounding
|
|
1728
|
-
|
|
1729
|
-
|
|
1755
|
+
# (O(log n) bisect over precomputed newline offsets; see _line_at)
|
|
1756
|
+
start_line = _line_at(start_idx)
|
|
1757
|
+
end_line = _line_at(end_idx)
|
|
1730
1758
|
# If end_idx sits exactly at the start of a new line (the
|
|
1731
1759
|
# indentation resolver's dedent point, or the flat fallback,
|
|
1732
1760
|
# both land there by construction) that line belongs to
|
|
@@ -1819,6 +1847,22 @@ class StructuralExtractor:
|
|
|
1819
1847
|
# hashing every function body would be wasted work in the common case.
|
|
1820
1848
|
body_hash_counts: collections.Counter[tuple[str, str]] = collections.Counter()
|
|
1821
1849
|
func_body_hashes: dict[int, str] = {}
|
|
1850
|
+
|
|
1851
|
+
# #PERF: `_is_orphan` asks "does this name occur outside its own
|
|
1852
|
+
# span?", previously by re-scanning the WHOLE code_stream once per
|
|
1853
|
+
# function -- O(functions x filesize), ~10s on a 1MB generated
|
|
1854
|
+
# header with ~900 functions. Precompute a single whole-file index
|
|
1855
|
+
# of maximal word-token start offsets (ascending, so already sorted)
|
|
1856
|
+
# so each per-function test is an O(log n) bisect. Only names that
|
|
1857
|
+
# are a single \w+ token use it; names with non-word characters
|
|
1858
|
+
# (ruby `empty?`, scheme `set!`, C++ `operator==`) keep the exact
|
|
1859
|
+
# boundary-regex fallback inside `_is_orphan`.
|
|
1860
|
+
orphan_occ_index: Optional[dict[str, list[int]]] = None
|
|
1861
|
+
if names_its_callees and functions:
|
|
1862
|
+
orphan_occ_index = collections.defaultdict(list)
|
|
1863
|
+
for _m in re.finditer(r"\w+", code_stream):
|
|
1864
|
+
orphan_occ_index[_m.group()].append(_m.start())
|
|
1865
|
+
|
|
1822
1866
|
for func in functions:
|
|
1823
1867
|
func_name = func.get("name", "")
|
|
1824
1868
|
if func_name and func_name_counts[func_name] > 1:
|
|
@@ -1871,7 +1915,9 @@ class StructuralExtractor:
|
|
|
1871
1915
|
):
|
|
1872
1916
|
usage_status = 2 # 2 = Duplicate
|
|
1873
1917
|
duplicate_count += 1
|
|
1874
|
-
elif names_its_callees and self._is_orphan(
|
|
1918
|
+
elif names_its_callees and self._is_orphan(
|
|
1919
|
+
code_stream, func, func_name, export_name_starts, orphan_occ_index
|
|
1920
|
+
):
|
|
1875
1921
|
# Nothing outside the function's own definition names it.
|
|
1876
1922
|
#
|
|
1877
1923
|
# BUG FIX #2768: a `len(func_name) > 3` conjunct used to
|
|
@@ -2489,6 +2535,42 @@ class StructuralExtractor:
|
|
|
2489
2535
|
"""
|
|
2490
2536
|
return _correlate_signals_impl(targets, dampeners, max_distance)
|
|
2491
2537
|
|
|
2538
|
+
# The three AppSec sensor keys coding_analysis injects into every counts dict
|
|
2539
|
+
# (see below); factored out so `_active_coding_rules` and coding_analysis agree
|
|
2540
|
+
# on exactly which mapped keys are valid.
|
|
2541
|
+
_APPSEC_KEYS = ("memory_scraping", "exfiltration_camouflage", "rce_funnel")
|
|
2542
|
+
|
|
2543
|
+
def _active_coding_rules(self, seg_lang: str) -> list[tuple[str, Any, str]]:
|
|
2544
|
+
"""#PERF: the eligible `(rule_name, pattern, mapped_key)` rules for a
|
|
2545
|
+
language, computed once and cached. The eligibility tests -- skip
|
|
2546
|
+
`_`-prefixed meta keys and falsy/trivial patterns, resolve the CORE_MAPPING
|
|
2547
|
+
key, and drop rules whose mapped key isn't in the counts schema -- depend
|
|
2548
|
+
only on the static ruleset, so caching them removes tens of thousands of
|
|
2549
|
+
redundant `pattern.pattern.replace(...)*3.strip()` calls per scan. An
|
|
2550
|
+
unregistered rule is warned about once here rather than once per file."""
|
|
2551
|
+
cache = self.__dict__.setdefault("_active_rules_cache", {})
|
|
2552
|
+
cached = cache.get(seg_lang)
|
|
2553
|
+
if cached is not None:
|
|
2554
|
+
return cached
|
|
2555
|
+
valid_keys = set(self.UNIVERSAL_METRICS_SCHEMA).union(self._APPSEC_KEYS)
|
|
2556
|
+
active: list[tuple[str, Any, str]] = []
|
|
2557
|
+
for rule_name, pattern in self.languages.get(seg_lang, {}).get("rules", {}).items():
|
|
2558
|
+
if rule_name.startswith("_") or not pattern:
|
|
2559
|
+
continue
|
|
2560
|
+
mapped_key = self.CORE_MAPPING.get(rule_name, rule_name)
|
|
2561
|
+
if mapped_key not in valid_keys:
|
|
2562
|
+
self.logger.warning(
|
|
2563
|
+
f"[DIAGNOSTIC] Unregistered rule '{mapped_key}' found in '{seg_lang}'. Ignoring to preserve schema."
|
|
2564
|
+
)
|
|
2565
|
+
continue
|
|
2566
|
+
raw_pat = getattr(pattern, "pattern", str(pattern))
|
|
2567
|
+
clean_pat = raw_pat.replace("(?i)", "").replace("(?m)", "").replace("(?s)", "").strip()
|
|
2568
|
+
if clean_pat in ("", "()", "(?:)", "^", "$"):
|
|
2569
|
+
continue
|
|
2570
|
+
active.append((rule_name, pattern, mapped_key))
|
|
2571
|
+
cache[seg_lang] = active
|
|
2572
|
+
return active
|
|
2573
|
+
|
|
2492
2574
|
def coding_analysis(
|
|
2493
2575
|
self, segments: list[tuple[str, str, int]], regex_telemetry: Optional[dict] = None
|
|
2494
2576
|
) -> tuple[dict[str, int], dict[str, int], list[dict[str, list[int]]], list[str], dict[str, list[int]]]:
|
|
@@ -2496,7 +2578,7 @@ class StructuralExtractor:
|
|
|
2496
2578
|
|
|
2497
2579
|
# --- THE FIX: INJECT APPSEC SENSORS ---
|
|
2498
2580
|
# Force the new Phase 4 sensors into the schema so the LogicSplicer doesn't ignore them
|
|
2499
|
-
for appsec_key in
|
|
2581
|
+
for appsec_key in self._APPSEC_KEYS:
|
|
2500
2582
|
if appsec_key not in counts:
|
|
2501
2583
|
counts[appsec_key] = 0
|
|
2502
2584
|
|
|
@@ -2528,6 +2610,22 @@ class StructuralExtractor:
|
|
|
2528
2610
|
|
|
2529
2611
|
seg_len = len(seg_code)
|
|
2530
2612
|
|
|
2613
|
+
# #PERF: converting each match offset to a line number below used
|
|
2614
|
+
# `seg_code.count("\n", 0, m.start())` -- O(seg_len) per match, so
|
|
2615
|
+
# O(matches x seg_len) per segment (the same O(N^2) family as the
|
|
2616
|
+
# class-loop and orphan scans; ~3.9s on a 1MB single-segment header).
|
|
2617
|
+
# Precompute this segment's newline offsets once; each conversion is
|
|
2618
|
+
# then an O(log n) bisect. bisect_left(offsets, pos) == count of "\n"
|
|
2619
|
+
# strictly before pos == seg_code.count("\n", 0, pos).
|
|
2620
|
+
_seg_nl: list[int] = []
|
|
2621
|
+
_sp = seg_code.find("\n")
|
|
2622
|
+
while _sp != -1:
|
|
2623
|
+
_seg_nl.append(_sp)
|
|
2624
|
+
_sp = seg_code.find("\n", _sp + 1)
|
|
2625
|
+
|
|
2626
|
+
def _seg_line(pos: int, _nl: list[int] = _seg_nl, _offset: int = current_line_offset) -> int:
|
|
2627
|
+
return _offset + bisect.bisect_left(_nl, pos) + 1
|
|
2628
|
+
|
|
2531
2629
|
# #2674: a registry may declare `_scope_filters: {rule_name: filter_name}`
|
|
2532
2630
|
# for rules whose regex can match a construct that only *sometimes*
|
|
2533
2631
|
# means what the rule counts, and where the deciding context is the
|
|
@@ -2544,26 +2642,14 @@ class StructuralExtractor:
|
|
|
2544
2642
|
# ---> NEW: Spatial Map for this segment <---
|
|
2545
2643
|
spatial_map: dict[str, list[int]] = {}
|
|
2546
2644
|
|
|
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
|
-
|
|
2645
|
+
# #PERF: rule eligibility (skip `_`-meta keys, empty/trivial
|
|
2646
|
+
# patterns, and rules whose mapped key isn't in the counts schema)
|
|
2647
|
+
# depends only on the language's static ruleset, not the file. It used
|
|
2648
|
+
# to re-run for every rule of every file -- recomputing
|
|
2649
|
+
# `pattern.pattern.replace(...)*3.strip()` and the membership tests
|
|
2650
|
+
# tens of thousands of times per scan. Compute it once per language
|
|
2651
|
+
# and cache it (see `_active_coding_rules`).
|
|
2652
|
+
for rule_name, pattern, mapped_key in self._active_coding_rules(seg_lang):
|
|
2567
2653
|
try:
|
|
2568
2654
|
t_rule_start = time.perf_counter()
|
|
2569
2655
|
|
|
@@ -2577,10 +2663,11 @@ class StructuralExtractor:
|
|
|
2577
2663
|
)
|
|
2578
2664
|
hit_indices = [m.start() for m in matches]
|
|
2579
2665
|
|
|
2580
|
-
# --->
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2666
|
+
# ---> Offset to LOC Conversion (#PERF: bind the
|
|
2667
|
+
# threat_locations list once and extend, instead of a
|
|
2668
|
+
# setdefault dict lookup per match) <---
|
|
2669
|
+
if hit_indices:
|
|
2670
|
+
threat_locations.setdefault(mapped_key, []).extend(_seg_line(idx) for idx in hit_indices)
|
|
2584
2671
|
|
|
2585
2672
|
# ---> THE LINEAGE EXTRACTOR <---
|
|
2586
2673
|
# In a `class Foo extends Bar` shape, group 1 is the name
|
|
@@ -2599,10 +2686,11 @@ class StructuralExtractor:
|
|
|
2599
2686
|
matches = list(re.finditer(str(pattern), seg_code))
|
|
2600
2687
|
hit_indices = [m.start() for m in matches]
|
|
2601
2688
|
|
|
2602
|
-
# --->
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2689
|
+
# ---> Offset to LOC Conversion (#PERF: bind the
|
|
2690
|
+
# threat_locations list once and extend, instead of a
|
|
2691
|
+
# setdefault dict lookup per match) <---
|
|
2692
|
+
if hit_indices:
|
|
2693
|
+
threat_locations.setdefault(mapped_key, []).extend(_seg_line(idx) for idx in hit_indices)
|
|
2606
2694
|
|
|
2607
2695
|
c = len(hit_indices)
|
|
2608
2696
|
|
|
@@ -2634,7 +2722,7 @@ class StructuralExtractor:
|
|
|
2634
2722
|
counts[mapped_key] += c
|
|
2635
2723
|
spatial_map.setdefault(mapped_key, []).extend(hit_indices)
|
|
2636
2724
|
|
|
2637
|
-
except Exception as e:
|
|
2725
|
+
except Exception as e: # noqa: PERF203 -- per-rule isolation: one rule's regex failure shouldn't abort the remaining rules for this file
|
|
2638
2726
|
self.logger.error(
|
|
2639
2727
|
f"[DIAGNOSTIC] Regex failure in rule '{rule_name}' for language '{seg_lang}': {e}"
|
|
2640
2728
|
)
|
|
@@ -3193,6 +3281,13 @@ class StructuralExtractor:
|
|
|
3193
3281
|
# reached the named list). Mode A's "greedy to the next
|
|
3194
3282
|
# func_start match" body heuristic is a correct, direct fit.
|
|
3195
3283
|
"ada",
|
|
3284
|
+
# #2502: pli is ada's shape -- `label: PROC; ... END label;`, no
|
|
3285
|
+
# braces and no ScopeParsingRegistry entry, so without this it
|
|
3286
|
+
# falls through to Mode_B_Braces like ada did before #2648.
|
|
3287
|
+
# Internal procedures nest, so a nested PROC ends its parent's
|
|
3288
|
+
# body early; that is the same approximation ada's nested
|
|
3289
|
+
# subprograms already take.
|
|
3290
|
+
"pli",
|
|
3196
3291
|
) or family in ("column_sensitive"):
|
|
3197
3292
|
mode_name = "Mode_A_Labels"
|
|
3198
3293
|
sats, impact = self._slice_by_labels(code, rules, offset, spatial_map)
|
|
@@ -8162,6 +8257,7 @@ class StructuralExtractor:
|
|
|
8162
8257
|
func: "FunctionNode",
|
|
8163
8258
|
func_name: str,
|
|
8164
8259
|
export_name_starts: frozenset[int] = frozenset(),
|
|
8260
|
+
occ_index: "Optional[dict[str, list[int]]]" = None,
|
|
8165
8261
|
) -> bool:
|
|
8166
8262
|
"""Does `func_name` occur anywhere outside its own definition?
|
|
8167
8263
|
|
|
@@ -8212,6 +8308,35 @@ class StructuralExtractor:
|
|
|
8212
8308
|
"""
|
|
8213
8309
|
start_idx = func.get("start_idx", 0)
|
|
8214
8310
|
end_idx = func.get("end_idx", start_idx)
|
|
8311
|
+
|
|
8312
|
+
# #PERF fast path: when a whole-file word-token index is supplied and
|
|
8313
|
+
# the name is a single \w+ token, its occurrences are exactly the index
|
|
8314
|
+
# entries for that name -- read inside/outside the span by bisect
|
|
8315
|
+
# (O(log n)) instead of re-running finditer over the entire code_stream
|
|
8316
|
+
# (O(len(code_stream))) once per function. Semantically identical to the
|
|
8317
|
+
# fallback below; verified by an old-vs-new parity harness across real
|
|
8318
|
+
# files (incl. ruby/scheme/C++ special-name languages, which take the
|
|
8319
|
+
# fallback and are unaffected).
|
|
8320
|
+
if occ_index is not None and _WORD_NAME_RE.fullmatch(func_name):
|
|
8321
|
+
offsets = occ_index.get(func_name)
|
|
8322
|
+
if not offsets:
|
|
8323
|
+
# No maximal-word occurrence at all -> matches the fallback's
|
|
8324
|
+
# inside==outside==0 -> declaration discount -> orphan.
|
|
8325
|
+
return True
|
|
8326
|
+
lo = bisect.bisect_left(offsets, start_idx)
|
|
8327
|
+
hi = bisect.bisect_left(offsets, end_idx)
|
|
8328
|
+
inside = hi - lo
|
|
8329
|
+
outside = len(offsets) - inside
|
|
8330
|
+
if export_name_starts:
|
|
8331
|
+
# An occurrence named in an export statement is a visibility
|
|
8332
|
+
# declaration, not a use -- discount the ones outside the span,
|
|
8333
|
+
# exactly as the fallback's `not in export_name_starts` does.
|
|
8334
|
+
outside -= sum(1 for off in offsets[:lo] if off in export_name_starts)
|
|
8335
|
+
outside -= sum(1 for off in offsets[hi:] if off in export_name_starts)
|
|
8336
|
+
if inside == 0:
|
|
8337
|
+
outside -= 1 # the declaration itself, which fell outside the span
|
|
8338
|
+
return outside <= 0
|
|
8339
|
+
|
|
8215
8340
|
word = re.compile(_name_boundary_pattern(func_name))
|
|
8216
8341
|
inside = outside = 0
|
|
8217
8342
|
for m in word.finditer(code_stream):
|