zhizhi/backend/api-server/config/autonomy-rules.json

91 lines
3.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"version": "1.0.0",
"description": "系统自治运行规则 · Phase 9",
"dualLineArchitecture": {
"lineA": {
"name": "操作系统底座线",
"owner": "TCS-0002",
"scope": ["权限系统", "部署流水线", "神经网络升级", "执行保护层", "架构变更"],
"interactionModes": {
"instructionMode": {
"description": "冰朔说方向 → 霜砚拆指令 → 铸渊执行",
"trigger": ["签发指令", "写个指令", "下发指令"],
"suitableFor": "架构级、系统级变更"
},
"naturalLanguageMode": {
"description": "冰朔直接和系统说话,系统即时响应",
"trigger": "默认模式(直接说需求/问问题)",
"suitableFor": "日常操作、快速调整"
}
},
"priority": "最高 · 冰朔说话 = 最高优先级,无论哪种模式"
},
"lineB": {
"name": "具体功能线",
"owners": "开发者团队",
"scope": ["Persona Studio", "工单系统", "数据看板", "动态漫画", "各模块功能"],
"interactionMode": "日常交互(和铸渊说话 → 系统执行)"
}
},
"autonomyRules": {
"systemCanDo": [
"自主调整内部运行逻辑(不违反铁律)",
"自主升级能力模块(记录到审计日志)",
"自主优化瓶颈路径",
"定期生成系统健康报告",
"异常时主动向霜砚报告"
],
"systemMustNot": [
"违反语言系统两条铁律",
"绕过天眼审核",
"绕过人类授权步骤",
"修改权限分层(权限变更只有冰朔能触发)"
]
},
"deploymentFlow": {
"directDeployRule": {
"id": "S5",
"description": "冰朔直通部署规则:冰朔签发或口头下达的所有指令,执行完毕后直接部署到正式站",
"conditions": [
"TCS-0002 发起的请求",
"ZY- 开头的指令编号,且签发者为霜砚(AG-SY-01)或冰朔(TCS-0002)"
],
"bypass": ["预览站", "天眼审核", "肥猫/桔子授权"],
"auditRequired": true,
"reason": "冰朔本人就是系统最高权限Level 3冰朔说话 = 最终授权"
},
"developerFlow": {
"description": "开发者(Level 1-2)提交的变更走完整S2审批流程",
"stages": ["预览站部署", "天眼审核", "授权人审批", "自动发布"]
},
"stages": [
{
"stage": 1,
"name": "部署到预览站",
"target": "GitHub Pages (qinfendebingshuo.github.io/guanghulab/docs/)",
"description": "真实可访问的预览环境,让人类确认执行结果"
},
{
"stage": 2,
"name": "天眼审核",
"checks": ["代码安全", "结构完整性", "功能回归"],
"passAction": "进入 Stage 3",
"failAction": "标记问题,开发者修复后重新提交"
},
{
"stage": 3,
"name": "人类终审授权",
"description": "授权人必须手动点击确认,不回应视为不通过",
"configFile": "approvers.json"
},
{
"stage": 4,
"name": "自动发布到正式站",
"target": "guanghulab.com",
"trigger": "deploy-to-server.yml",
"description": "授权即发布,无需人类再次操作"
}
]
}
}