Quality Gate Verifier - Process Refinement System
Verify task completion with evidence-based quality checks. Ensures all requirements are met before marking tasks complete.
Usage: python quality_gate.py --task E.1.1 python quality_gate.py --track E python quality_gate.py --pending --strict
Author: CODITECT Process Refinement Version: 1.0.0 Created: 2026-01-02
File: quality_gate.py
Classes
QualityCheck
Base class for quality checks.
FileExistsCheck
Check if expected files exist.
PlanUpdatedCheck
Check if PILOT plan has task marked complete.
SessionLoggedCheck
Check if task has session log entry.
GitCommitCheck
Check if changes are committed.
Functions
get_project_root()
Get the project root directory.
get_pending_tasks()
Get list of incomplete tasks from PILOT plan.
run_quality_gate(task_id, strict)
Run all quality gate checks for a task.
format_report(result)
Format quality gate result as report.
main()
No description
run(task_id, context)
Run the check and return result.
run(task_id, context)
No description
run(task_id, context)
No description
run(task_id, context)
No description
run(task_id, context)
No description
Usage
python quality_gate.py