mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-17 20:19:29 +00:00
Regex inventory stays the proposer. MAP attaches promote/demote/unadjudicated/coverage from intra-file taint (tree-sitter when a grammar parses, Python ast as last resort). Deep sandboxes promotions only, ordered by the existing heuristic ranker plus optional OpenRouter mechanism recall. The SAST pair slice scores overlay outcomes; the stage-1 detection gate and local pair gate stay inventory-only.
33 lines
821 B
Python
33 lines
821 B
Python
"""Bounded, gated self-improvement loop over the ruleset/policy governance data."""
|
|
|
|
from ..pairs import build_pair_signals
|
|
from .evolve import RoundOutcome, build_rule_signals, propose_status_edits, run_improvement, run_round
|
|
from .journal import load_journal, reverted_edit_keys
|
|
from .validator import (
|
|
VALID_LEVERS,
|
|
EvolveBounds,
|
|
EvolveValidator,
|
|
PolicyConstantEdit,
|
|
RuleStatusEdit,
|
|
StrictValidationError,
|
|
edits_to_ledger,
|
|
)
|
|
|
|
__all__ = [
|
|
"EvolveBounds",
|
|
"EvolveValidator",
|
|
"PolicyConstantEdit",
|
|
"RoundOutcome",
|
|
"RuleStatusEdit",
|
|
"StrictValidationError",
|
|
"VALID_LEVERS",
|
|
"build_pair_signals",
|
|
"build_rule_signals",
|
|
"edits_to_ledger",
|
|
"load_journal",
|
|
"propose_status_edits",
|
|
"reverted_edit_keys",
|
|
"run_improvement",
|
|
"run_round",
|
|
]
|