ai-developer-skill-os 8.2.0 → 8.3.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/LICENSE +21 -21
- package/.agents/README.md +90 -90
- package/.agents/docs/CHI_TIET_SKILLS.md +125 -125
- package/.agents/docs/MIGRATION-CLEANUP-V8.1.3.md +36 -36
- package/.agents/docs/MIGRATION-STATUS.md +35 -35
- package/.agents/docs/MIGRATION-V8.md +10 -10
- package/.agents/docs/V8-CERTIFICATION.md +27 -27
- package/.agents/docs/decisions/ADR-001-v8-migration.md +58 -58
- package/.agents/docs/decisions/ADR-002-workflow-separation.md +50 -50
- package/.agents/docs/decisions/ADR-003-registry-generated.md +54 -54
- package/.agents/docs/decisions/ADR-008-skill-boundary-review.md +27 -27
- package/.agents/registry/graph.json +4 -8
- package/.agents/registry/index.yaml +3 -4
- package/.agents/registry/skills-index.yml +525 -525
- package/.agents/rules/coding.md +10 -0
- package/.agents/rules/command-safety.md +37 -14
- package/.agents/rules/priorities.yml +13 -2
- package/.agents/rules/security.md +47 -7
- package/.agents/rules/skill-quality.md +32 -8
- package/.agents/skills/_template/SKILL.md +133 -132
- package/.agents/skills/_template/capability.yaml +20 -20
- package/.agents/skills/_template/evals/scorecard.yaml +19 -19
- package/.agents/skills/qk-access-policy/SKILL.md +4 -1
- package/.agents/skills/qk-agent-observability/SKILL.md +111 -0
- package/.agents/skills/qk-agent-observability/references/scorecard.yaml +80 -0
- package/.agents/skills/qk-ai-builder/SKILL.md +74 -5
- package/.agents/skills/qk-api-lifecycle/SKILL.md +4 -2
- package/.agents/skills/qk-bug-resolution/SKILL.md +3 -21
- package/.agents/skills/qk-code-review/SKILL.md +188 -189
- package/.agents/skills/qk-context-loader/SKILL.md +3 -47
- package/.agents/skills/qk-data-lifecycle/SKILL.md +7 -2
- package/.agents/skills/qk-db-optimizer/SKILL.md +3 -2
- package/.agents/skills/qk-design-system-engineering/SKILL.md +235 -112
- package/.agents/skills/qk-devops-platform/SKILL.md +241 -117
- package/.agents/skills/qk-docs/SKILL.md +3 -1
- package/.agents/skills/qk-engineering-standard/SKILL.md +4 -75
- package/.agents/skills/qk-engineering-standard/references/anti-patterns.md +121 -0
- package/.agents/skills/qk-engineering-standard/rules/frontend.md +1 -1
- package/.agents/skills/qk-fe-api-integration/SKILL.md +13 -32
- package/.agents/skills/qk-feature-delivery/SKILL.md +54 -202
- package/.agents/skills/qk-frontend-architecture/SKILL.md +258 -134
- package/.agents/skills/qk-help/SKILL.md +21 -159
- package/.agents/skills/qk-orchestrator/SKILL.md +2 -78
- package/.agents/skills/qk-orchestrator/references/routing-table.md +15 -3
- package/.agents/skills/qk-product-specification/SKILL.md +253 -130
- package/.agents/skills/qk-production-release/SKILL.md +32 -67
- package/.agents/skills/qk-project-bootstrap/SKILL.md +59 -8
- package/.agents/skills/qk-project-health/SKILL.md +4 -2
- package/.agents/skills/qk-project-memory/SKILL.md +3 -1
- package/.agents/skills/qk-security-audit/SKILL.md +259 -135
- package/.agents/skills/qk-system-evolution/SKILL.md +18 -68
- package/.agents/skills/qk-test-engineering/SKILL.md +262 -139
- package/.agents/skills/qk-ui-audit/SKILL.md +16 -89
- package/.agents/skills/qk-ui-audit/references/anti-slop-checklist.md +2 -2
- package/.agents/skills/qk-ui-builder/SKILL.md +482 -509
- package/.agents/skills/qk-ui-builder/references/component-cookbook.md +455 -1191
- package/.agents/skills/qk-ui-system-builder/SKILL.md +1 -5
- package/.agents/skills/qk-validation-gate/SKILL.md +0 -74
- package/.agents/skills/qk-web-quality-gate/SKILL.md +232 -114
- package/.agents/workflows/_schema.yml +146 -109
- package/.agents/workflows/bug-resolution.yml +121 -101
- package/.agents/workflows/code-review.yml +93 -77
- package/.agents/workflows/documentation.yml +90 -75
- package/.agents/workflows/feature-delivery.yml +120 -103
- package/.agents/workflows/refactor.yml +99 -81
- package/.agents/workflows/research.yml +75 -60
- package/.agents/workflows/security-audit.yml +115 -72
- package/.agents/workflows/skill-evolution.yml +97 -65
- package/.agents/workflows/spec-driven-development.yml +87 -57
- package/CHANGELOG.md +10 -0
- package/README.md +90 -90
- package/bin/install.js +330 -180
- package/package.json +2 -2
- package/.agents/CHANGELOG.md +0 -131
- package/.agents/learnings/draft/README.md +0 -37
- package/.agents/reports/RELEASE-CHECKLIST.md +0 -29
- package/.agents/reports/architecture-audit.md +0 -13
- package/.agents/reports/graph-health.md +0 -20
- package/.agents/reports/skill-audit.md +0 -215
|
@@ -1,81 +1,99 @@
|
|
|
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
|
-
|
|
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
|
-
- id:
|
|
63
|
-
name: "
|
|
64
|
-
purpose: "
|
|
65
|
-
required: true
|
|
66
|
-
skip_if: null
|
|
67
|
-
inputs:
|
|
68
|
-
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
- "
|
|
75
|
-
- "
|
|
76
|
-
- "
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
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"
|
|
81
|
+
purpose: "Xác nhận external behavior giống hệt trước refactor"
|
|
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
|
+
actions:
|
|
91
|
+
- "Re-read modified sections"
|
|
92
|
+
- "So sánh với current_behavior_summary"
|
|
93
|
+
- "Chạy tests nếu có"
|
|
94
|
+
- "Ghi log execution trace vào evals/traces/"
|
|
95
|
+
exit_on_fail: FAILED
|
|
96
|
+
|
|
97
|
+
escalation:
|
|
98
|
+
max_retries: 1
|
|
99
|
+
on_failure: "Revert to rollback_point. Report what was completed and what remains."
|
|
@@ -1,60 +1,75 @@
|
|
|
1
|
-
name: research
|
|
2
|
-
version: 8.0.0
|
|
3
|
-
description: "Pipeline nghiên cứu codebase để hiểu context, dependency, và architecture trước khi thực hiện task lớn."
|
|
4
|
-
|
|
5
|
-
owner:
|
|
6
|
-
type: engineering
|
|
7
|
-
maintained_by: qk-team
|
|
8
|
-
|
|
9
|
-
verification_profile: review
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- id:
|
|
25
|
-
name: "
|
|
26
|
-
purpose: "
|
|
27
|
-
required: true
|
|
28
|
-
skip_if: null
|
|
29
|
-
inputs:
|
|
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
|
-
|
|
1
|
+
name: research
|
|
2
|
+
version: 8.0.0
|
|
3
|
+
description: "Pipeline nghiên cứu codebase để hiểu context, dependency, và architecture trước khi thực hiện task lớn."
|
|
4
|
+
|
|
5
|
+
owner:
|
|
6
|
+
type: engineering
|
|
7
|
+
maintained_by: qk-team
|
|
8
|
+
|
|
9
|
+
verification_profile: review
|
|
10
|
+
|
|
11
|
+
triggers:
|
|
12
|
+
- "how does this work"
|
|
13
|
+
- "tìm hiểu codebase"
|
|
14
|
+
- "explore this repo"
|
|
15
|
+
- "nghiên cứu"
|
|
16
|
+
- "explain the architecture"
|
|
17
|
+
- "trace dependency"
|
|
18
|
+
|
|
19
|
+
ide_binding:
|
|
20
|
+
slash_command: "/research"
|
|
21
|
+
aliases: ["/explore", "/explain"]
|
|
22
|
+
|
|
23
|
+
steps:
|
|
24
|
+
- id: define_scope
|
|
25
|
+
name: "Xác định phạm vi nghiên cứu"
|
|
26
|
+
purpose: "Biết chính xác cần tìm hiểu gì để phục vụ task"
|
|
27
|
+
required: true
|
|
28
|
+
skip_if: null
|
|
29
|
+
inputs:
|
|
30
|
+
- research_goal # What decision does this research enable?
|
|
31
|
+
outputs:
|
|
32
|
+
- research_questions # Specific questions to answer
|
|
33
|
+
- entry_points # Files to start reading
|
|
34
|
+
exit_on_fail: BLOCKED
|
|
35
|
+
|
|
36
|
+
- id: explore
|
|
37
|
+
name: "Khám phá codebase"
|
|
38
|
+
purpose: "Thu thập thông tin đủ để trả lời research questions"
|
|
39
|
+
required: true
|
|
40
|
+
skip_if: null
|
|
41
|
+
inputs:
|
|
42
|
+
- entry_points
|
|
43
|
+
- research_questions
|
|
44
|
+
outputs:
|
|
45
|
+
- findings # Answers to research questions
|
|
46
|
+
- dependency_map # How components relate
|
|
47
|
+
- relevant_files # Files most relevant to the task
|
|
48
|
+
context_budget: 100
|
|
49
|
+
actions:
|
|
50
|
+
- "Dùng grep_search để tìm patterns, không đọc toàn bộ repo"
|
|
51
|
+
- "Đọc targeted sections (≤ 100 lines per read)"
|
|
52
|
+
- "Build mental model của dependency relationship"
|
|
53
|
+
|
|
54
|
+
- id: synthesize
|
|
55
|
+
name: "Tổng hợp kết quả"
|
|
56
|
+
purpose: "Trả lời research questions + tạo context cho task tiếp theo"
|
|
57
|
+
required: true
|
|
58
|
+
skip_if: null
|
|
59
|
+
inputs:
|
|
60
|
+
- findings
|
|
61
|
+
- dependency_map
|
|
62
|
+
outputs:
|
|
63
|
+
- context_summary # Ready-to-use context for next skill
|
|
64
|
+
- architecture_notes # Key patterns và conventions
|
|
65
|
+
- warnings # Gotchas, deprecated patterns, risks
|
|
66
|
+
actions:
|
|
67
|
+
- "Viết summary ngắn gọn (không cần exhaustive)"
|
|
68
|
+
- "Flag các pattern cũ/deprecated nếu thấy"
|
|
69
|
+
- "Báo cáo mọi pattern vi phạm R-SEC-04 nếu thấy"
|
|
70
|
+
- "Ghi log execution trace vào evals/traces/"
|
|
71
|
+
- "Liệt kê relevant files để task tiếp theo load"
|
|
72
|
+
|
|
73
|
+
escalation:
|
|
74
|
+
max_retries: 1
|
|
75
|
+
on_failure: "Report partial findings với confidence level"
|
|
@@ -1,72 +1,115 @@
|
|
|
1
|
-
name: security-audit
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- id:
|
|
25
|
-
name: "
|
|
26
|
-
purpose: "
|
|
27
|
-
required: true
|
|
28
|
-
inputs:
|
|
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
|
-
actions:
|
|
68
|
-
- "
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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"
|