mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-16 03:49:26 +00:00
chore: remove dead modules (judge, execution, calibrate, stage_processors, slot_contract)
The reachability-first audit (previous commit) found these five with no import path from any entry point: - model/judge.py: replaced by model/pipeline.py, which never imported it. - model/execution.py: the MGD Req 10 execution seam, never built or called. - model/calibrate.py: no CLI, no importer; learn/calibrate.py is the live one. - stage_processors.py + slot_contract.py: kept only so test_gate could pin them; the scan runs findings.quick_scan_findings directly. Their tests go with them, test_gate's zero-dependency list drops the two entries, the audit lists drop their rows, and the manifest is regenerated: 150 modules, 145 load_bearing, 5 standalone, 0 orphaned. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01EmM1j46qgKMh3zqD1QMwEo
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
b7f1f3d05b
commit
3091ed42ea
@@ -1,17 +1,10 @@
|
||||
{
|
||||
"modules": 155,
|
||||
"modules": 150,
|
||||
"counts": {
|
||||
"load_bearing": 145,
|
||||
"orphaned": 5,
|
||||
"standalone_capability": 5
|
||||
},
|
||||
"orphaned": [
|
||||
"model.calibrate",
|
||||
"model.execution",
|
||||
"model.judge",
|
||||
"slot_contract",
|
||||
"stage_processors"
|
||||
],
|
||||
"orphaned": [],
|
||||
"standalone": {
|
||||
"fusion": "two-panel adjudication engine; reached from the scan's report stage and used standalone",
|
||||
"mcp": "narrow MCP server over stdio; its own `ousast mcp` entry point and OpenCode integration",
|
||||
@@ -156,7 +149,6 @@
|
||||
"cpg.backend",
|
||||
"model.config_value",
|
||||
"model.dominance",
|
||||
"model.judge",
|
||||
"model.partitions",
|
||||
"model.pipeline",
|
||||
"model.scan",
|
||||
@@ -190,7 +182,6 @@
|
||||
"cpg.artifact",
|
||||
"model.config_value",
|
||||
"model.dominance",
|
||||
"model.judge",
|
||||
"model.partitions",
|
||||
"model.pipeline",
|
||||
"model.scan",
|
||||
@@ -245,7 +236,6 @@
|
||||
"semantic.obligations.check",
|
||||
"semantic.overlay",
|
||||
"semantic.prove_filter",
|
||||
"stage_processors",
|
||||
"tool_hunter",
|
||||
"verification"
|
||||
]
|
||||
@@ -272,8 +262,7 @@
|
||||
"classification": "load_bearing",
|
||||
"reason": "reachable from gate, map_gate, pair_gate, cli",
|
||||
"importers": [
|
||||
"cli",
|
||||
"slot_contract"
|
||||
"cli"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -557,8 +546,7 @@
|
||||
"pairs",
|
||||
"plane.tasks.alerts",
|
||||
"preprocess",
|
||||
"push.runner",
|
||||
"stage_processors"
|
||||
"push.runner"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -583,8 +571,6 @@
|
||||
"model.candidates",
|
||||
"model.config_value",
|
||||
"model.dominance",
|
||||
"model.execution",
|
||||
"model.judge",
|
||||
"model.layout",
|
||||
"model.partitions",
|
||||
"model.pipeline",
|
||||
@@ -616,12 +602,6 @@
|
||||
"reason": "model-grounded-detection Req 3: this classifier; run by the maintainer, not by the scan",
|
||||
"importers": []
|
||||
},
|
||||
{
|
||||
"module": "model.calibrate",
|
||||
"classification": "orphaned",
|
||||
"reason": "no import path from an entry point or a python -m module; listed as: model-grounded-detection Req 9: the corpus as the model's calibration set",
|
||||
"importers": []
|
||||
},
|
||||
{
|
||||
"module": "model.candidates",
|
||||
"classification": "load_bearing",
|
||||
@@ -674,7 +654,7 @@
|
||||
{
|
||||
"module": "model.endpoint",
|
||||
"classification": "load_bearing",
|
||||
"reason": "model-grounded-detection Req 8: the judge client, wired by model/judge.py in group 3",
|
||||
"reason": "model-grounded-detection Req 8: the bounded model client the hunter, the plane and the CLI share",
|
||||
"importers": [
|
||||
"cli",
|
||||
"learn.cli",
|
||||
@@ -692,18 +672,6 @@
|
||||
"model.scan"
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "model.execution",
|
||||
"classification": "orphaned",
|
||||
"reason": "no import path from an entry point or a python -m module; listed as: model-grounded-detection Req 10: the deferred execution tier seam, adopted not built",
|
||||
"importers": []
|
||||
},
|
||||
{
|
||||
"module": "model.judge",
|
||||
"classification": "orphaned",
|
||||
"reason": "no import path from an entry point or a python -m module; listed as: model-grounded-detection Req 8: one bounded question, checked against the model",
|
||||
"importers": []
|
||||
},
|
||||
{
|
||||
"module": "model.ladder",
|
||||
"classification": "load_bearing",
|
||||
@@ -711,8 +679,6 @@
|
||||
"importers": [
|
||||
"model.config_value",
|
||||
"model.dominance",
|
||||
"model.execution",
|
||||
"model.judge",
|
||||
"model.pipeline",
|
||||
"model.scan",
|
||||
"model.taint",
|
||||
@@ -797,7 +763,6 @@
|
||||
"importers": [
|
||||
"model.config_value",
|
||||
"model.dominance",
|
||||
"model.judge",
|
||||
"model.pipeline",
|
||||
"model.regions",
|
||||
"model.report",
|
||||
@@ -811,7 +776,6 @@
|
||||
"classification": "load_bearing",
|
||||
"reason": "model-grounded-detection Req 6.1: taint reachability over the CPG, the flow-family arbiter",
|
||||
"importers": [
|
||||
"model.judge",
|
||||
"model.pipeline",
|
||||
"model.scan"
|
||||
]
|
||||
@@ -1113,8 +1077,7 @@
|
||||
"improve.validator",
|
||||
"plane.tasks.loop",
|
||||
"scoring.project_score",
|
||||
"semantic.overlay",
|
||||
"stage_processors"
|
||||
"semantic.overlay"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1157,8 +1120,7 @@
|
||||
"rank",
|
||||
"regress.candidate",
|
||||
"semantic.overlay",
|
||||
"skills",
|
||||
"stage_processors"
|
||||
"skills"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1337,8 +1299,7 @@
|
||||
"improve.evolve",
|
||||
"map_gate",
|
||||
"pairs",
|
||||
"plane.tasks.alerts",
|
||||
"stage_processors"
|
||||
"plane.tasks.alerts"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1347,7 +1308,6 @@
|
||||
"reason": "reachable from gate, map_gate, pair_gate, cli",
|
||||
"importers": [
|
||||
"harness",
|
||||
"model.judge",
|
||||
"model.pipeline",
|
||||
"push.assistance",
|
||||
"push.report",
|
||||
@@ -1435,8 +1395,7 @@
|
||||
"plane.tasks.features",
|
||||
"plane.tasks.loop",
|
||||
"ruleset.store",
|
||||
"semantic.facts",
|
||||
"stage_processors"
|
||||
"semantic.facts"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1505,8 +1464,7 @@
|
||||
"reason": "reachable from gate, map_gate, pair_gate, cli",
|
||||
"importers": [
|
||||
"cli",
|
||||
"improve.evolve",
|
||||
"stage_processors"
|
||||
"improve.evolve"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -1760,20 +1718,6 @@
|
||||
"hunter"
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "slot_contract",
|
||||
"classification": "orphaned",
|
||||
"reason": "no import path from an entry point or a python -m module (imported only by unreachable stage_processors); listed as: the slot/contract protocol stage_processors implements",
|
||||
"importers": [
|
||||
"stage_processors"
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "stage_processors",
|
||||
"classification": "orphaned",
|
||||
"reason": "no import path from an entry point or a python -m module; listed as: deterministic slot-contracted scan stages; pinned by the zero-dependency guard in test_gate",
|
||||
"importers": []
|
||||
},
|
||||
{
|
||||
"module": "stages",
|
||||
"classification": "load_bearing",
|
||||
|
||||
Reference in New Issue
Block a user