Skip to content

Epic: Remove overreaching AST-less heuristic metrics (post-db_complexity wave) #1025

Closed

Description

@squid-protocol

Description

Following #1013 (db_complexity removal — merged via #1021), this epic tracks a coordinated
wave of removing/fixing metrics in the GitGalaxy SAST engine that overreach what an AST-less,
regex-only engine can honestly claim to measure. Same root cause pattern each time: a metric
that sounds precise (a CVE-style score, a Big-O class, a named vulnerability class) but is
actually built from unrelated regex hit-counts co-occurring in the same file/block, with no
real data-flow, control-flow, or type information behind it.

See gitgalaxy/standards/how_to_add_a_language.md and tests/extraction/how_to_harden_extraction.md
for the parallel discipline this engine already applies to parsing correctness — this epic is
the same "don't fake precision the architecture can't support" philosophy applied to risk
scoring
instead.

Sub-issues (execution order)

Why this order

Process

One PR per sub-issue, merged sequentially into main (matches this repo's existing convention).
detector.py-touching issues (#1014, #1019, #1018) need python tests/tools/crucible_check.py;
the rest (#1015, #1020, #1017) are downstream-only and just need
python tests/tools/audit_check.py + pytest.

Any downstream consumer found beyond what a sub-issue's own action-items list mentions (a common
pattern in this wave so far — see #1013's PR description) should get called out in that PR's
description, not silently left dangling.

Status (2026-08-05)

All sub-issues complete except #1017, which is the last one blocking this epic's closure.

Activity

  1. squid-protocol commented on Aug 5, 2026

    @squid-protocol
    OwnerAuthor

    All sub-issues complete: #1013, #1014, #1015 (absorbed #1016), #1018 (removed outright via #1042), #1019, #1020, and #1017 (merged via #1048). Closing the epic.

  2. added
    scope:frontier
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions