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.
- package/.agents/AGENTS.md +13 -0
- package/.agents/LICENSE +21 -21
- package/.agents/docs/ARCHITECTURE.md +56 -120
- package/.agents/docs/GOVERNANCE.md +3 -3
- package/.agents/docs/SPEC.md +137 -60
- package/.agents/docs/VERSIONING.md +25 -57
- package/.agents/docs/adr/0005-v10-platform-consolidation.md +50 -0
- package/.agents/docs/schemas/learning.schema.yml +22 -57
- package/.agents/docs/schemas/skill.schema.yml +116 -161
- package/.agents/docs/schemas/workflow.schema.yml +51 -26
- package/.agents/docs/skill-classification.md +1 -1
- package/.agents/registry/graph.json +171 -77
- package/.agents/registry/index.yaml +68 -35
- package/.agents/rules/coding.md +1 -1
- package/.agents/rules/command-safety.md +1 -1
- package/.agents/rules/global.md +1 -1
- package/.agents/rules/prompt-compiler.md +1 -1
- package/.agents/rules/safety.md +1 -1
- package/.agents/rules/security.md +1 -1
- package/.agents/rules/skill-quality.md +18 -3
- package/.agents/skills/_template/SKILL.md +238 -88
- package/.agents/skills/qk-api-data-discovery/SKILL.md +176 -190
- package/.agents/skills/qk-api-data-discovery/references/bronze-record-format.md +47 -0
- package/.agents/skills/qk-api-data-discovery/references/data-contract-yaml.md +72 -0
- package/.agents/skills/qk-api-data-discovery/references/discovery-report-template.md +110 -0
- package/.agents/skills/qk-backend-data/SKILL.md +150 -1
- package/.agents/skills/qk-bug-resolution/SKILL.md +153 -1
- package/.agents/skills/qk-bug-resolution/evals/scorecard.yaml +1 -1
- package/.agents/skills/qk-code-cleaner/SKILL.md +150 -1
- package/.agents/skills/qk-code-review/SKILL.md +195 -1
- package/.agents/skills/qk-code-review/evals/scorecard.yaml +1 -1
- package/.agents/skills/qk-code-review/references/ai/{v8-schema-validation.md → schema-validation.md} +2 -2
- package/.agents/skills/qk-code-review/references/cross-cutting/async-concurrency-patterns.md +515 -515
- package/.agents/skills/qk-code-review/references/cross-cutting/error-handling-principles.md +492 -492
- package/.agents/skills/qk-code-review/references/cross-cutting/n-plus-one-queries.md +309 -309
- package/.agents/skills/qk-code-review/references/cross-cutting/sql-injection-prevention.md +307 -307
- package/.agents/skills/qk-code-review/references/cross-cutting/xss-prevention.md +263 -263
- package/.agents/skills/qk-code-review/references/languages/angular.md +768 -768
- package/.agents/skills/qk-code-review/references/languages/c.md +890 -890
- package/.agents/skills/qk-code-review/references/languages/cpp.md +893 -893
- package/.agents/skills/qk-code-review/references/languages/css-less-sass.md +661 -661
- package/.agents/skills/qk-code-review/references/languages/django.md +985 -985
- package/.agents/skills/qk-code-review/references/languages/fastapi.md +580 -580
- package/.agents/skills/qk-code-review/references/languages/go.md +993 -993
- package/.agents/skills/qk-code-review/references/languages/java.md +409 -409
- package/.agents/skills/qk-code-review/references/languages/java8.md +586 -586
- package/.agents/skills/qk-code-review/references/languages/kotlin.md +1018 -1018
- package/.agents/skills/qk-code-review/references/languages/nestjs.md +593 -593
- package/.agents/skills/qk-code-review/references/languages/php.md +684 -684
- package/.agents/skills/qk-code-review/references/languages/python.md +1073 -1073
- package/.agents/skills/qk-code-review/references/languages/qt.md +757 -757
- package/.agents/skills/qk-code-review/references/languages/react.md +871 -871
- package/.agents/skills/qk-code-review/references/languages/ruby.md +964 -964
- package/.agents/skills/qk-code-review/references/languages/rust.md +846 -846
- package/.agents/skills/qk-code-review/references/languages/svelte.md +1064 -1064
- package/.agents/skills/qk-code-review/references/languages/swift.md +936 -936
- package/.agents/skills/qk-code-review/references/languages/typescript.md +1016 -1016
- package/.agents/skills/qk-code-review/references/languages/vue.md +924 -924
- package/.agents/skills/qk-code-review/references/languages/zig.md +440 -440
- package/.agents/skills/qk-devops-release/SKILL.md +150 -1
- package/.agents/skills/qk-feature-delivery/SKILL.md +153 -1
- package/.agents/skills/qk-feature-delivery/evals/scorecard.yaml +1 -1
- package/.agents/skills/qk-orchestrator/SKILL.md +187 -2
- package/.agents/skills/qk-orchestrator/evals/scorecard.yaml +1 -1
- package/.agents/skills/qk-orchestrator/references/routing-table.md +1 -1
- package/.agents/skills/qk-product-spec/SKILL.md +150 -1
- package/.agents/skills/qk-prompt-compiler/SKILL.md +188 -65
- package/.agents/skills/qk-ui-engineer/SKILL.md +150 -1
- package/.agents/workflows/_schema.yml +146 -146
- package/.agents/workflows/bug-resolution.yml +155 -121
- package/.agents/workflows/code-review.yml +127 -93
- package/.agents/workflows/context-discovery.yml +128 -94
- package/.agents/workflows/documentation.yml +124 -90
- package/.agents/workflows/feature-delivery.yml +158 -124
- package/.agents/workflows/production-release.yml +207 -173
- package/.agents/workflows/prompt-compilation.yml +126 -0
- package/.agents/workflows/refactor.yml +136 -102
- package/.agents/workflows/security-audit.yml +149 -115
- package/.agents/workflows/shared/quality-gate.yml +3 -1
- package/.agents/workflows/skin-governance.yml +149 -115
- package/.agents/workflows/spec-driven-development.yml +78 -71
- package/CHANGELOG.md +61 -0
- package/README.md +3 -3
- package/bin/install.js +38 -51
- package/package.json +68 -74
- package/tooling/build-registry.js +226 -208
- package/tooling/run-aar.js +55 -126
- package/tooling/sync-versions.js +2 -2
- package/tooling/validate-graph.js +100 -87
- package/tooling/validate-skills.js +32 -14
- package/.agents/docs/decisions/ADR-001-v8-migration.md +0 -58
- package/.agents/docs/decisions/ADR-002-workflow-separation.md +0 -50
- package/.agents/docs/decisions/ADR-003-registry-generated.md +0 -54
- package/.agents/docs/decisions/ADR-008-skill-boundary-review.md +0 -27
- package/.agents/registry/capability-graph.yml +0 -390
- package/.agents/registry/skills-index.yml +0 -305
- package/.agents/skills/_template/capability.yaml +0 -34
- package/.agents/skills/_template/evals/scorecard.yaml +0 -19
|
@@ -1,90 +1,124 @@
|
|
|
1
|
-
name: documentation
|
|
2
|
-
version:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- "
|
|
15
|
-
- "
|
|
16
|
-
- "
|
|
17
|
-
- "
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
- "
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
-
|
|
64
|
-
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
- "
|
|
70
|
-
- "
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
- "
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
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:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- "
|
|
15
|
-
- "
|
|
16
|
-
- "
|
|
17
|
-
- "
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
- "
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
-
|
|
56
|
-
|
|
57
|
-
- "
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
-
|
|
68
|
-
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
- "
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
-
|
|
94
|
-
|
|
95
|
-
- "
|
|
96
|
-
- "
|
|
97
|
-
- "
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
-
|
|
108
|
-
|
|
109
|
-
-
|
|
110
|
-
|
|
111
|
-
-
|
|
112
|
-
|
|
113
|
-
-
|
|
114
|
-
|
|
115
|
-
- "
|
|
116
|
-
- "
|
|
117
|
-
- "
|
|
118
|
-
- "
|
|
119
|
-
- "
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
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]
|