@@ -22,25 +22,35 @@ pnpm install @objectstack/spec
2222
2323## 📦 Architecture
2424
25- The specification is divided into three protocols :
25+ The specification is organized into five namespaces mapping to the three-layer architecture :
2626
27- ### 1. Data Protocol (` src/data ` )
28- * Core Business Logic & Data Modeling *
27+ ### 1. Data Protocol (` src/data ` ) - * ObjectQL *
28+ * Business Kernel & Data Logic *
2929* ` Object ` , ` Field ` , ` Validation `
30- * ` Query ` (AST), ` Mapping ` (ETL)
30+ * ` Query ` (AST), ` Driver ` (Interface), ` Datasource `
3131* ` Permission ` , ` Sharing ` , ` Flow `
3232
33- ### 2. UI Protocol (` src/ui ` )
33+ ### 2. AI Protocol (` src/ai ` ) - * ObjectQL*
34+ * Intelligence & Orchestration*
35+ * ` Agent ` (Orchestration), ` RAG ` (Retrieval)
36+ * ` Model ` (Registry), ` Prompt `
37+
38+ ### 3. UI Protocol (` src/ui ` ) - * ObjectUI*
3439* Presentation & Interaction*
3540* ` App ` , ` Page ` , ` View ` (Grid/Kanban)
3641* ` Dashboard ` (Widgets), ` Report `
3742* ` Action ` (Triggers)
3843
39- ### 3. System Protocol (` src/system ` )
40- * Runtime Configuration & Security*
41- * ` Manifest ` (Config), ` Datasource `
42- * ` Role ` (Hierarchy), ` Identity ` (Auth)
43- * ` Webhook ` (Integration), ` Policy ` (Compliance)
44+ ### 4. System Protocol (` src/system ` ) - * ObjectOS*
45+ * Runtime Infrastructure & Security*
46+ * ` Manifest ` (Config), ` Identity ` (Auth)
47+ * ` Role ` (RBAC), ` Tenant ` (Isolation)
48+ * ` Events ` (Bus), ` Plugin ` (Lifecycle)
49+
50+ ### 5. API Protocol (` src/api ` ) - * ObjectOS*
51+ * Connectivity & Contracts*
52+ * ` Contract ` (DTOs), ` Endpoint ` (Gateway)
53+ * ` Discovery ` (Metadata), ` Realtime ` (Socket)
4454
4555## 📚 Usage
4656
0 commit comments