From 24906e15ddec86cfe4b9f1b6bcaae8a7ba4b66ac Mon Sep 17 00:00:00 2001 From: Alexander Whitestone Date: Tue, 14 Apr 2026 22:32:27 +0000 Subject: [PATCH] feat: Add quality gate configuration --- pipelines/quality-gate.yaml | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pipelines/quality-gate.yaml diff --git a/pipelines/quality-gate.yaml b/pipelines/quality-gate.yaml new file mode 100644 index 00000000..d23aebcf --- /dev/null +++ b/pipelines/quality-gate.yaml @@ -0,0 +1,38 @@ +# Quality Gate Configuration +# Pipelines/quality-gate.yaml + +quality_thresholds: + training_pair: + min_score: 0.5 + min_prompt_length: 10 + min_response_length: 20 + + knowledge_file: + min_score: 0.5 + min_title_length: 5 + min_content_length: 50 + + generated_asset: + min_score: 0.5 + min_file_size: 100 # bytes + + adversary_output: + min_score: 0.5 + min_description_length: 50 + required_severities: [critical, high, medium, low, info] + +rejection: + auto_reject: true + reject_dir: ~/.hermes/pipelines/quality/rejected + max_rejections_per_hour: 50 + +notifications: + on_failure: true + notify_pipeline: true + notify_telegram: false + +soul_compliance: + enabled: true + check_corporate_dependency: true + check_false_certainty: true + check_gatekeeping: true