Version history
1 version on record. Newest first; the live version sits at the top with a live indicator.
- Live5/15/2026, 10:44:47 PM
Content snapshot
{ "query_kind": "sql", "query_body": "WITH latest_report AS (\n SELECT content\n FROM artifacts\n WHERE artifact_type = 'corpus_sweep_report'\n AND is_latest = 1\n ORDER BY created_at DESC\n LIMIT 1\n)\nSELECT DISTINCT finding->>'gate_id' AS ref\nFROM latest_report,\n LATERAL jsonb_array_elements(content->'findings') AS finding\nWHERE (finding->>'count')::int > 1000\n", "query_params": {}, "threshold": { "warning_at": 1, "critical_at": 1 }, "severity_default": "critical", "recommended_action_template": "{n} quality gate(s) have > 1000 failing artifacts in the latest corpus\nsweep. Open a quality_sweep_archive proposal for: {refs[:5]}.\nCheck /v1/senate/quality-sweep for the full finding list.\n", "state": "active", "proposer_id": "system-senate" }