mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-16 03:49:26 +00:00
A first scoping attempt (restrict analyzed regions to changed files) was reverted: it breaks a tested design invariant. The engine deliberately selects an unchanged region's question when a changed region reaches it (test_changed_dependency_reaches_unchanged_ranked_question; test_change_does_not_replace_ranker_selection). _changed_files feeds _evidence_pass only as contextFilter/contextPaths (itemise vs summarise), not to shrink the tier population. Any scope must keep changed regions PLUS the regions they reach. Also: increment 1 over-claimed. Increment 0 measured build=67s/query=0s but NOT the split of the ~236s middle (evidence-tier pass vs affected_context/context resolution vs _scope_work enumeration). Increment 2 must capture per_kind / other_seconds / affected_context timing and cut the dominant phase while preserving reach-into-unchanged -- instrument before fixing. Co-Authored-By: Claude Opus 4.8 <[email protected]>