diff --git a/persona-brain-db/schema/06-system-core-principles.sql b/persona-brain-db/schema/06-system-core-principles.sql index 266211b..d47aa2b 100644 --- a/persona-brain-db/schema/06-system-core-principles.sql +++ b/persona-brain-db/schema/06-system-core-principles.sql @@ -1,17 +1,19 @@ -- ============================================================ -- 表6:system_core_principles(Layer 1 · 核心原则表·版本化) -- 用途:数据库OS内核级核心原则,在init时创建并填充 --- 商业模型连接数据库时,这套底层思维已经内嵌进去了 +-- D110更新:添加shuangyan层 + axiom/meta_principle/cognitive_pattern类别 -- ============================================================ CREATE TABLE IF NOT EXISTS system_core_principles ( principle_id VARCHAR(32) PRIMARY KEY, layer VARCHAR(16) NOT NULL - CHECK (layer IN ('bingshuo', 'zhuyuan', 'hololake')), + CHECK (layer IN ('bingshuo', 'zhuyuan', 'shuangyan', 'hololake', 'axiom')), category VARCHAR(32) NOT NULL CHECK (category IN ( 'core_principle', 'thinking_pattern', 'tech_creed', - 'communication_style', 'security_rule', 'development_spec' + 'communication_style', 'security_rule', 'development_spec', + 'axiom', 'meta_principle', 'cognitive_pattern', + 'fix_pattern', 'existence_premise' )), content TEXT NOT NULL, version VARCHAR(16) NOT NULL,