lean-agent-governance / config /security_profiles.json
Sahek's picture
v7.2: fix historical velocity tracking (repo_id), session UUID collision, read-only repo mount, SQLite pre-score, batched semgrep, real CI patch content
fb371ab verified
Raw
History Blame Contribute Delete
1.25 kB
{
"system_settings": {
"historical_decay_half_life_days": 3.0,
"history_retention_days": 30,
"max_patch_size_bytes": 5242880,
"agent_runtime_timeout_seconds": 900,
"trusted_registries": [
"https://registry.npmjs.org/",
"https://files.pythonhosted.org/",
"https://crates.io/"
]
},
"context_profiles": {
"default": {
"weights": {
"prompt": 0.15,
"behavior": 0.20,
"diff": 0.25,
"secret": 0.20,
"dependency": 0.10,
"historical": 0.10
},
"thresholds": { "warn": 35, "quarantine": 65, "terminate_quarantine_branch": 85 }
},
"security_sensitive": {
"weights": {
"prompt": 0.10,
"behavior": 0.15,
"diff": 0.35,
"secret": 0.20,
"dependency": 0.10,
"historical": 0.10
},
"thresholds": { "warn": 25, "quarantine": 50, "terminate_quarantine_branch": 75 }
},
"refactor_heavy": {
"weights": {
"prompt": 0.10,
"behavior": 0.10,
"diff": 0.30,
"secret": 0.20,
"dependency": 0.15,
"historical": 0.15
},
"thresholds": { "warn": 45, "quarantine": 75, "terminate_quarantine_branch": 90 }
}
}
}