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,90 +1,124 @@
1
- name: documentation
2
- version: 8.0.0
3
- description: "Pipeline viết và cập nhật tài liệu chính xác — phải match code thực tế, cấm bịa đặt."
4
-
5
- owner:
6
- type: engineering
7
- maintained_by: qk-team
8
-
9
- verification_profile: documentation
10
-
11
- triggers:
12
- - "write docs"
13
- - "viết tài liệu"
14
- - "update README"
15
- - "cập nhật docs"
16
- - "document this"
17
- - "add documentation"
18
-
19
- ide_binding:
20
- slash_command: "/docs"
21
- aliases: ["/document", "/readme"]
22
-
23
- steps:
24
- - id: audit_existing
25
- name: "Kiểm tra tài liệu hiện tại"
26
- purpose: "Xác định docs nào cần tạo mới, cập nhật, hay xóa"
27
- required: true
28
- skip_if: "Task là tạo doc mới hoàn toàn"
29
- inputs:
30
- - target_docs
31
- - relevant_code
32
- outputs:
33
- - outdated_sections # Sections that no longer match code
34
- - missing_sections # Things in code but not in docs
35
- - accurate_sections # Keep as-is
36
-
37
- - id: read_source
38
- name: "Đọc source code"
39
- purpose: "Hiểu chính xác behavior của code trước khi viết về nó"
40
- required: true
41
- skip_if: null
42
- inputs:
43
- - relevant_code_files
44
- outputs:
45
- - verified_behavior # What the code actually does
46
- - api_signatures # Function signatures, types, params
47
- - examples_from_code # Real usage examples found in codebase
48
- min_confidence: HIGH
49
- context_budget: 200
50
- actions:
51
- - "Đọc implementation, không chỉ interface"
52
- - "Xác nhận examples từ test files nếu có"
53
- - "Không assume behavior — phải verify từ code"
54
-
55
- - id: write
56
- name: "Viết tài liệu"
57
- purpose: "Tạo tài liệu chính xác và hữu ích"
58
- required: true
59
- skip_if: null
60
- inputs:
61
- - verified_behavior
62
- - api_signatures
63
- - examples_from_code
64
- outputs:
65
- - draft_documentation
66
- actions:
67
- - "Chỉ viết những gì đã verify từ code"
68
- - "Dùng examples thật từ codebase"
69
- - "Đảm bảo docs tuân thủ R-C-09 (không có slop text)"
70
- - "Structure: What → Why → How → Examples"
71
-
72
- - id: verify_accuracy
73
- name: "Xác minh độ chính xác"
74
- purpose: "Đảm bảo doc không có thông tin sai hoặc lỗi thời"
75
- required: true
76
- skip_if: null
77
- inputs:
78
- - draft_documentation
79
- - verified_behavior
80
- outputs:
81
- - accuracy_check # PASS | FAIL with specific issues
82
- actions:
83
- - "So sánh từng claim trong doc với code thực tế"
84
- - "Flag bất kỳ thứ gì không thể verify từ code"
85
- - "Ghi log execution trace vào evals/traces/"
86
- exit_on_fail: FAILED
87
-
88
- escalation:
89
- max_retries: 1
90
- on_failure: "Report which sections could not be verified. Do not publish unverified content."
1
+ name: documentation
2
+ version: 10.2.0
3
+ platforms: [antigravity, claude, opencode]
4
+ runtime_version: 1
5
+ description: "Pipeline viết và cập nhật tài liệu chính xác — phải match code thực tế, cấm bịa đặt."
6
+
7
+ owner:
8
+ type: engineering
9
+ maintained_by: qk-team
10
+
11
+ verification_profile: documentation
12
+
13
+ triggers:
14
+ - "write docs"
15
+ - "viết tài liệu"
16
+ - "update README"
17
+ - "cập nhật docs"
18
+ - "document this"
19
+ - "add documentation"
20
+
21
+ ide_binding:
22
+ slash_command: "/docs"
23
+ aliases: ["/document", "/readme"]
24
+
25
+ steps:
26
+ - id: audit_existing
27
+ name: "Kiểm tra tài liệu hiện tại"
28
+ purpose: "Xác định docs nào cần tạo mới, cập nhật, hay xóa"
29
+ required: true
30
+ skip_if: "Task là tạo doc mới hoàn toàn"
31
+ inputs:
32
+ - target_docs
33
+ - relevant_code
34
+ outputs:
35
+ - outdated_sections # Sections that no longer match code
36
+ - missing_sections # Things in code but not in docs
37
+ - accurate_sections # Keep as-is
38
+
39
+ - id: read_source
40
+ name: "Đọc source code"
41
+ purpose: "Hiểu chính xác behavior của code trước khi viết về nó"
42
+ required: true
43
+ skip_if: null
44
+ inputs:
45
+ - relevant_code_files
46
+ outputs:
47
+ - verified_behavior # What the code actually does
48
+ - api_signatures # Function signatures, types, params
49
+ - examples_from_code # Real usage examples found in codebase
50
+ min_confidence: HIGH
51
+ context_budget: 200
52
+ actions:
53
+ - "Đọc implementation, không chỉ interface"
54
+ - "Xác nhận examples từ test files nếu có"
55
+ - "Không assume behavior — phải verify từ code"
56
+
57
+ - id: write
58
+ name: "Viết tài liệu"
59
+ purpose: "Tạo tài liệu chính xác và hữu ích"
60
+ required: true
61
+ skip_if: null
62
+ inputs:
63
+ - verified_behavior
64
+ - api_signatures
65
+ - examples_from_code
66
+ outputs:
67
+ - draft_documentation
68
+ actions:
69
+ - "Chỉ viết những gì đã verify từ code"
70
+ - "Dùng examples thật từ codebase"
71
+ - "Đảm bảo docs tuân thủ R-C-09 (không có slop text)"
72
+ - "Structure: What → Why → How → Examples"
73
+
74
+ - id: verify_accuracy
75
+ name: "Xác minh độ chính xác"
76
+ purpose: "Đảm bảo doc không có thông tin sai hoặc lỗi thời"
77
+ required: true
78
+ skip_if: null
79
+ inputs:
80
+ - draft_documentation
81
+ - verified_behavior
82
+ outputs:
83
+ - accuracy_check # PASS | FAIL with specific issues
84
+ actions:
85
+ - "So sánh từng claim trong doc với code thực tế"
86
+ - "Flag bất kỳ thứ gì không thể verify từ code"
87
+ - "Ghi log execution trace vào evals/traces/"
88
+ exit_on_fail: FAILED
89
+
90
+ escalation:
91
+ max_retries: 1
92
+ on_failure: "Report which sections could not be verified. Do not publish unverified content."
93
+
94
+ # ── V10.2 Additions ──────────────────────────────
95
+ # Confidence Model
96
+ # | Level | Condition | Action |
97
+ # |--------|------------------------|--------------|
98
+ # | HIGH | Step inputs provided | Proceed |
99
+ # | MEDIUM | Some assumptions needed | Note assumptions |
100
+ # | LOW | Insufficient evidence | EXIT: BLOCKED|
101
+ #
102
+ # Exit Codes
103
+ # | Code | Meaning | When |
104
+ # |---------|-------------------------------|-------------------------|
105
+ # | SUCCESS | Step completed and verified | All criteria met |
106
+ # | PARTIAL | Step done with minor gaps | Some checks skipped |
107
+ # | BLOCKED | Missing precondition | Ask user |
108
+ # | FAILED | Step failed after max retries | Report error |
109
+ #
110
+ # Evidence Format:
111
+ # [SEVERITY] step_id: [step-name]
112
+ # Reason: [why this matters]
113
+ # Confidence: [HIGH|MEDIUM|LOW]
114
+ # Fix: [suggestion]
115
+ #
116
+ # Compliance:
117
+ # Runtime Standard: 11/11
118
+ # Frontmatter Complete: yes
119
+ # References Valid: yes
120
+ # Decision Trees: PASS
121
+ # Thresholds Defined: PASS
122
+ # schema_version: 10.2.0
123
+ # runtime_version: 1
124
+ # platforms: [antigravity, claude, opencode]
@@ -1,124 +1,158 @@
1
- name: feature-delivery
2
- version: 8.0.0
3
- description: "Pipeline end-to-end để phát triển tính năng mới: từ requirement đến verified implementation."
4
-
5
- owner:
6
- type: engineering
7
- maintained_by: qk-team
8
-
9
- verification_profile: feature
10
-
11
- triggers:
12
- - "add feature"
13
- - "thêm tính năng"
14
- - "implement feature"
15
- - "build a new"
16
- - "new component"
17
- - "làm tính năng mới"
18
-
19
- ide_binding:
20
- slash_command: "/feature"
21
- aliases: ["/build", "/implement"]
22
-
23
- steps:
24
- - id: requirement
25
- name: "Phân tích yêu cầu"
26
- purpose: "Xác định rõ feature cần làm gì, cho ai, thành công trông như thế nào"
27
- required: true
28
- skip_if: null
29
- inputs:
30
- - user_description
31
- - existing_context
32
- outputs:
33
- - feature_scope # What's in, what's out
34
- - acceptance_criteria # How to know it's done
35
- - affected_areas # Which parts of codebase are touched
36
- min_confidence: HIGH
37
- actions:
38
- - "Viết lại requirement bằng ngôn ngữ kỹ thuật"
39
- - "Xác định acceptance criteria rõ ràng"
40
- - "Identify files/modules sẽ bị ảnh hưởng"
41
- exit_on_fail: BLOCKED
42
-
43
- - id: context
44
- name: "Load context"
45
- purpose: "Hiểu codebase hiện tại đủ để implement đúng cách"
46
- required: true
47
- skip_if: "Context graph đã có từ qk-orchestrator"
48
- inputs:
49
- - affected_areas
50
- outputs:
51
- - existing_patterns # How similar things are done in this codebase
52
- - integration_points # Where new code will connect
53
- - constraints # Tech stack, conventions to follow
54
- actions:
55
- - "Đọc các file liên quan (targeted, không đọc toàn bộ)"
56
- - "Tìm pattern tương tự trong codebase"
57
- - "Xác định integration points"
58
-
59
- - id: design
60
- name: "Thiết kế solution"
61
- purpose: "Quyết định approach trước khi code"
62
- required: true
63
- skip_if: "Feature đơn giản, single file, no design decision needed"
64
- inputs:
65
- - feature_scope
66
- - existing_patterns
67
- - constraints
68
- outputs:
69
- - implementation_plan # Files to create/modify + what changes
70
- - data_structures # New types, interfaces if needed
71
- - api_contract # If adding/changing API
72
- min_confidence: HIGH
73
- actions:
74
- - "Outline: files to create, files to modify"
75
- - "Define data structures và types"
76
- - "Xác định API contract nếu cần"
77
- human_checkpoint:
78
- condition: "affected_areas thuộc complexity level 'high' hoặc 'critical' (5+ files, có external dependency hoặc breaking change)"
79
- message: "Feature này có độ phức tạp cao. Xác nhận implementation_plan trước khi bắt đầu code."
80
- - id: implement
81
- name: "Implement"
82
- purpose: "Viết code theo design đã approved"
83
- required: true
84
- skip_if: null
85
- inputs:
86
- - implementation_plan
87
- - existing_patterns
88
- outputs:
89
- - created_files
90
- - modified_files
91
- - implementation_summary
92
- actions:
93
- - "Implement theo thứ tự: types → logic → UI → tests"
94
- - "Follow existing patterns và conventions"
95
- - "Code phải tuân thủ nghiêm ngặt R-C-09 (Zero-Slop)"
96
- - "Phải validate input/output theo R-SEC-04"
97
- - "Không refactor ngoài scope"
98
-
99
- - id: verify
100
- name: "Verify implementation"
101
- purpose: "Xác nhận feature hoạt động đúng theo acceptance criteria — quality gate bắt buộc"
102
- required: true
103
- skip_if: null
104
- inputs:
105
- - acceptance_criteria
106
- - created_files
107
- - modified_files
108
- outputs:
109
- - verification_result
110
- - unmet_criteria
111
- - quality_gate_result # PASS | PARTIAL | FAIL
112
- actions:
113
- - "Đối chiếu từng acceptance criterion — list unmet nếu có"
114
- - "Re-read key implementation sections"
115
- - "Run linter nếu có (npm run lint / ruff / eslint)"
116
- - "Run tests nếu có (npm test / pytest / go test)"
117
- - "Áp dụng shared quality gate → xem: .agents/workflows/shared/quality-gate.yml"
118
- - " Checklist: universal_checks + feature-delivery specific checks"
119
- - "Ghi log execution trace vào evals/traces/"
120
- exit_on_fail: PARTIAL
121
-
122
- escalation:
123
- max_retries: 1
124
- on_failure: "Report implementation_plan + what was completed + what remains + blocker reason"
1
+ name: feature-delivery
2
+ version: 10.2.0
3
+ platforms: [antigravity, claude, opencode]
4
+ runtime_version: 1
5
+ description: "Pipeline end-to-end để phát triển tính năng mới: từ requirement đến verified implementation."
6
+
7
+ owner:
8
+ type: engineering
9
+ maintained_by: qk-team
10
+
11
+ verification_profile: feature
12
+
13
+ triggers:
14
+ - "add feature"
15
+ - "thêm tính năng"
16
+ - "implement feature"
17
+ - "build a new"
18
+ - "new component"
19
+ - "làm tính năng mới"
20
+
21
+ ide_binding:
22
+ slash_command: "/feature"
23
+ aliases: ["/build", "/implement"]
24
+
25
+ steps:
26
+ - id: requirement
27
+ name: "Phân tích yêu cầu"
28
+ purpose: "Xác định rõ feature cần làm gì, cho ai, thành công trông như thế nào"
29
+ required: true
30
+ skip_if: null
31
+ inputs:
32
+ - user_description
33
+ - existing_context
34
+ outputs:
35
+ - feature_scope # What's in, what's out
36
+ - acceptance_criteria # How to know it's done
37
+ - affected_areas # Which parts of codebase are touched
38
+ min_confidence: HIGH
39
+ actions:
40
+ - "Viết lại requirement bằng ngôn ngữ kỹ thuật"
41
+ - "Xác định acceptance criteria rõ ràng"
42
+ - "Identify files/modules sẽ bị ảnh hưởng"
43
+ exit_on_fail: BLOCKED
44
+
45
+ - id: context
46
+ name: "Load context"
47
+ purpose: "Hiểu codebase hiện tại đủ để implement đúng cách"
48
+ required: true
49
+ skip_if: "Context graph đã có từ qk-orchestrator"
50
+ inputs:
51
+ - affected_areas
52
+ outputs:
53
+ - existing_patterns # How similar things are done in this codebase
54
+ - integration_points # Where new code will connect
55
+ - constraints # Tech stack, conventions to follow
56
+ actions:
57
+ - "Đọc các file liên quan (targeted, không đọc toàn bộ)"
58
+ - "Tìm pattern tương tự trong codebase"
59
+ - "Xác định integration points"
60
+
61
+ - id: design
62
+ name: "Thiết kế solution"
63
+ purpose: "Quyết định approach trước khi code"
64
+ required: true
65
+ skip_if: "Feature đơn giản, single file, no design decision needed"
66
+ inputs:
67
+ - feature_scope
68
+ - existing_patterns
69
+ - constraints
70
+ outputs:
71
+ - implementation_plan # Files to create/modify + what changes
72
+ - data_structures # New types, interfaces if needed
73
+ - api_contract # If adding/changing API
74
+ min_confidence: HIGH
75
+ actions:
76
+ - "Outline: files to create, files to modify"
77
+ - "Define data structures và types"
78
+ - "Xác định API contract nếu cần"
79
+ human_checkpoint:
80
+ condition: "affected_areas thuộc complexity level 'high' hoặc 'critical' (5+ files, có external dependency hoặc breaking change)"
81
+ message: "Feature này có độ phức tạp cao. Xác nhận implementation_plan trước khi bắt đầu code."
82
+ - id: implement
83
+ name: "Implement"
84
+ purpose: "Viết code theo design đã approved"
85
+ required: true
86
+ skip_if: null
87
+ inputs:
88
+ - implementation_plan
89
+ - existing_patterns
90
+ outputs:
91
+ - created_files
92
+ - modified_files
93
+ - implementation_summary
94
+ actions:
95
+ - "Implement theo thứ tự: types → logic → UI → tests"
96
+ - "Follow existing patterns và conventions"
97
+ - "Code phải tuân thủ nghiêm ngặt R-C-09 (Zero-Slop)"
98
+ - "Phải validate input/output theo R-SEC-04"
99
+ - "Không refactor ngoài scope"
100
+
101
+ - id: verify
102
+ name: "Verify implementation"
103
+ purpose: "Xác nhận feature hoạt động đúng theo acceptance criteria — quality gate bắt buộc"
104
+ required: true
105
+ skip_if: null
106
+ inputs:
107
+ - acceptance_criteria
108
+ - created_files
109
+ - modified_files
110
+ outputs:
111
+ - verification_result
112
+ - unmet_criteria
113
+ - quality_gate_result # PASS | PARTIAL | FAIL
114
+ actions:
115
+ - "Đối chiếu từng acceptance criterion — list unmet nếu có"
116
+ - "Re-read key implementation sections"
117
+ - "Run linter nếu có (npm run lint / ruff / eslint)"
118
+ - "Run tests nếu có (npm test / pytest / go test)"
119
+ - "Áp dụng shared quality gate → xem: .agents/workflows/shared/quality-gate.yml"
120
+ - " Checklist: universal_checks + feature-delivery specific checks"
121
+ - "Ghi log execution trace vào evals/traces/"
122
+ exit_on_fail: PARTIAL
123
+
124
+ escalation:
125
+ max_retries: 1
126
+ on_failure: "Report implementation_plan + what was completed + what remains + blocker reason"
127
+
128
+ # ── V10.2 Additions ──────────────────────────────
129
+ # Confidence Model
130
+ # | Level | Condition | Action |
131
+ # |--------|------------------------|--------------|
132
+ # | HIGH | Step inputs provided | Proceed |
133
+ # | MEDIUM | Some assumptions needed | Note assumptions |
134
+ # | LOW | Insufficient evidence | EXIT: BLOCKED|
135
+ #
136
+ # Exit Codes
137
+ # | Code | Meaning | When |
138
+ # |---------|-------------------------------|-------------------------|
139
+ # | SUCCESS | Step completed and verified | All criteria met |
140
+ # | PARTIAL | Step done with minor gaps | Some checks skipped |
141
+ # | BLOCKED | Missing precondition | Ask user |
142
+ # | FAILED | Step failed after max retries | Report error |
143
+ #
144
+ # Evidence Format:
145
+ # [SEVERITY] step_id: [step-name]
146
+ # Reason: [why this matters]
147
+ # Confidence: [HIGH|MEDIUM|LOW]
148
+ # Fix: [suggestion]
149
+ #
150
+ # Compliance:
151
+ # Runtime Standard: 11/11
152
+ # Frontmatter Complete: yes
153
+ # References Valid: yes
154
+ # Decision Trees: PASS
155
+ # Thresholds Defined: PASS
156
+ # schema_version: 10.2.0
157
+ # runtime_version: 1
158
+ # platforms: [antigravity, claude, opencode]