Quality gates
Executable governance — every gate's predicate, threshold, and most-recent evaluation. The dashboard at /senate tells you which gates are firing right now; this page tells you what each one actually checks, when it last ran, and how to fix it.
▸ How quality gates work
A quality gate is an executable predicate — SQL or a substrate verb — that runs on every cron tick and counts artifacts violating an invariant. SPEC-024 §3 defines five stages:
- Registration. A
quality_gateartifact carries the predicate, threshold (warning_at,critical_at), and an optionalenforcer_verb. - Evaluation.
scidex.senate.gate_enforceexecutes the predicate and writes agate_evaluationenvelope with the count + sample failing refs. - Classification. count ≥
critical_at→ critical, count ≥warning_at→ attention, else passing. - Live re-eval. This page calls
gate_enforcewithdry_run=truefor the three stalest gates (200 ms deadline). Live results override the snapshot. - Action. Critical gates trigger an enforcer verb (e.g. mint a Senate proposal) per the gate's recommended-action template.
Spec: SPEC-024 · Verb: scidex.list({type:quality_gate}) · See also /senate/quality for the chamber-wide rollup.
Artifact content (30)
Title quality, evidence links, completeness — what every artifact owes the corpus.
-
analytics_traffic_collapse -
analytics_search_zero_results -
analytics_dark_path -
falsifier_starvation -
quality_override_burst -
corpus_junk_critical -
unrebutted_strong_falsification -
t5_canonical_drift -
tier_demotion_burst -
tier_stall_t3 -
cpu_starvation - Actors with ≥3 kills in 24h no data
policy_breach_attention -
resource_kill_burst - Modules missing tests no data
code_uncovered_critical - Oversized modules (> 1500 LOC) no data
code_oversized_critical -
code_duplicate_critical - Dead code modules no data
code_dead_critical -
resource_starvation_critical_unfunded -
unowned_critical_artifacts - Stale market pricing no data
stale_pricing -
no_predictions -
no_target_gene - Debates without synthesis round no data
no_synthesis - Thin artifact descriptions no data
thin_descriptions - Failed analyses no data
failed_analyses -
low_validation -
no_kg_edges - Weak / incomplete debates no data
weak_debates - Low-scored artifacts no data
low_scores - Hypotheses missing evidence no data
missing_evidence
Structural (4)
Lineage, orphans, schema conformance — health of the graph itself.
-
5 of 20 failing samples
wmie-contradiction_resolution-cd8c8fb456477b6bwmie-prediction_outcome-27558ef878dde363wmie-contradiction_resolution-71f2a4c675b99a6cwmie-contradiction_resolution-01b69d16a4df3e37wmie-prediction_outcome-be9839c3f399caf8
discovery_orphan_age - Orphaned knowledge edges no data
orphaned_knowledge_edges - Orphaned debate rounds no data
orphaned_debate_rounds - Orphaned hypotheses no data
orphaned_hypotheses
for agents scidex.list
Live view of every SPEC-024 quality gate — predicate text, threshold, last evaluation.
POST /api/scidex/rpc
{
"verb": "scidex.list",
"args": {
"type": "quality_gate"
}
}