ai-developer-skill-os 5.0.0 → 6.0.1

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 (39) hide show
  1. package/README.md +10 -10
  2. package/_template/BEHAVIOR_SPEC.md +96 -0
  3. package/docs/GOVERNANCE.md +1 -1
  4. package/fix_seeds.js +22 -0
  5. package/framework/KERNEL.md +65 -40
  6. package/framework/decision-primitives.md +47 -0
  7. package/migrate-to-v6.js +130 -0
  8. package/migrate.js +147 -0
  9. package/migrate.py +133 -0
  10. package/migrate_all.cjs +96 -0
  11. package/package.json +2 -2
  12. package/skills/qk-access-policy/SKILL.md +18 -40
  13. package/skills/qk-ai-builder/SKILL.md +20 -40
  14. package/skills/qk-api-lifecycle/SKILL.md +22 -41
  15. package/skills/qk-bug-resolution/SKILL.md +22 -40
  16. package/skills/qk-context-loader/SKILL.md +19 -39
  17. package/skills/qk-data-lifecycle/SKILL.md +19 -40
  18. package/skills/qk-db-optimizer/SKILL.md +19 -40
  19. package/skills/qk-design-to-code/SKILL.md +20 -41
  20. package/skills/qk-docs/SKILL.md +20 -40
  21. package/skills/qk-engineering-standard/SKILL.md +21 -40
  22. package/skills/qk-feature-delivery/SKILL.md +22 -40
  23. package/skills/qk-help/SKILL.md +18 -36
  24. package/skills/qk-orchestrator/SKILL.md +18 -41
  25. package/skills/qk-policy-engine/SKILL.md +18 -38
  26. package/skills/qk-production-release/SKILL.md +18 -39
  27. package/skills/qk-project-bootstrap/SKILL.md +20 -41
  28. package/skills/qk-project-health/SKILL.md +20 -40
  29. package/skills/qk-project-memory/SKILL.md +19 -40
  30. package/skills/qk-system-evolution/SKILL.md +19 -40
  31. package/skills/qk-ui-audit/SKILL.md +19 -41
  32. package/skills/qk-ui-system-builder/SKILL.md +18 -39
  33. package/skills/qk-validation-gate/SKILL.md +20 -38
  34. package/specs/contracts/behavior-contract.yaml +40 -0
  35. package/specs/expectations/qk-bug-resolution.yaml +35 -0
  36. package/specs/scenarios/fix-login-nullref.yaml +3 -0
  37. package/tests/behavior-conformance.test.js +151 -0
  38. package/_template/SKILL.md +0 -58
  39. package/tests/spec-compliance.test.js +0 -193
@@ -1,56 +1,35 @@
1
1
  ---
2
2
  name: qk-data-lifecycle
3
- version: 5.0.0
4
- updated: 2026-07-03
5
- description: Quản lý Database Schema, Migrations, và Repositories.
6
- category: database
7
- tags: [database, schema, migrations, orm]
8
- platforms: [claude-code, cursor, windsurf, gemini-cli]
3
+ category: infrastructure
4
+ version: 6.0.0
9
5
  ---
10
6
 
11
- # 🛠️ qk-data-lifecycle
7
+ # qk-data-lifecycle
12
8
 
13
- > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
- > Output bắt buộc Decision Summary.
9
+ ## Scope
10
+ - Database Schema, Migrations, and Repositories management (Plan & Execute)
15
11
 
16
- ---
17
-
18
- ## 🎯 Mission (Scope)
19
- - ✅ Thiết kế cấu trúc CSDL và viết file Migration an toàn.
20
- - ❌ Do NOT xóa cột hoặc đổi tên cột đang dùng (DROP/RENAME) mà không dùng cơ chế "Expand & Contract".
21
-
22
- ---
23
-
24
- ## ⚙️ Capabilities (Cognitive Pipeline)
12
+ ## Constraints
25
13
  ```yaml
26
- Pipeline:
27
- - inference
28
- - planning
29
- - execution
30
- - bias-review
31
- - ship-check
14
+ must:
15
+ - Ensure data schema matches application domain models
16
+ - Generate reversible migration scripts
17
+ must_not:
18
+ - Perform destructive schema changes without explicit user approval
32
19
  ```
33
20
 
34
- ---
35
-
36
- ## 🎛️ Dials (Hành vi)
21
+ ## Policies
37
22
  ```yaml
38
- Dials:
39
- - id: strictness
23
+ prefer:
24
+ - Declarative schema definitions over imperative scripts
40
25
  ```
41
26
 
42
- ---
43
-
44
- ## 🛡️ Biases (Sửa lỗi mặc định)
27
+ ## Escalation
45
28
  ```yaml
46
- Biases:
47
- - id: over-indexing # (Chống thói quen đánh index bừa bãi)
29
+ stop:
30
+ - Migration script risks massive data loss
48
31
  ```
49
32
 
50
- ---
51
-
52
- ## 🛫 Ship Criteria
53
- ```yaml
54
- Rules:
55
- - id: minimal-diff
33
+ ## Output
34
+ - Database schemas and migration scripts
56
35
  ```
@@ -1,56 +1,35 @@
1
1
  ---
2
2
  name: qk-db-optimizer
3
- version: 5.0.0
4
- updated: 2026-07-03
5
- description: Tối ưu hóa Database (đánh Index, xử lý N+1 Queries, Slow Queries).
6
- category: database
7
- tags: [database, performance, optimization, queries]
8
- platforms: [claude-code, cursor, windsurf, gemini-cli]
3
+ category: infrastructure
4
+ version: 6.0.0
9
5
  ---
10
6
 
11
- # 🛠️ qk-db-optimizer
7
+ # qk-db-optimizer
12
8
 
13
- > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
- > Output bắt buộc Decision Summary.
9
+ ## Scope
10
+ - Database optimization (Indexes, N+1 Queries, Slow Queries) (Diagnose & Evaluate)
15
11
 
16
- ---
17
-
18
- ## 🎯 Mission (Scope)
19
- - ✅ Tìm nguyên nhân gây nghẽn cổ chai DB và đề xuất Query Optimization.
20
- - ❌ Do NOT vội vàng đề xuất Redis/Cache trước khi fix tận gốc câu SQL lỗi.
21
-
22
- ---
23
-
24
- ## ⚙️ Capabilities (Cognitive Pipeline)
12
+ ## Constraints
25
13
  ```yaml
26
- Pipeline:
27
- - inference
28
- - planning
29
- - execution
30
- - bias-review
31
- - ship-check
14
+ must:
15
+ - Analyze query execution plans if available
16
+ - Suggest non-breaking performance fixes
17
+ must_not:
18
+ - Change database engine or major architecture without consent
32
19
  ```
33
20
 
34
- ---
35
-
36
- ## 🎛️ Dials (Hành vi)
21
+ ## Policies
37
22
  ```yaml
38
- Dials:
39
- - id: optimization-strategy
23
+ prefer:
24
+ - Adding indexes before rewriting complex queries
40
25
  ```
41
26
 
42
- ---
43
-
44
- ## 🛡️ Biases (Sửa lỗi mặc định)
27
+ ## Escalation
45
28
  ```yaml
46
- Biases:
47
- - id: over-indexing
29
+ ask:
30
+ - For exact slow query logs if not provided
48
31
  ```
49
32
 
50
- ---
51
-
52
- ## 🛫 Ship Criteria
53
- ```yaml
54
- Rules:
55
- - id: minimal-diff
33
+ ## Output
34
+ - Optimization plan and SQL patches
56
35
  ```
@@ -1,58 +1,37 @@
1
1
  ---
2
2
  name: qk-design-to-code
3
- version: 5.0.0
4
- updated: 2026-07-03
5
- description: Chuyển đổi thiết kế từ Figma/Images thành các UI component hoàn chỉnh, chuẩn pixel.
6
3
  category: frontend
7
- tags: [ui, figma, frontend, styling, css]
8
- platforms: [claude-code, cursor, windsurf, gemini-cli]
4
+ version: 6.0.0
9
5
  ---
10
6
 
11
- # 🛠️ qk-design-to-code
7
+ # qk-design-to-code
12
8
 
13
- > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
- > Output bắt buộc Decision Summary.
9
+ ## Scope
10
+ - Converting Figma/UI designs into pixel-perfect frontend code (Execute)
15
11
 
16
- ---
17
-
18
- ## 🎯 Mission (Scope)
19
- - ✅ Dịch thiết kế thành mã nguồn pixel-perfect.
20
- - ❌ Do NOT lạm dụng thẻ `<div>` thay cho Semantic HTML.
21
-
22
- ---
23
-
24
- ## ⚙️ Capabilities (Cognitive Pipeline)
12
+ ## Constraints
25
13
  ```yaml
26
- Pipeline:
27
- - inference
28
- - planning
29
- - execution
30
- - bias-review
31
- - ship-check
14
+ must:
15
+ - Use the project's existing design system / tokens
16
+ - Ensure responsive layouts
17
+ must_not:
18
+ - Hardcode magic numbers for spacing/colors
19
+ - Invent new UI components if existing ones suffice
32
20
  ```
33
21
 
34
- ---
35
-
36
- ## 🎛️ Dials (Hành vi)
22
+ ## Policies
37
23
  ```yaml
38
- Dials:
39
- - id: aesthetic-vibe
40
- - id: strictness
24
+ prefer:
25
+ - Semantic HTML elements
26
+ - CSS Grid / Flexbox over absolute positioning
41
27
  ```
42
28
 
43
- ---
44
-
45
- ## 🛡️ Biases (Sửa lỗi mặc định)
29
+ ## Escalation
46
30
  ```yaml
47
- Biases:
48
- - id: fake-ui-slop # (Vẽ UI giả mạo không dùng ảnh placeholder thật)
49
- - id: missing-ui-states # (Bỏ quên :active, :hover)
31
+ stop:
32
+ - Design assets or requirements are ambiguous
50
33
  ```
51
34
 
52
- ---
53
-
54
- ## 🛫 Ship Criteria
55
- ```yaml
56
- Rules:
57
- - id: end-to-end-validation
35
+ ## Output
36
+ - Frontend components and stylesheets
58
37
  ```
@@ -1,56 +1,36 @@
1
1
  ---
2
2
  name: qk-docs
3
- version: 5.0.0
4
- updated: 2026-07-03
5
- description: Viết và duy trì tài liệu dự án để con người có thể dễ dàng đọc hiểu.
6
- category: documentation
7
- tags: [documentation, readme, comments]
8
- platforms: [claude-code, cursor, windsurf, gemini-cli]
3
+ category: utilities
4
+ version: 6.0.0
9
5
  ---
10
6
 
11
- # 🛠️ qk-docs
7
+ # qk-docs
12
8
 
13
- > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
- > Output bắt buộc Decision Summary.
9
+ ## Scope
10
+ - Writing and maintaining project documentation for human readability (Execute)
15
11
 
16
- ---
17
-
18
- ## 🎯 Mission (Scope)
19
- - ✅ Dịch logic phức tạp thành giải thích tiếng Việt trong sáng cho con người.
20
- - ❌ Do NOT dịch nguyên xi các thuật ngữ chuyên ngành (Props, Hook, Cache).
21
-
22
- ---
23
-
24
- ## ⚙️ Capabilities (Cognitive Pipeline)
12
+ ## Constraints
25
13
  ```yaml
26
- Pipeline:
27
- - inference
28
- - planning
29
- - execution
30
- - bias-review
31
- - ship-check
14
+ must:
15
+ - Keep documentation in sync with the actual codebase
16
+ - Use clear, accessible language
17
+ must_not:
18
+ - Generate overly verbose or redundant docs
19
+ - Invent features that don't exist in the code
32
20
  ```
33
21
 
34
- ---
35
-
36
- ## 🎛️ Dials (Hành vi)
22
+ ## Policies
37
23
  ```yaml
38
- Dials:
39
- - id: strictness
24
+ prefer:
25
+ - Examples and code snippets over pure text
40
26
  ```
41
27
 
42
- ---
43
-
44
- ## 🛡️ Biases (Sửa lỗi mặc định)
28
+ ## Escalation
45
29
  ```yaml
46
- Biases:
47
- - id: hallucinated-tools # (Tự bịa ra các step hướng dẫn không tồn tại)
30
+ stop:
31
+ - The codebase logic is too ambiguous to document accurately
48
32
  ```
49
33
 
50
- ---
51
-
52
- ## 🛫 Ship Criteria
53
- ```yaml
54
- Rules:
55
- - id: minimal-diff
34
+ ## Output
35
+ - Markdown documentation files
56
36
  ```
@@ -1,57 +1,38 @@
1
1
  ---
2
2
  name: qk-engineering-standard
3
- version: 5.0.0
4
- updated: 2026-07-03
5
- description: Ép buộc áp dụng SOLID, DRY, Clean Code, và các quy tắc đặt tên.
6
3
  category: conventions
7
- tags: [clean-code, solid, refactoring, conventions]
8
- platforms: [claude-code, cursor, windsurf, gemini-cli]
4
+ version: 6.0.0
9
5
  ---
10
6
 
11
- # 🛠️ qk-engineering-standard
7
+ # qk-engineering-standard
12
8
 
13
- > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
- > Output bắt buộc Decision Summary.
9
+ ## Scope
10
+ - Readability and structural improvements (Evaluate)
15
11
 
16
- ---
17
-
18
- ## 🎯 Mission (Scope)
19
- - ✅ Refactor code để áp dụng Clean Architecture.
20
- - ❌ Do NOT thay đổi logic nghiệp vụ (business logic).
21
-
22
- ---
23
-
24
- ## ⚙️ Capabilities (Cognitive Pipeline)
12
+ ## Constraints
25
13
  ```yaml
26
- Pipeline:
27
- - inference
28
- - planning
29
- - execution
30
- - bias-review
31
- - ship-check
14
+ must:
15
+ - Preserve business logic exactly
16
+ - Ensure tests pass after refactor
17
+ must_not:
18
+ - Invent new requirements
19
+ - Change public API signature
32
20
  ```
33
21
 
34
- ---
35
-
36
- ## 🎛️ Dials (Hành vi)
22
+ ## Policies
37
23
  ```yaml
38
- Dials:
39
- - id: strictness
24
+ prefer:
25
+ - Readability over cleverness
26
+ - Explain trade-offs
40
27
  ```
41
28
 
42
- ---
43
-
44
- ## 🛡️ Biases (Sửa lỗi mặc định)
29
+ ## Escalation
45
30
  ```yaml
46
- Biases:
47
- - id: cosmetic-refactor
48
- - id: premature-abstraction
31
+ stop:
32
+ - Tests fail
49
33
  ```
50
34
 
51
- ---
52
-
53
- ## 🛫 Ship Criteria
54
- ```yaml
55
- Rules:
56
- - id: minimal-diff
35
+ ## Output
36
+ - Evaluation summary
37
+ - Refactored code
57
38
  ```
@@ -1,57 +1,39 @@
1
1
  ---
2
2
  name: qk-feature-delivery
3
- version: 5.0.0
4
- updated: 2026-07-03
5
- description: Phát triển tính năng mới hoàn chỉnh từ Frontend đến Backend.
6
3
  category: fullstack
7
- tags: [feature, frontend, backend, implementation]
8
- platforms: [claude-code, cursor, windsurf, gemini-cli]
4
+ version: 6.0.0
9
5
  ---
10
6
 
11
- # 🛠️ qk-feature-delivery
7
+ # qk-feature-delivery
12
8
 
13
- > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
- > Output bắt buộc là Decision Summary.
9
+ ## Scope
10
+ - New capabilities (Execute)
15
11
 
16
- ---
17
-
18
- ## 🎯 Mission (Scope)
19
- - ✅ Code tính năng end-to-end (API, DB, UI).
20
- - ❌ Do NOT dùng lại các thư viện quá cũ hoặc deprecated.
21
-
22
- ---
23
-
24
- ## ⚙️ Capabilities (Cognitive Pipeline)
12
+ ## Constraints
25
13
  ```yaml
26
- Pipeline:
27
- - inference
28
- - planning
29
- - execution
30
- - bias-review
31
- - ship-check
14
+ must:
15
+ - Clarify requirements if unclear
16
+ - Implement complete end-to-end flow
17
+ must_not:
18
+ - Mix refactoring into feature work
19
+ - Ignore backward compatibility
32
20
  ```
33
21
 
34
- ---
35
-
36
- ## 🎛️ Dials (Hành vi)
22
+ ## Policies
37
23
  ```yaml
38
- Dials:
39
- - id: complexity-budget
24
+ prefer:
25
+ - Plan before implementing
26
+ - Cover UI loading/error states
40
27
  ```
41
28
 
42
- ---
43
-
44
- ## 🛡️ Biases (Sửa lỗi mặc định)
29
+ ## Escalation
45
30
  ```yaml
46
- Biases:
47
- - id: enterprise-crud
48
- - id: missing-ui-states
31
+ stop:
32
+ - Requirements are ambiguous
33
+ ask:
34
+ - Before adding heavy dependencies
49
35
  ```
50
36
 
51
- ---
52
-
53
- ## 🛫 Ship Criteria
54
- ```yaml
55
- Rules:
56
- - id: end-to-end-validation
37
+ ## Output
38
+ - Feature implementation
57
39
  ```
@@ -1,52 +1,34 @@
1
1
  ---
2
2
  name: qk-help
3
- version: 5.0.0
4
- updated: 2026-07-03
5
- description: Hiển thị danh sách các kỹ năng hiện có và các mẹo sử dụng.
6
- category: utility
7
- tags: [help, menu, list]
8
- platforms: [claude-code, cursor, windsurf, gemini-cli]
3
+ category: core
4
+ version: 6.0.0
9
5
  ---
10
6
 
11
- # 🛠️ qk-help
7
+ # qk-help
12
8
 
13
- > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
- > Output bắt buộc Decision Summary.
9
+ ## Scope
10
+ - Displaying available skills and usage tips (Collect & Delegate)
15
11
 
16
- ---
17
-
18
- ## 🎯 Mission (Scope)
19
- - ✅ Trình bày bảng hướng dẫn sử dụng nhanh gọn, dễ đọc.
20
- - ❌ Do NOT đưa ra những tường chữ dài dòng.
21
-
22
- ---
23
-
24
- ## ⚙️ Capabilities (Cognitive Pipeline)
12
+ ## Constraints
25
13
  ```yaml
26
- Pipeline:
27
- - execution # Bỏ qua Inference và Planning vì đây là skill cung cấp thông tin.
28
- - ship-check
14
+ must:
15
+ - Present information clearly and concisely
16
+ must_not:
17
+ - Hallucinate skills that do not exist in the repository
29
18
  ```
30
19
 
31
- ---
32
-
33
- ## 🎛️ Dials (Hành vi)
20
+ ## Policies
34
21
  ```yaml
35
- Dials:
36
- - id: strictness
22
+ prefer:
23
+ - Short, actionable examples over long descriptions
37
24
  ```
38
25
 
39
- ---
40
-
41
- ## 🛡️ Biases (Sửa lỗi mặc định)
26
+ ## Escalation
42
27
  ```yaml
43
- Biases: []
28
+ ask:
29
+ - If the user's intent is unclear when asking for help
44
30
  ```
45
31
 
46
- ---
47
-
48
- ## 🛫 Ship Criteria
49
- ```yaml
50
- Rules:
51
- - id: delegation-only
32
+ ## Output
33
+ - List of available skills and usage instructions
52
34
  ```
@@ -1,58 +1,35 @@
1
1
  ---
2
2
  name: qk-orchestrator
3
- version: 5.0.0
4
- updated: 2026-07-03
5
- description: Điều hướng yêu cầu của người dùng, phân tích ý định và ủy quyền cho các sub-skills phù hợp.
6
3
  category: core
7
- tags: [orchestrator, routing, dispatch, core]
8
- platforms: [claude-code, cursor, windsurf, gemini-cli]
4
+ version: 6.0.0
9
5
  ---
10
6
 
11
- # 🛠️ qk-orchestrator
7
+ # qk-orchestrator
12
8
 
13
- > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
- > Output bắt buộc Decision Summary.
9
+ ## Scope
10
+ - Request analysis and task delegation (Coordinate)
15
11
 
16
- ---
17
-
18
- ## 🎯 Mission (Scope)
19
- - ✅ Phân tích yêu cầu và điều phối cho đúng Skill con.
20
- - ❌ Do NOT tự tay viết code hoặc thực hiện thay đổi hệ thống.
21
-
22
- ---
23
-
24
- ## ⚙️ Capabilities (Cognitive Pipeline)
12
+ ## Constraints
25
13
  ```yaml
26
- Pipeline:
27
- - inference
28
- - planning
29
- - delegation # <-- Core capability
30
- - bias-review
31
- - ship-check
14
+ must:
15
+ - Route user request to the correct sub-skill
16
+ must_not:
17
+ - Write code directly
18
+ - Hallucinate non-existent skills
32
19
  ```
33
20
 
34
- ---
35
-
36
- ## 🎛️ Dials (Hành vi)
21
+ ## Policies
37
22
  ```yaml
38
- Dials:
39
- - id: autonomy # (Tự động quyết định hay chờ lệnh)
40
- - id: strictness
23
+ prefer:
24
+ - Delegate to specialist skills
41
25
  ```
42
26
 
43
- ---
44
-
45
- ## 🛡️ Biases (Sửa lỗi mặc định)
27
+ ## Escalation
46
28
  ```yaml
47
- Biases:
48
- - id: hallucinated-tools # (Tự bịa ra các tool/skill không tồn tại)
49
- - id: absent-delegation # (Tự nhảy vào code thay vì giao việc)
29
+ stop:
30
+ - No matching skill is found
50
31
  ```
51
32
 
52
- ---
53
-
54
- ## 🛫 Ship Criteria
55
- ```yaml
56
- Rules:
57
- - id: delegation-only
33
+ ## Output
34
+ - Delegation plan
58
35
  ```
@@ -1,55 +1,35 @@
1
1
  ---
2
2
  name: qk-policy-engine
3
- version: 5.0.0
4
- updated: 2026-07-03
5
- description: Hệ thống đánh giá chính sách để đảm bảo các hành động an toàn và được ủy quyền.
6
3
  category: security
7
- tags: [security, policy, safety, guardrails]
8
- platforms: [claude-code, cursor, windsurf, gemini-cli]
4
+ version: 6.0.0
9
5
  ---
10
6
 
11
- # 🛠️ qk-policy-engine
7
+ # qk-policy-engine
12
8
 
13
- > **Inheritance:** Kỹ năng này tuân thủ Kiến trúc v5.0 của `framework/KERNEL.md`.
14
- > Output bắt buộc Decision Summary.
9
+ ## Scope
10
+ - System policy evaluation for safe and authorized actions (Govern)
15
11
 
16
- ---
17
-
18
- ## 🎯 Mission (Scope)
19
- - ✅ Đóng vai trò Guardrails, ngăn chặn các hành vi phá hoại trước khi chúng diễn ra.
20
- - ❌ Do NOT đồng ý thực thi lệnh nguy hiểm (drop table, rm -rf) trừ khi có sự xác nhận mạnh mẽ.
21
-
22
- ---
23
-
24
- ## ⚙️ Capabilities (Cognitive Pipeline)
12
+ ## Constraints
25
13
  ```yaml
26
- Pipeline:
27
- - inference
28
- - planning
29
- - bias-review
30
- - ship-check
14
+ must:
15
+ - Evaluate requested actions against defined system constraints
16
+ - Enforce OS-level invariants
17
+ must_not:
18
+ - Allow destructive commands (e.g. rm -rf /) to bypass checks
31
19
  ```
32
20
 
33
- ---
34
-
35
- ## 🎛️ Dials (Hành vi)
21
+ ## Policies
36
22
  ```yaml
37
- Dials:
38
- - id: strictness
23
+ prefer:
24
+ - Strict adherence to policy over convenience
39
25
  ```
40
26
 
41
- ---
42
-
43
- ## 🛡️ Biases (Sửa lỗi mặc định)
27
+ ## Escalation
44
28
  ```yaml
45
- Biases:
46
- - id: swallow-errors
29
+ stop:
30
+ - Action explicitly violates core safety policies
47
31
  ```
48
32
 
49
- ---
50
-
51
- ## 🛫 Ship Criteria
52
- ```yaml
53
- Rules:
54
- - id: delegation-only
33
+ ## Output
34
+ - Policy evaluation result (Allow/Deny)
55
35
  ```