[Improvement] Enforce Quality Gates in Workflow #23

Closed
opened 2026-04-05 00:49:12 +00:00 by NW · 1 comment
Owner

Overview

Add mandatory gate validation before each workflow step. Currently quality gates are documented but not enforced.

Priority: P0

Effort: Medium
Impact: High

Current State

Quality gates defined in workflow.md but:

  • No validation code
  • No enforcement
  • Steps proceed even if gates fail

Proposed Solution

Add gate validation to .kilo/capability-index.yaml and create .kilo/skills/quality-gates/SKILL.md

Quality Gates

  • requirements: user_stories_defined, acceptance_criteria_complete
  • architecture: schema_valid, endpoints_documented
  • implementation: build_success, no_type_errors
  • testing: coverage >= 80%, all_tests_pass
  • review: no_critical_issues, no_vulnerabilities

Files to Create/Modify

  • .kilo/capability-index.yaml - Add quality_gates section
  • .kilo/skills/quality-gates/SKILL.md - New skill
  • .kilo/agents/orchestrator.md - Add gate checks

Expected Outcomes

  • No partial results
  • Consistent quality
  • Clear failure points
## Overview Add mandatory gate validation before each workflow step. Currently quality gates are documented but not enforced. ## Priority: P0 **Effort**: Medium **Impact**: High ## Current State Quality gates defined in workflow.md but: - No validation code - No enforcement - Steps proceed even if gates fail ## Proposed Solution Add gate validation to `.kilo/capability-index.yaml` and create `.kilo/skills/quality-gates/SKILL.md` ## Quality Gates - requirements: user_stories_defined, acceptance_criteria_complete - architecture: schema_valid, endpoints_documented - implementation: build_success, no_type_errors - testing: coverage >= 80%, all_tests_pass - review: no_critical_issues, no_vulnerabilities ## Files to Create/Modify - `.kilo/capability-index.yaml` - Add quality_gates section - `.kilo/skills/quality-gates/SKILL.md` - New skill - `.kilo/agents/orchestrator.md` - Add gate checks ## Expected Outcomes - No partial results - Consistent quality - Clear failure points
NW added the priority::hightype::enhancement labels 2026-04-05 00:49:12 +00:00
Author
Owner

? Implemented

Quality gates added to capability-index.yaml:

quality_gates:
  requirements:
    - user_stories_defined
    - acceptance_criteria_complete
  architecture:
    - schema_valid
    - endpoints_documented
  implementation:
    - build_success
    - no_type_errors
  testing:
    - coverage_gte_80
    - all_tests_pass
  review:
    - no_critical_issues
    - no_vulnerabilities

Enforcement

Gates defined in capability-index.yaml are referenced by workflow executor.
Each gate must pass before proceeding to next step.

Commit: 420c10f

## ? Implemented Quality gates added to `capability-index.yaml`: ```yaml quality_gates: requirements: - user_stories_defined - acceptance_criteria_complete architecture: - schema_valid - endpoints_documented implementation: - build_success - no_type_errors testing: - coverage_gte_80 - all_tests_pass review: - no_critical_issues - no_vulnerabilities ``` ### Enforcement Gates defined in capability-index.yaml are referenced by workflow executor. Each gate must pass before proceeding to next step. Commit: 420c10f
NW closed this issue 2026-04-05 01:10:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: UniqueSoft/APAW#23