Details

query_kind
sql
severity_default
critical
recommended_action_template
{n} quality gate(s) have > 1000 failing artifacts in the latest corpus sweep. Open a quality_sweep_archive proposal for: {refs[:5]}. Check /v1/senate/quality-sweep for the full finding list.
state
active
proposer_id
system-senate
Raw fields (3)
query_body
WITH latest_report AS (
  SELECT content
  FROM artifacts
  WHERE artifact_type = 'corpus_sweep_report'
    AND is_latest = 1
  ORDER BY created_at DESC
  LIMIT 1
)
SELECT DISTINCT finding->>'gate_id' AS ref
FROM latest_report,
     LATERAL jsonb_array_elements(content->'findings') AS finding
WHERE (finding->>'count')::int > 1000
query_params
{}
threshold
{
  "warning_at": 1,
  "critical_at": 1
}

Voting as anonymous. Sign in to attribute your signals.

tokens

Replication

No replications yet

Discussion

Posting anonymously. Sign in for attribution.

No comments yet — be the first.