Pipeline quality gates: mandatory audit steps between pipeline stages
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- javascript
Hướng nghiên cứu
Bắt đầu với các định nghĩa pipeline trong manifest.yaml, sau đó theo dõi cách bootstrap engine chạy các stage và cách npx promptkit assemble CLI xử lý các stage của pipeline. Xác định nơi các mục gate, mức độ nghiêm trọng, hành vi pass/fail và ghi chú về gate được khuyến nghị sẽ được biểu diễn. Được xem là hoàn tất khi schema, quá trình thực thi tương tác và hành vi của CLI nhất quán hỗ trợ các gate bắt buộc hoặc được khuyến nghị đã đề xuất.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Add quality gates as a first-class pipeline concept — mandatory or recommended audit/verification steps that run between pipeline stages before the next stage can proceed.
Motivation
GitHub Spec Kit builds quality gates directly into its workflow:
- Spec quality checklist — After specification creation, validates completeness, testability, and ambiguity
- Constitution compliance — Before planning, checks that the spec doesn't violate project principles
- Pre-implementation checklist — Before coding, verifies all checklist items pass (stops and asks if failures exist)
- Consistency analysis — After task breakdown, validates spec ↔ plan ↔ tasks alignment with severity levels (CRITICAL > HIGH > MEDIUM > LOW)
These gates are mandatory, not opt-in, which is what makes them effective.
PromptKit already has the building blocks:
audit-traceability— validates cross-document alignmentaudit-spec-alignment— checks spec ↔ implementation alignmentaudit-code-compliance— checks code ↔ spec alignmentaudit-test-compliance— checks test ↔ spec alignment
The gap: pipelines don't declare which audits should run between stages.
Proposed Design
-
Pipeline schema extension: Add an optional
gatefield to pipeline stage transitions inmanifest.yaml:pipelines: document-lifecycle: stages: - template: author-requirements-doc output_contract: requirements-document - gate: audit-traceability # ← NEW: must pass before next stage severity: warning # or "blocking" - template: author-design-doc input_contract: requirements-document output_contract: design-document - gate: audit-spec-alignment severity: blocking -
Bootstrap engine integration: When running a pipeline interactively, the bootstrap engine would execute gate templates between stages and report pass/fail before proceeding
-
CLI integration:
npx promptkit assemblecould emit a note about recommended gates when assembling a pipeline stage
Credit
This pattern is inspired by GitHub Spec Kit's built-in quality checkpoints. See their plan-template.md (constitution compliance gate) and checklist-template.md (pre-implementation quality validation) for the original implementation.
- Ngôn ngữ chính
- JavaScript
- Star
- 111
- Fork
- 24
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/PromptKit
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
Tất cả issue của microsoft/PromptKit
Issue tương tự
-
Tool errors containing cycles or BigInt crash getErrorMessage and replace the original failureĐang mởfactory-active factory-automatic task-bug-reproduction-success task-identify-harness-labels-done task-identify-issue-type-done
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
vercel/ai#22796 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(knowledge): list-promotion-candidates prints a stack trace on a malformed claim inventoryĐang mởgood first issue needs-triage priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
melodic-software/claude-code-plugins#6982 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
chore v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
modelcontextprotocol/servers#5115 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
beginner bug good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
philaconvalley/website#168 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày