ai-developer-skill-os 10.1.0 → 10.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/.agents/AGENTS.md +13 -0
  2. package/.agents/LICENSE +21 -21
  3. package/.agents/docs/ARCHITECTURE.md +56 -120
  4. package/.agents/docs/GOVERNANCE.md +3 -3
  5. package/.agents/docs/SPEC.md +137 -60
  6. package/.agents/docs/VERSIONING.md +25 -57
  7. package/.agents/docs/adr/0005-v10-platform-consolidation.md +50 -0
  8. package/.agents/docs/schemas/learning.schema.yml +22 -57
  9. package/.agents/docs/schemas/skill.schema.yml +116 -161
  10. package/.agents/docs/schemas/workflow.schema.yml +51 -26
  11. package/.agents/docs/skill-classification.md +1 -1
  12. package/.agents/registry/graph.json +171 -77
  13. package/.agents/registry/index.yaml +68 -35
  14. package/.agents/rules/coding.md +1 -1
  15. package/.agents/rules/command-safety.md +1 -1
  16. package/.agents/rules/global.md +1 -1
  17. package/.agents/rules/prompt-compiler.md +1 -1
  18. package/.agents/rules/safety.md +1 -1
  19. package/.agents/rules/security.md +1 -1
  20. package/.agents/rules/skill-quality.md +18 -3
  21. package/.agents/skills/_template/SKILL.md +238 -88
  22. package/.agents/skills/qk-api-data-discovery/SKILL.md +176 -190
  23. package/.agents/skills/qk-api-data-discovery/references/bronze-record-format.md +47 -0
  24. package/.agents/skills/qk-api-data-discovery/references/data-contract-yaml.md +72 -0
  25. package/.agents/skills/qk-api-data-discovery/references/discovery-report-template.md +110 -0
  26. package/.agents/skills/qk-backend-data/SKILL.md +150 -1
  27. package/.agents/skills/qk-bug-resolution/SKILL.md +153 -1
  28. package/.agents/skills/qk-bug-resolution/evals/scorecard.yaml +1 -1
  29. package/.agents/skills/qk-code-cleaner/SKILL.md +150 -1
  30. package/.agents/skills/qk-code-review/SKILL.md +195 -1
  31. package/.agents/skills/qk-code-review/evals/scorecard.yaml +1 -1
  32. package/.agents/skills/qk-code-review/references/ai/{v8-schema-validation.md → schema-validation.md} +2 -2
  33. package/.agents/skills/qk-code-review/references/cross-cutting/async-concurrency-patterns.md +515 -515
  34. package/.agents/skills/qk-code-review/references/cross-cutting/error-handling-principles.md +492 -492
  35. package/.agents/skills/qk-code-review/references/cross-cutting/n-plus-one-queries.md +309 -309
  36. package/.agents/skills/qk-code-review/references/cross-cutting/sql-injection-prevention.md +307 -307
  37. package/.agents/skills/qk-code-review/references/cross-cutting/xss-prevention.md +263 -263
  38. package/.agents/skills/qk-code-review/references/languages/angular.md +768 -768
  39. package/.agents/skills/qk-code-review/references/languages/c.md +890 -890
  40. package/.agents/skills/qk-code-review/references/languages/cpp.md +893 -893
  41. package/.agents/skills/qk-code-review/references/languages/css-less-sass.md +661 -661
  42. package/.agents/skills/qk-code-review/references/languages/django.md +985 -985
  43. package/.agents/skills/qk-code-review/references/languages/fastapi.md +580 -580
  44. package/.agents/skills/qk-code-review/references/languages/go.md +993 -993
  45. package/.agents/skills/qk-code-review/references/languages/java.md +409 -409
  46. package/.agents/skills/qk-code-review/references/languages/java8.md +586 -586
  47. package/.agents/skills/qk-code-review/references/languages/kotlin.md +1018 -1018
  48. package/.agents/skills/qk-code-review/references/languages/nestjs.md +593 -593
  49. package/.agents/skills/qk-code-review/references/languages/php.md +684 -684
  50. package/.agents/skills/qk-code-review/references/languages/python.md +1073 -1073
  51. package/.agents/skills/qk-code-review/references/languages/qt.md +757 -757
  52. package/.agents/skills/qk-code-review/references/languages/react.md +871 -871
  53. package/.agents/skills/qk-code-review/references/languages/ruby.md +964 -964
  54. package/.agents/skills/qk-code-review/references/languages/rust.md +846 -846
  55. package/.agents/skills/qk-code-review/references/languages/svelte.md +1064 -1064
  56. package/.agents/skills/qk-code-review/references/languages/swift.md +936 -936
  57. package/.agents/skills/qk-code-review/references/languages/typescript.md +1016 -1016
  58. package/.agents/skills/qk-code-review/references/languages/vue.md +924 -924
  59. package/.agents/skills/qk-code-review/references/languages/zig.md +440 -440
  60. package/.agents/skills/qk-devops-release/SKILL.md +150 -1
  61. package/.agents/skills/qk-feature-delivery/SKILL.md +153 -1
  62. package/.agents/skills/qk-feature-delivery/evals/scorecard.yaml +1 -1
  63. package/.agents/skills/qk-orchestrator/SKILL.md +187 -2
  64. package/.agents/skills/qk-orchestrator/evals/scorecard.yaml +1 -1
  65. package/.agents/skills/qk-orchestrator/references/routing-table.md +1 -1
  66. package/.agents/skills/qk-product-spec/SKILL.md +150 -1
  67. package/.agents/skills/qk-prompt-compiler/SKILL.md +188 -65
  68. package/.agents/skills/qk-ui-engineer/SKILL.md +150 -1
  69. package/.agents/workflows/_schema.yml +146 -146
  70. package/.agents/workflows/bug-resolution.yml +155 -121
  71. package/.agents/workflows/code-review.yml +127 -93
  72. package/.agents/workflows/context-discovery.yml +128 -94
  73. package/.agents/workflows/documentation.yml +124 -90
  74. package/.agents/workflows/feature-delivery.yml +158 -124
  75. package/.agents/workflows/production-release.yml +207 -173
  76. package/.agents/workflows/prompt-compilation.yml +126 -0
  77. package/.agents/workflows/refactor.yml +136 -102
  78. package/.agents/workflows/security-audit.yml +149 -115
  79. package/.agents/workflows/shared/quality-gate.yml +3 -1
  80. package/.agents/workflows/skin-governance.yml +149 -115
  81. package/.agents/workflows/spec-driven-development.yml +78 -71
  82. package/CHANGELOG.md +61 -0
  83. package/README.md +3 -3
  84. package/bin/install.js +38 -51
  85. package/package.json +68 -74
  86. package/tooling/build-registry.js +226 -208
  87. package/tooling/run-aar.js +55 -126
  88. package/tooling/sync-versions.js +2 -2
  89. package/tooling/validate-graph.js +100 -87
  90. package/tooling/validate-skills.js +32 -14
  91. package/.agents/docs/decisions/ADR-001-v8-migration.md +0 -58
  92. package/.agents/docs/decisions/ADR-002-workflow-separation.md +0 -50
  93. package/.agents/docs/decisions/ADR-003-registry-generated.md +0 -54
  94. package/.agents/docs/decisions/ADR-008-skill-boundary-review.md +0 -27
  95. package/.agents/registry/capability-graph.yml +0 -390
  96. package/.agents/registry/skills-index.yml +0 -305
  97. package/.agents/skills/_template/capability.yaml +0 -34
  98. package/.agents/skills/_template/evals/scorecard.yaml +0 -19
@@ -1,102 +1,136 @@
1
- name: refactor
2
- version: 8.0.0
3
- description: "Pipeline refactor an toàn: giữ nguyên behavior bên ngoài, cải thiện chất lượng bên trong."
4
-
5
- owner:
6
- type: engineering
7
- maintained_by: qk-team
8
-
9
- verification_profile: refactor
10
-
11
- triggers:
12
- - "refactor"
13
- - "tái cấu trúc"
14
- - "clean up this code"
15
- - "simplify"
16
- - "reduce complexity"
17
- - "dọn dẹp code"
18
-
19
- ide_binding:
20
- slash_command: "/refactor"
21
- aliases: ["/cleanup", "/simplify"]
22
-
23
- steps:
24
- - id: baseline
25
- name: "Thiết lập baseline"
26
- purpose: "Hiểu code hiện tại trước khi thay đổi"
27
- required: true
28
- skip_if: null
29
- inputs:
30
- - target_files
31
- - refactor_goal # e.g. "extract functions", "reduce complexity", "improve naming"
32
- outputs:
33
- - current_behavior_summary # What the code does now
34
- - pain_points # Specific issues to address
35
- - test_coverage_status # Có tests không?
36
- context_budget: 200
37
- actions:
38
- - "Đọc toàn bộ target section"
39
- - "Mô tả behavior hiện tại"
40
- - "Identify specific code smells"
41
- exit_on_fail: BLOCKED
42
-
43
- - id: plan
44
- name: "Lên kế hoạch refactor"
45
- purpose: "Quyết định approach để không thay đổi external behavior"
46
- required: true
47
- skip_if: null
48
- inputs:
49
- - pain_points
50
- - current_behavior_summary
51
- outputs:
52
- - refactor_steps # Ordered list of changes
53
- - risk_assessment # What could break
54
- - rollback_point # Git commit or checkpoint
55
- min_confidence: HIGH
56
- actions:
57
- - "Outline từng bước thay đổi"
58
- - "Xác định gì có thể break"
59
- human_checkpoint:
60
- condition: "risk_assessment cho thấy có thể breaking change hoặc thiếu test coverage"
61
- message: "Refactor rủi ro cao. Vui lòng duyệt qua refactor_steps và risk_assessment."
62
- - id: execute
63
- name: "Thực hiện refactor"
64
- purpose: "Apply changes theo plan, step by step"
65
- required: true
66
- skip_if: null
67
- inputs:
68
- - refactor_steps
69
- outputs:
70
- - modified_files
71
- - changes_summary
72
- actions:
73
- - "Làm từng bước nhỏ, verify sau mỗi bước"
74
- - "Không refactor ngoài scope đã định"
75
- - "Chỉ refactor, KHÔNG add behavior mới"
76
- - "Đảm bảo code sau refactor pass R-C-09"
77
- - "Không add functionality mới trong khi refactor"
78
-
79
- - id: verify
80
- name: "Verify behavior unchanged + quality gate"
81
- purpose: "Xác nhận external behavior giống hệt trước refactor VÀ quality cải thiện"
82
- required: true
83
- skip_if: null
84
- inputs:
85
- - current_behavior_summary
86
- - modified_files
87
- outputs:
88
- - behavior_preserved # true/false
89
- - test_results # pass/fail/na
90
- - quality_gate_result # PASS | FAIL
91
- actions:
92
- - "Re-read modified sections"
93
- - "So sánh với current_behavior_summary — behavior PHẢI giống hệt"
94
- - "Chạy tests nếu có"
95
- - "Áp dụng shared quality gate → xem: .agents/workflows/shared/quality-gate.yml"
96
- - " Checklist: universal_checks + refactor specific checks"
97
- - "Ghi log execution trace vào evals/traces/"
98
- exit_on_fail: FAILED
99
-
100
- escalation:
101
- max_retries: 1
102
- on_failure: "Revert to rollback_point. Report what was completed and what remains."
1
+ name: refactor
2
+ version: 10.2.0
3
+ platforms: [antigravity, claude, opencode]
4
+ runtime_version: 1
5
+ description: "Pipeline refactor an toàn: giữ nguyên behavior bên ngoài, cải thiện chất lượng bên trong."
6
+
7
+ owner:
8
+ type: engineering
9
+ maintained_by: qk-team
10
+
11
+ verification_profile: refactor
12
+
13
+ triggers:
14
+ - "refactor"
15
+ - "tái cấu trúc"
16
+ - "clean up this code"
17
+ - "simplify"
18
+ - "reduce complexity"
19
+ - "dọn dẹp code"
20
+
21
+ ide_binding:
22
+ slash_command: "/refactor"
23
+ aliases: ["/cleanup", "/simplify"]
24
+
25
+ steps:
26
+ - id: baseline
27
+ name: "Thiết lập baseline"
28
+ purpose: "Hiểu code hiện tại trước khi thay đổi"
29
+ required: true
30
+ skip_if: null
31
+ inputs:
32
+ - target_files
33
+ - refactor_goal # e.g. "extract functions", "reduce complexity", "improve naming"
34
+ outputs:
35
+ - current_behavior_summary # What the code does now
36
+ - pain_points # Specific issues to address
37
+ - test_coverage_status # Có tests không?
38
+ context_budget: 200
39
+ actions:
40
+ - "Đọc toàn bộ target section"
41
+ - "Mô tả behavior hiện tại"
42
+ - "Identify specific code smells"
43
+ exit_on_fail: BLOCKED
44
+
45
+ - id: plan
46
+ name: "Lên kế hoạch refactor"
47
+ purpose: "Quyết định approach để không thay đổi external behavior"
48
+ required: true
49
+ skip_if: null
50
+ inputs:
51
+ - pain_points
52
+ - current_behavior_summary
53
+ outputs:
54
+ - refactor_steps # Ordered list of changes
55
+ - risk_assessment # What could break
56
+ - rollback_point # Git commit or checkpoint
57
+ min_confidence: HIGH
58
+ actions:
59
+ - "Outline từng bước thay đổi"
60
+ - "Xác định gì có thể break"
61
+ human_checkpoint:
62
+ condition: "risk_assessment cho thấy có thể breaking change hoặc thiếu test coverage"
63
+ message: "Refactor rủi ro cao. Vui lòng duyệt qua refactor_steps và risk_assessment."
64
+ - id: execute
65
+ name: "Thực hiện refactor"
66
+ purpose: "Apply changes theo plan, step by step"
67
+ required: true
68
+ skip_if: null
69
+ inputs:
70
+ - refactor_steps
71
+ outputs:
72
+ - modified_files
73
+ - changes_summary
74
+ actions:
75
+ - "Làm từng bước nhỏ, verify sau mỗi bước"
76
+ - "Không refactor ngoài scope đã định"
77
+ - "Chỉ refactor, KHÔNG add behavior mới"
78
+ - "Đảm bảo code sau refactor pass R-C-09"
79
+ - "Không add functionality mới trong khi refactor"
80
+
81
+ - id: verify
82
+ name: "Verify behavior unchanged + quality gate"
83
+ purpose: "Xác nhận external behavior giống hệt trước refactor VÀ quality cải thiện"
84
+ required: true
85
+ skip_if: null
86
+ inputs:
87
+ - current_behavior_summary
88
+ - modified_files
89
+ outputs:
90
+ - behavior_preserved # true/false
91
+ - test_results # pass/fail/na
92
+ - quality_gate_result # PASS | FAIL
93
+ actions:
94
+ - "Re-read modified sections"
95
+ - "So sánh với current_behavior_summary — behavior PHẢI giống hệt"
96
+ - "Chạy tests nếu có"
97
+ - "Áp dụng shared quality gate → xem: .agents/workflows/shared/quality-gate.yml"
98
+ - " Checklist: universal_checks + refactor specific checks"
99
+ - "Ghi log execution trace vào evals/traces/"
100
+ exit_on_fail: FAILED
101
+
102
+ escalation:
103
+ max_retries: 1
104
+ on_failure: "Revert to rollback_point. Report what was completed and what remains."
105
+
106
+ # ── V10.2 Additions ──────────────────────────────
107
+ # Confidence Model
108
+ # | Level | Condition | Action |
109
+ # |--------|------------------------|--------------|
110
+ # | HIGH | Step inputs provided | Proceed |
111
+ # | MEDIUM | Some assumptions needed | Note assumptions |
112
+ # | LOW | Insufficient evidence | EXIT: BLOCKED|
113
+ #
114
+ # Exit Codes
115
+ # | Code | Meaning | When |
116
+ # |---------|-------------------------------|-------------------------|
117
+ # | SUCCESS | Step completed and verified | All criteria met |
118
+ # | PARTIAL | Step done with minor gaps | Some checks skipped |
119
+ # | BLOCKED | Missing precondition | Ask user |
120
+ # | FAILED | Step failed after max retries | Report error |
121
+ #
122
+ # Evidence Format:
123
+ # [SEVERITY] step_id: [step-name]
124
+ # Reason: [why this matters]
125
+ # Confidence: [HIGH|MEDIUM|LOW]
126
+ # Fix: [suggestion]
127
+ #
128
+ # Compliance:
129
+ # Runtime Standard: 11/11
130
+ # Frontmatter Complete: yes
131
+ # References Valid: yes
132
+ # Decision Trees: PASS
133
+ # Thresholds Defined: PASS
134
+ # schema_version: 10.2.0
135
+ # runtime_version: 1
136
+ # platforms: [antigravity, claude, opencode]
@@ -1,115 +1,149 @@
1
- name: security-audit
2
- version: 8.0.0
3
- description: "Workflow kiểm toán an toàn mã nguồn và chống xâm nhập (Security Audit)."
4
-
5
- owner:
6
- type: security
7
- maintained_by: qk-team
8
-
9
- verification_profile: security-audit
10
-
11
- triggers:
12
- - "security audit"
13
- - "kiểm toán bảo mật"
14
- - "check for vulnerabilities"
15
- - "scan for secrets"
16
- - "is this secure"
17
- - "audit an toàn"
18
-
19
- ide_binding:
20
- slash_command: "/security-audit"
21
- aliases: ["/audit", "/sec-scan"]
22
-
23
- steps:
24
- - id: observe
25
- name: "Observe System"
26
- purpose: "Thu thập metadata về cấu trúc và các thành phần"
27
- required: true
28
- inputs:
29
- - source_code
30
- outputs:
31
- - system_context
32
- actions:
33
- - "Xác định tech stack, boundaries và các third-party libs"
34
-
35
- - id: dependency_scan
36
- name: "Dependency Scan"
37
- purpose: "Kiểm tra rủi ro từ package bên ngoài"
38
- required: true
39
- inputs:
40
- - system_context
41
- - package_files
42
- outputs:
43
- - dependency_vulnerabilities
44
- actions:
45
- - "Kiểm tra version cũ, thư viện có CVE"
46
-
47
- - id: secret_scan
48
- name: "Secret Scan"
49
- purpose: "Tìm kiếm thông tin nhạy cảm bị rò rỉ"
50
- required: true
51
- inputs:
52
- - source_code
53
- outputs:
54
- - leaked_secrets
55
- actions:
56
- - "Quét hardcoded API keys, tokens, passwords trong code"
57
-
58
- - id: permission_review
59
- name: "Permission Review"
60
- purpose: "Rà soát mô hình phân quyền và RBAC"
61
- required: true
62
- inputs:
63
- - system_context
64
- - access_control_code
65
- outputs:
66
- - permission_flaws
67
- actions:
68
- - "Kiểm tra nguyên tắc least privilege"
69
- - "Tìm lỗ hổng authentication/authorization bypass"
70
-
71
- - id: risk_classification
72
- name: "Risk Classification"
73
- purpose: "Đánh giá mức độ nghiêm trọng"
74
- required: true
75
- inputs:
76
- - dependency_vulnerabilities
77
- - leaked_secrets
78
- - permission_flaws
79
- outputs:
80
- - classified_risks
81
- actions:
82
- - "Phân loại LOW/MEDIUM/HIGH/CRITICAL"
83
-
84
- - id: recommendation
85
- name: "Recommendation"
86
- purpose: "Đề xuất giải pháp khắc phục"
87
- required: true
88
- inputs:
89
- - classified_risks
90
- outputs:
91
- - security_report
92
- actions:
93
- - "Tạo báo cáo chi tiết kèm actionable steps"
94
- - "Đề xuất giải pháp phải enforce R-SEC-04"
95
- human_checkpoint:
96
- condition: "classified_risks chứa bất kỳ mục nào ở mức CRITICAL"
97
- message: "Phát hiện lỗ hổng CRITICAL. Xác nhận trước khi tiến hành áp dụng fix."
98
- - id: verify
99
- name: "Verify Fixes"
100
- purpose: "Đảm bảo lỗ hổng đã được vá"
101
- required: true
102
- skip_if: "Không có remediation nào được apply trong phiên làm việc này"
103
- inputs:
104
- - source_code
105
- - security_report
106
- outputs:
107
- - final_audit_status
108
- actions:
109
- - "Check lại các vị trí đã report"
110
- - "Ghi log execution trace vào evals/traces/"
111
- exit_on_fail: PARTIAL
112
-
113
- escalation:
114
- max_retries: 0
115
- on_failure: "Báo động đỏ (CRITICAL) nếu phát hiện secret leak"
1
+ name: security-audit
2
+ version: 10.2.0
3
+ platforms: [antigravity, claude, opencode]
4
+ runtime_version: 1
5
+ description: "Workflow kiểm toán an toàn mã nguồn và chống xâm nhập (Security Audit)."
6
+
7
+ owner:
8
+ type: security
9
+ maintained_by: qk-team
10
+
11
+ verification_profile: security-audit
12
+
13
+ triggers:
14
+ - "security audit"
15
+ - "kiểm toán bảo mật"
16
+ - "check for vulnerabilities"
17
+ - "scan for secrets"
18
+ - "is this secure"
19
+ - "audit an toàn"
20
+
21
+ ide_binding:
22
+ slash_command: "/security-audit"
23
+ aliases: ["/audit", "/sec-scan"]
24
+
25
+ steps:
26
+ - id: observe
27
+ name: "Observe System"
28
+ purpose: "Thu thập metadata về cấu trúc và các thành phần"
29
+ required: true
30
+ inputs:
31
+ - source_code
32
+ outputs:
33
+ - system_context
34
+ actions:
35
+ - "Xác định tech stack, boundaries và các third-party libs"
36
+
37
+ - id: dependency_scan
38
+ name: "Dependency Scan"
39
+ purpose: "Kiểm tra rủi ro từ package bên ngoài"
40
+ required: true
41
+ inputs:
42
+ - system_context
43
+ - package_files
44
+ outputs:
45
+ - dependency_vulnerabilities
46
+ actions:
47
+ - "Kiểm tra version cũ, thư viện có CVE"
48
+
49
+ - id: secret_scan
50
+ name: "Secret Scan"
51
+ purpose: "Tìm kiếm thông tin nhạy cảm bị rò rỉ"
52
+ required: true
53
+ inputs:
54
+ - source_code
55
+ outputs:
56
+ - leaked_secrets
57
+ actions:
58
+ - "Quét hardcoded API keys, tokens, passwords trong code"
59
+
60
+ - id: permission_review
61
+ name: "Permission Review"
62
+ purpose: "Rà soát mô hình phân quyền và RBAC"
63
+ required: true
64
+ inputs:
65
+ - system_context
66
+ - access_control_code
67
+ outputs:
68
+ - permission_flaws
69
+ actions:
70
+ - "Kiểm tra nguyên tắc least privilege"
71
+ - "Tìm lỗ hổng authentication/authorization bypass"
72
+
73
+ - id: risk_classification
74
+ name: "Risk Classification"
75
+ purpose: "Đánh giá mức độ nghiêm trọng"
76
+ required: true
77
+ inputs:
78
+ - dependency_vulnerabilities
79
+ - leaked_secrets
80
+ - permission_flaws
81
+ outputs:
82
+ - classified_risks
83
+ actions:
84
+ - "Phân loại LOW/MEDIUM/HIGH/CRITICAL"
85
+
86
+ - id: recommendation
87
+ name: "Recommendation"
88
+ purpose: "Đề xuất giải pháp khắc phục"
89
+ required: true
90
+ inputs:
91
+ - classified_risks
92
+ outputs:
93
+ - security_report
94
+ actions:
95
+ - "Tạo báo cáo chi tiết kèm actionable steps"
96
+ - "Đề xuất giải pháp phải enforce R-SEC-04"
97
+ human_checkpoint:
98
+ condition: "classified_risks chứa bất kỳ mục nào ở mức CRITICAL"
99
+ message: "Phát hiện lỗ hổng CRITICAL. Xác nhận trước khi tiến hành áp dụng fix."
100
+ - id: verify
101
+ name: "Verify Fixes"
102
+ purpose: "Đảm bảo lỗ hổng đã được vá"
103
+ required: true
104
+ skip_if: "Không có remediation nào được apply trong phiên làm việc này"
105
+ inputs:
106
+ - source_code
107
+ - security_report
108
+ outputs:
109
+ - final_audit_status
110
+ actions:
111
+ - "Check lại các vị trí đã report"
112
+ - "Ghi log execution trace vào evals/traces/"
113
+ exit_on_fail: PARTIAL
114
+
115
+ escalation:
116
+ max_retries: 0
117
+ on_failure: "Báo động đỏ (CRITICAL) nếu phát hiện secret leak"
118
+
119
+ # ── V10.2 Additions ──────────────────────────────
120
+ # Confidence Model
121
+ # | Level | Condition | Action |
122
+ # |--------|------------------------|--------------|
123
+ # | HIGH | Step inputs provided | Proceed |
124
+ # | MEDIUM | Some assumptions needed | Note assumptions |
125
+ # | LOW | Insufficient evidence | EXIT: BLOCKED|
126
+ #
127
+ # Exit Codes
128
+ # | Code | Meaning | When |
129
+ # |---------|-------------------------------|-------------------------|
130
+ # | SUCCESS | Step completed and verified | All criteria met |
131
+ # | PARTIAL | Step done with minor gaps | Some checks skipped |
132
+ # | BLOCKED | Missing precondition | Ask user |
133
+ # | FAILED | Step failed after max retries | Report error |
134
+ #
135
+ # Evidence Format:
136
+ # [SEVERITY] step_id: [step-name]
137
+ # Reason: [why this matters]
138
+ # Confidence: [HIGH|MEDIUM|LOW]
139
+ # Fix: [suggestion]
140
+ #
141
+ # Compliance:
142
+ # Runtime Standard: 11/11
143
+ # Frontmatter Complete: yes
144
+ # References Valid: yes
145
+ # Decision Trees: PASS
146
+ # Thresholds Defined: PASS
147
+ # schema_version: 10.2.0
148
+ # runtime_version: 1
149
+ # platforms: [antigravity, claude, opencode]
@@ -1,5 +1,7 @@
1
1
  name: quality-gate
2
- version: 9.2.0
2
+ version: 10.2.0
3
+ platforms: [antigravity, claude, opencode]
4
+ runtime_version: 1
3
5
  description: "Shared quality gate — embedded vào bước verify của feature-delivery, bug-resolution, refactor. Source of truth duy nhất cho R-C-10 checklist."
4
6
  type: shared-step
5
7