ai-developer-skill-os 8.1.10 → 8.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.
@@ -5,6 +5,24 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
5
5
 
6
6
  ---
7
7
 
8
+ ## [8.2.0] — 2026-07 — EDAOS v8.2: Governed Capability Metadata & Eval Platform
9
+
10
+ ### Added
11
+ - **Manifest-First Architecture & Registry Engine**: Created `tooling/build-registry.js` (`npm run build:registry`) generating lightweight lookup index `.agents/registry/index.yaml` and O(1) runtime adjacency graph `.agents/registry/graph.json` with cycle/orphan detection.
12
+ - **V8.2 Blueprint Plugins**: Introduced customizable project scaffolding templates under `.agents/blueprints/` (`rag`, `coding`, `workflow`) featuring multi-profile environments (`development`, `production`, `testing`) and feature flags.
13
+ - **Governed Capability Manifests**: Created minimalist `.agents/skills/_template/capability.yaml` (`schema_version: 1`) to decouple execution metadata from natural language instructions.
14
+ - **Eval Pipeline Platform**: Added quantitative verification frameworks via inheritance-ready `.agents/skills/_template/evals/scorecard.yaml` (`extends: default`), linking ground-truth execution traces with automated score rubrics.
15
+ - **Domain Patterns Reference Architecture**: Added reference blueprint for Enterprise Domain AI at `.agents/knowledge/domain-patterns/construction/ddc-construction-ai-blueprint.md` (Construction AI, DDC 192 domain skills, QTO IFC bóc tách, n8n automation workflows) showcasing zero interference with core developer capabilities.
16
+
17
+ ### Changed
18
+ - **`qk-project-bootstrap` Evolution (v8.2.0)**: Upgraded to support One-Click Blueprint selection, automated `project.yaml` generation, and the Universal 4-Folder RAG Architecture (`prompts/`, `data/`, `agents/`, `evals/`).
19
+ - **`qk-validation-gate` Evolution (v8.2.0)**: Integrated automated Eval Pipeline validation, reading `scorecard.yaml` rubrics, verifying trace logs in `evals/traces/`, and enforcing quantitative pass thresholds.
20
+ - **`qk-ai-builder` Evolution (v8.2.0)**: Upgraded to Manifest-first capability packaging and strict 4-folder data discipline (immutable `data/raw/` vs cleaned `data/processed/`).
21
+ - Updated system core description in `package.json` to reflect the EDAOS v8.2 paradigm shift.
22
+ - Synced `.agents/CHANGELOG.md` and `.agents/README.md` with root documentation.
23
+
24
+ ---
25
+
8
26
  ## [8.1.7] — 2026-07 — README Sync
9
27
 
10
28
  ### Changed
package/.agents/README.md CHANGED
@@ -1,27 +1,31 @@
1
- # 🚀 AI Developer Skill OS (ai-developer-skill-os) v8.1.7
1
+ # 🚀 AI Developer Skill OS (ai-developer-skill-os) v8.2.0
2
2
 
3
- > **v8.1.7 "Agent Engineering OS + Design Intelligence"**
3
+ > **v8.2.0 "EDAOS v8.2 Governed Capability Metadata & Eval Platform"**
4
4
 
5
- Hệ sinh thái AI Developer Skill OS đã lột xác hoàn toàn. Từ một bộ "công cụ phân tán" (Toolbox) V7, phiên bản V8.1.7 được thiết kế như một **Hệ điều hành khép kín (Agent Engineering OS)**, sở hữu năng lực giám sát, bảo vệ ranh giới quyết định (Decision Boundaries) và được trang bị thêm tầng **Design Intelligence**.
5
+ Hệ sinh thái AI Developer Skill OS tiến hóa lên phiên bản **V8.2.0 (EDAOS v8.2)** với kiến trúc **Manifest-First & Eval Platform**, giúp giảm tối đa chi phí nhận thức (cognitive load) cho các AI Agent thế hệ mới (như Antigravity) nhờ chỉ định ranh giới định lượng, đồ thị phụ thuộc O(1),các Blueprint Plugins quy chuẩn cho từng ngành nghề kỹ thuật.
6
6
 
7
7
  ---
8
8
 
9
- ## 🏗️ Triết Hoạt Động Cốt Lõi (V8 Kernel)
9
+ ## 🏗️ 4 Trụ Cột Kiến Trúc Cốt Lõi (EDAOS v8.2 Architecture)
10
10
 
11
- ### 1. Decision Boundary (Ranh giới Thẩm quyền)
12
- Không còn tình trạng một Skill ôm đồm mọi việc. Mọi Skill (Kỹ năng) hiện tại bị quản bởi các trường `owns`, `does_not_own`, `conflicts_with`, `delegates_to`. Thợ code UI (`qk-ui-builder`) không được phép tự ra quyết định kiến trúc, ngược lại.
11
+ ### 1. Manifest-First & O(1) Registry Engine
12
+ Không còn phụ thuộc vào việc đọc/scan toàn bộ markdown mệt mỏi. AI Agent tra cứu siêu dữ liệu từ `.agents/registry/index.yaml` kiểm duyệt chu trình không lặp (acyclic validation) thông qua O(1) graph JSON (`.agents/registry/graph.json`). Tốc độ hiểu phân công năng lực đạt ngưỡng sub-second!
13
13
 
14
- ### 2. Design Intelligence Layer
15
- Khắc phục điểm yếu "mù thẩm mỹ" của AI. Agent giờ đây không chỉ biết code còn Gu Thẩm Mỹ (Design Taste). Dựa trên yêu cầu của bạn, hệ thống tự động tra cứu **Knowledge Graph** để chọn đúng Theme (Fintech, Healthcare, SaaS...), Typography và Visual Patterns trước khi giao việc cho UI Builder.
14
+ ### 2. V8.2 Blueprint Plugins & Universal 4-Folder Architecture
15
+ Khởi tạo dự án (chỉ đạo qua `qk-project-bootstrap`) hỗ trợ sinh file `project.yaml` gốc từ thư viện Blueprint Plugins:
16
+ - **RAG / AI Agents:** Cấu trúc 4 thư mục chuẩn thực chiến: `prompts/`, `data/` (bảo vệ `data/raw` bất biến), `agents/`, và `evals/`.
17
+ - **Standard Software Coding:** Kiến trúc module sạch vững chắc với `DESIGN.md` và rào cản kiểm duyệt tự động.
18
+ - **Automation Workflows:** Các luồng tích hợp n8n và dữ liệu lớn.
16
19
 
17
- ### 3. Khế Ước Đi Đầu (Contract-First & Zero-Trust)
18
- - **Frontend / UI**: Mọi sửa đổi phải tuân thủ Design System (được `qk-design-system-engineering` kiểm duyệt).
19
- - **Backend / API**: Phải viết OpenAPI/Swagger contract trước (`qk-api-lifecycle`).
20
- - **Data**: Cấm AI tự đoán cấu trúc DB, mọi truy vấn phải có Schema (`qk-data-lifecycle`).
20
+ ### 3. Eval Pipeline Platform (Khép Kín Kiểm Định)
21
+ Chấm dứt việc tin tưởng AI blindly. Mọi Capability đều thẻ điểm định lượng (`scorecard.yaml`), kết nối log thực thi thực tế từ thư mục `evals/traces/` qua cổng thẩm định sắt đá `qk-validation-gate`. Trách nhiệm định lượng 0–100 với sai số 0% (zero tolerance for fabrication).
22
+
23
+ ### 4. Domain Patterns Separation (Bảo Vệ Kernel)
24
+ Các hệ thống AI chuyên sâu (như **Xây dựng DDC 192 skills**, bóc tách BIM/IFC, ERP) được tải lập trình viên cấu hình dạng Module dưới `knowledge/domain-patterns/` thay vì phơi bày trực tiếp vào 30 Core Developer Skills, giữ cho đồ thị cốt lõi luôn nhanh bén mượt mà!
21
25
 
22
26
  ---
23
27
 
24
- ## 🧩 Danh sách 30 Master Skills
28
+ ## 🧩 Danh sách 30 Master Skills (Core Developer Capabilities)
25
29
 
26
30
  Các kỹ năng được quản lý bằng **Capability Graph** và được đánh giá liên tục thông qua Evaluation Suite. Bao gồm 7 lĩnh vực:
27
31
  1. **Core & Orchestration:** `qk-orchestrator`, `qk-context-loader`, `qk-project-memory`, `qk-help`
@@ -0,0 +1,39 @@
1
+ # project.yaml — Workspace Manifest for Software Coding Projects
2
+ # Schema Version 1 — EDAOS v8.2 Governed Capability Platform
3
+ schema_version: 1
4
+ manifest_version: "8.2"
5
+
6
+ project:
7
+ name: "{{PROJECT_NAME}}"
8
+ version: "0.1.0"
9
+ blueprint: "standard-software-coding"
10
+ description: "Clean, streamlined software engineering architecture with automated quality gating."
11
+
12
+ capabilities:
13
+ - qk-project-bootstrap
14
+ - qk-code-review
15
+ - qk-engineering-standard
16
+ - qk-bug-resolution
17
+ - qk-validation-gate
18
+ knowledge:
19
+ - clean-code-metrics
20
+ - design-intelligence
21
+ eval:
22
+ scorecard: "evals/scorecard.yaml"
23
+
24
+ profiles:
25
+ development:
26
+ linter_strictness: standard
27
+ tools_mode: local_fs
28
+ production:
29
+ linter_strictness: maximum
30
+ tools_mode: ci_gated
31
+ testing:
32
+ linter_strictness: standard
33
+ tools_mode: unit_mock
34
+
35
+ features:
36
+ registry: true
37
+ eval: true
38
+ planner: false
39
+ critic: false
@@ -0,0 +1,45 @@
1
+ # project.yaml — Workspace Manifest for RAG & Production AI Agents
2
+ # Schema Version 1 — EDAOS v8.2 Governed Capability Platform
3
+ schema_version: 1
4
+ manifest_version: "8.2"
5
+
6
+ project:
7
+ name: "{{PROJECT_NAME}}"
8
+ version: "0.1.0"
9
+ blueprint: "rag-4-folder-architecture"
10
+ description: "RAG / Production AI Agent project powered by the standard 4-folder engineering blueprint."
11
+
12
+ # Recommended Folder Scaffolding:
13
+ # prompts/ - System prompts, tasks, tools (version-controlled as code)
14
+ # data/ - Immutable raw/ data and clean processed/ knowledge chunks
15
+ # agents/ - Customized subagents, domain micro-skills, and tool configurations
16
+ # evals/ - Quantitative tests/, traces/, and scorecards/
17
+
18
+ capabilities:
19
+ - qk-project-bootstrap
20
+ - qk-ai-builder
21
+ - qk-validation-gate
22
+ - qk-context-loader
23
+ - qk-docs
24
+ knowledge:
25
+ - architecture-standard
26
+ - security-guidelines
27
+ eval:
28
+ scorecard: "evals/scorecard.yaml"
29
+
30
+ profiles:
31
+ development:
32
+ tools_mode: mock
33
+ log_level: debug
34
+ production:
35
+ tools_mode: real_mcp
36
+ log_level: error
37
+ testing:
38
+ tools_mode: trace_record
39
+ log_level: info
40
+
41
+ features:
42
+ registry: true
43
+ eval: true
44
+ planner: false
45
+ critic: false
@@ -0,0 +1,38 @@
1
+ # project.yaml — Workspace Manifest for Automation Workflows (n8n / ETL)
2
+ # Schema Version 1 — EDAOS v8.2 Governed Capability Platform
3
+ schema_version: 1
4
+ manifest_version: "8.2"
5
+
6
+ project:
7
+ name: "{{PROJECT_NAME}}"
8
+ version: "0.1.0"
9
+ blueprint: "automation-workflow"
10
+ description: "Data ETL and business workflow automation pipeline driven by evidence-based evals."
11
+
12
+ capabilities:
13
+ - qk-project-bootstrap
14
+ - qk-data-lifecycle
15
+ - qk-api-lifecycle
16
+ - qk-validation-gate
17
+ knowledge:
18
+ - etl-patterns
19
+ - domain-patterns
20
+ eval:
21
+ scorecard: "evals/scorecard.yaml"
22
+
23
+ profiles:
24
+ development:
25
+ webhook_target: staging
26
+ tools_mode: dry_run
27
+ production:
28
+ webhook_target: live
29
+ tools_mode: executed_live
30
+ testing:
31
+ webhook_target: mock_server
32
+ tools_mode: trace_record
33
+
34
+ features:
35
+ registry: true
36
+ eval: true
37
+ planner: false
38
+ critic: false
@@ -0,0 +1,103 @@
1
+ # Reference Blueprint: Construction AI Agent System (DDC Methodology)
2
+ **EDAOS v8.2 Domain Pattern Implementation — Governed Capability Metadata & Eval Platform**
3
+
4
+ Tài liệu này đóng vai trò là **Mô hình Mẫu Thực Chiến (Reference Case Study)** cho việc áp dụng kiến trúc **EDAOS v8.2** vào các nghiệp vụ kỹ thuật chuyên sâu (Enterprise Domain AI), tiêu biểu nhất là **Ngành Xây Dựng (Construction Engineering, BIM & ERP Automation)**.
5
+
6
+ ---
7
+
8
+ ## 1. Triết Lý Tách Biệt Ranh Giới (Zero Interference Principle)
9
+ Trong EDAOS v8.2, các nghiệp vụ cụ thể thuộc các ngành chuyên biệt như Xây dựng (Construction), Tài chính (Finance), hay Y tế (Healthcare) là **các bản thi công tham chiếu (Reference Implementations)** được nạp theo định dạng Plugin tại Thư viện Tri thức: `.agents/knowledge/domain-patterns/*`.
10
+
11
+ Tuyệt đối không nhồi nhét 192 skill ngành Xây Dựng vào 30 Master Capabilities cốt lõi của Lập trình viên để giữ chi phí nhận thức (cognitive load) và O(1) Dependency Graph của Antigravity ở mức nhẹ nhàng, nhanh chóng nhất.
12
+
13
+ ---
14
+
15
+ ## 2. Bản Đồ Năng Lực DDC (192 Domain-Specific Capabilities)
16
+ Một hệ sinh thái AI Agent thực chiến cho doanh nghiệp xây dựng được cấu trúc thành 4 nhóm nghiệp vụ:
17
+
18
+ ### 🛠️ Nhóm 1: Toolkit Hoạt Động Hằng Ngày (85 Skills)
19
+ - **Bóc tách & Dự toán (QTO / CWRICR):** Bóc khối lượng tự động từ mô hình IFC/Revit; tự động khớp đơn giá và tính hao phí vật liệu.
20
+ - **Phân tích BIM:** Phát hiện xung đột mô hình (Clash Detection), báo cáo chất lượng BIM và tính toán dấu chân Carbon ($\text{CO}_2$).
21
+ - **Chuyển đổi Dữ liệu CAD:** Tự động chuyển đổi hàng loạt DWG, DGN, IFC, Revit sang bảng tính Excel và ngược lại.
22
+ - **Quản trị Hiện trường:** Lập báo cáo tiến độ thi công hằng ngày, phân tích năng suất tổ đội và xử lý Lệnh Thay Đổi (Change Order).
23
+
24
+ ### 🧠 Nhóm 2: Nền Tảng Dữ Liệu & Quy Trình Số (67 Skills)
25
+ - **Xử lý Silo Dữ Liệu & ETL Tự Động:** Chuẩn hóa dữ liệu thô, liên thông ERP doanh nghiệp với mô hình BIM.
26
+ - **AI / Machine Learning:** Truy vấn bằng vector search cho hồ sơ thầu, mô hình ML dự báo trượt giá và chi phí công trình.
27
+ - **Kiểm định Chất lượng Dữ liệu:** Tự động hóa QA/QC trước khi đẩy dữ liệu vào RAG.
28
+
29
+ ### ⚙️ Nhóm 3: Vận Hành & Automation Workflows (20 Skills)
30
+ - **Luồng n8n Automation:** Xây dựng các pipeline tự động đồng bộ báo cáo từ hiện trường về Văn phòng chính.
31
+ - **Quản trị An toàn & Minh Bạch:** Đánh giá rủi ro lao động từ ảnh hiện trường và giám sát tiến độ theo thời gian thực.
32
+
33
+ ### 📄 Nhóm 4: Sinh Tài Liệu & QA (20 Skills)
34
+ - **Soạn thảo Hợp đồng & Pháp lý:** Phân tích hợp đồng FIDIC, phát hiện các điều khoản rủi ro trong hồ sơ mời thầu.
35
+ - **Báo cáo Tài chính & Bản vẽ Hoàn công:** Lập báo cáo chênh lệch ngân sách, theo dõi vật tư và bảo hành dự án.
36
+
37
+ ---
38
+
39
+ ## 3. Ứng Dụng "4-Folder Blueprint" Vào Dự Án Xây Dựng
40
+ Khi bootstrap một dự án Xây dựng số với `project.yaml` (sử dụng blueprint `rag`), cấu trúc 4 thư mục quy chuẩn sẽ được kích hoạt để quản trị toàn bộ nguồn tri thức:
41
+
42
+ ```text
43
+ ai-construction-project/
44
+ ├── project.yaml ← Manifest gốc nạp bộ skill DDC & profile
45
+ ├── 📁 prompts/
46
+ │ ├── system/ ← chuyen-gia-fidic.md, tro-ly-bim.md
47
+ │ └── tasks/ ← boc-khoi-luong-ifc.md, phan-tich-truot-gia.md
48
+ ├── 📁 data/
49
+ │ ├── raw/ ← Dữ liệu BẤT BIẾN: PDF thầu gốc, file DWG/Revit/IFC khách gửi
50
+ │ └── processed/ ← Dữ liệu SẠCH: Bảng Excel đã lược bỏ dòng lặp, JSON cho RAG
51
+ ├── 📁 agents/
52
+ │ ├── skills/ ← Các micro-skills chuyên sâu được nạp theo khuôn capability.yaml
53
+ │ └── tools/ ← MCP kết nối Revit API, Excel ODBC, Google Drive
54
+ └── 📁 evals/
55
+ ├── scorecards/ ← scorecard.yaml theo tiêu chuẩn rào dốc Ngành Xây Dựng
56
+ └── traces/ ← Nhật ký log chứng minh Agent đã bóc đúng bản vẽ
57
+ ```
58
+
59
+ ---
60
+
61
+ ## 4. Đặc Tả Metadata & Eval Kép Cho Ngành (Domain Capability Manifest)
62
+
63
+ ### Mẫu `capability.yaml` Cho Kỹ Năng Bóc Khối Lượng IFC
64
+ ```yaml
65
+ schema_version: 1
66
+ id: ddc-qto-ifc-extractor
67
+ version: "1.0.0"
68
+ description: "Tự động trích xuất và tính toán khối lượng vật liệu từ mô hình IFC xuất ra Excel chốt."
69
+ dependencies:
70
+ - qk-validation-gate
71
+ tools:
72
+ - read_file
73
+ - run_command
74
+ knowledge:
75
+ - ddc-construction-ai-blueprint
76
+ eval:
77
+ scorecard: evals/scorecards/qto-scorecard.yaml
78
+ ```
79
+
80
+ ### Mẫu `scorecard.yaml` Cho Kỹ Sư Kinh Tế Xây Dựng (Inheriting Default)
81
+ Trong ngành xây dựng, một sai sót trong đơn giá hoặc bóc tách có thể dẫn đến thất Thoát hàng tỷ đồng. Do đó, bộ Scorecard chuyên biệt định nghĩa trọng số khắt khe:
82
+
83
+ ```yaml
84
+ schema_version: 1
85
+ extends: default
86
+ passing_threshold: 90 # Đuôi chu du ranh giới cao tuyệt đối
87
+
88
+ criteria:
89
+ pricing_and_qty_accuracy:
90
+ weight: 45
91
+ description: "Khối lượng bóc tách từ IFC phải khớp 100% với định danh công thức chuẩn CWRICR."
92
+ contractual_compliance:
93
+ weight: 30
94
+ description: "Các điều khoản và tham chiếu kỹ thuật phải trích dẫn chính xác từ hồ sơ FIDIC/raw."
95
+ audit_traceability:
96
+ weight: 25
97
+ description: "Log toàn bộ quy trình làm sạch từ data/raw sang data/processed mà không tự phán lụi."
98
+ ```
99
+
100
+ ---
101
+
102
+ ## 5. Kết Luận Kiến Trúc
103
+ Mô hình Xây dựng DDC chứng minh tính hiệu quả và mở rộng kiệt xuất của **EDAOS v8.2**: Khi con người tổ chức rõ ràng (Blueprints), máy móc nạp đúng Manifest tối giản (`capability.yaml`, `project.yaml`), và chất lượng được giám sát bằng Eval Pipeline (`scorecard.yaml`), bất kỳ doanh nghiệp truyền thống nào cũng có thể hiện thực hóa lộ trình chuyển đổi số thành công theo thời gian thực!