@@ -25,15 +25,14 @@ Mission: Build the "Post-SaaS Operating System" — an open-core, local-first ec
2525## 📘 1. The Metamodel Standards (Knowledge Base)
2626
2727### ** A. DATA PROTOCOL (` src/data/*.zod.ts ` )**
28- * Core Business Logic & Data Model*
28+ * Core Data Model*
2929
3030* ** Field (` src/data/field.zod.ts ` )** :
3131 * ** Type Enum** : ` text ` , ` textarea ` , ` number ` , ` boolean ` , ` select ` , ` lookup ` , ` formula ` , ...
3232 * ** Props** : ` name ` (snake_case), ` label ` , ` type ` , ` multiple ` (Array support), ` reference ` (Target Object).
3333* ** Object (` src/data/object.zod.ts ` )** :
3434 * ** Props** : ` name ` (snake_case), ` label ` , ` fields ` (Map), ` enable ` (Capabilities: ` trackHistory ` , ` apiEnabled ` ).
35- * ** Flow (` src/data/flow.zod.ts ` )** : Visual Logic Orchestration (` autolaunched ` , ` screen ` , ` schedule ` ).
36- * ** Logic** : ` validation.zod.ts ` (Rules), ` permission.zod.ts ` (ACL), ` workflow.zod.ts ` (State Machine).
35+ * ** Validation** : ` validation.zod.ts ` (Rules).
3736
3837### ** B. UI PROTOCOL (` src/ui/*.zod.ts ` )**
3938* Presentation & Interaction*
@@ -56,6 +55,20 @@ Mission: Build the "Post-SaaS Operating System" — an open-core, local-first ec
5655* ** API (` src/system/api.zod.ts ` )** : REST/GraphQL Endpoint Definitions.
5756* ** Translation (` src/system/translation.zod.ts ` )** : Internationalization (i18n).
5857
58+ ### ** D. AUTOMATION PROTOCOL (` src/automation/*.zod.ts ` )**
59+ * Business Logic & Orchestration*
60+
61+ * ** Flow (` src/automation/flow.zod.ts ` )** : Visual Logic Orchestration (` autolaunched ` , ` screen ` , ` schedule ` ).
62+ * ** Workflow (` src/automation/workflow.zod.ts ` )** : State Machine & Approval Processes.
63+ * ** Trigger (` src/automation/trigger-registry.zod.ts ` )** : Event-driven Automation.
64+
65+ ### ** E. AI PROTOCOL (` src/ai/*.zod.ts ` )**
66+ * Artificial Intelligence & Agents*
67+
68+ * ** Agent (` src/ai/agent.zod.ts ` )** : Autonomous Actors (` role ` , ` instructions ` , ` tools ` ).
69+ * ** RAG (` src/ai/rag-pipeline.zod.ts ` )** : Retrieval Augmented Generation (` indexes ` , ` sources ` ).
70+ * ** Model (` src/ai/model-registry.zod.ts ` )** : LLM Configuration & Routing.
71+
5972---
6073
6174## 🛠️ 2. Coding Patterns
0 commit comments