guanghulab/bridge/chat-to-agent/completed/CAB-20260415-001.json
铸渊 ICE-GL-ZY001 f418aec5d8
Some checks failed
自动更新代码和重启 / update-and-restart (push) Has been cancelled
CI检查 + 自动部署 / check (push) Has been cancelled
CI检查 + 自动部署 / deploy (push) Has been cancelled
cz: D119 temporal-brain同步 · 衔光频道首次推送 · glada日志归档
2026-06-03 11:45:50 +08:00

132 lines
5.0 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.

{
"cab_version": "1.0",
"task_id": "CAB-20260415-001",
"created_at": "2026-04-15T03:03:00Z",
"authorization": {
"sovereign": "冰朔 · TCS-0002∞",
"authorized_agent": "copilot-agent",
"scope": "full-auto-development"
},
"architecture": {
"summary": "零点原核频道·三节点主权Agent联邦·阶段1-QQ邮箱验证码登录已完成",
"decisions": [
"使用QQ邮箱SMTPsmtp.qq.com:465发送6位数字验证码",
"验证码5分钟过期60秒冷却最多3次尝试",
"Session Token使用crypto.randomBytes(32)生成7天过期",
"前端使用localStorage存储token所有API请求携带Bearer token",
"登录成功后锁定用户通道,解决请求乱跳广州中继的问题"
],
"target_files": [
"server/app/modules/email-auth.js",
"server/app/server.js",
"server/sites/yaoming/index.html",
"server/app/package.json"
],
"target_modules": ["email-auth", "server"]
},
"development_plan": {
"title": "零点原核频道·三节点Agent联邦架构·4阶段落地",
"priority": "critical",
"steps": [
"✅ 阶段1: QQ邮箱验证码登录已完成",
"⏳ 阶段2: GitHub OAuth + Notion OAuth 授权入口",
"⏳ 阶段3: Agent握手协议网站Agent ↔ GitHub/Notion Agent",
"⏳ 阶段4: 双侧Agent训练 + COS存储 + 定时自动连接"
]
},
"notion_sync": {
"title": "Notion侧协作同步指令",
"from": "铸渊 · GitHub执行层",
"to": "霜砚/曜冥 · Notion认知层",
"message": "零点原核频道已完成阶段1邮箱验证码登录。以下是Notion侧需要配合的事项。",
"notion_action_items": [
{
"id": "NOTION-ACTION-001",
"title": "创建 Notion Public IntegrationOAuth App",
"owner": "冰朔(手动)",
"priority": "high",
"details": "在 developers.notion.com 创建 Public Integration配置 redirect URI 为 https://guanghuyaoming.com/api/auth/notion/callback获取 OAuth Client ID 和 Secret"
},
{
"id": "NOTION-ACTION-002",
"title": "配置Agent初始上下文",
"owner": "霜砚/曜冥(语言人格体)",
"priority": "medium",
"details": "为Notion侧Agent配置1) 守护规则什么时候注入上下文2) 对话框维护策略3) 工具调用权限清单4) 训练数据库结构设计"
},
{
"id": "NOTION-ACTION-003",
"title": "设计人格体训练数据库",
"owner": "霜砚(认知层)",
"priority": "medium",
"details": "在Notion中创建用于Agent训练的数据库结构1) 语料分类表2) 人格模块回应模板3) 训练日志4) 冰朔人格模块定义"
},
{
"id": "NOTION-ACTION-004",
"title": "整理GPT聊天语料",
"owner": "冰朔(手动)+ 霜砚(协助)",
"priority": "low",
"details": "将GPT聊天语料导出并上传到COS桶由霜砚负责分类、重构、用母语重写"
}
],
"architecture_diagram": {
"overview": "三节点主权Agent联邦",
"nodes": {
"notion": {
"role": "语言人格层·认知源",
"agent": "霜砚/曜冥 驱动",
"responsibilities": [
"配置Agent上下文和守护规则",
"授权工具调用权限",
"训练语言人格回应模块",
"整理重构语料数据库"
]
},
"website": {
"role": "Agent中继层·执行入口",
"domain": "guanghuyaoming.com",
"agent": "无自主权限·必须通过握手获取",
"responsibilities": [
"用户登录认证",
"转发工具调用请求",
"显示Agent交互界面"
]
},
"github": {
"role": "代码执行层·铸渊实体",
"agent": "铸渊 驱动",
"responsibilities": [
"代码开发和部署",
"MCP工具提供",
"执行层数据库维护",
"训练现实执行层Agent"
]
}
},
"handshake_protocol": {
"website_to_github": "OAuth Token校验 → 工具清单下发 → 写入auth-registry",
"website_to_notion": "OAuth Token校验 → 数据库访问权下发 → 写入auth-registry",
"daily_auto_connect": "node-cron定时触发 → 双向握手 → 唤醒Agent → 获取训练指令"
}
},
"key_principle": "网站Agent本身没有自主工具调用权限。它必须通过与GitHub侧铸渊Agent和Notion侧霜砚Agent的握手由两侧主控授权后才能调用对应工具。这确保了主权安全性——只有语言人格体才能配置有经验的Agent操作。"
},
"constraints": {
"no_touch_files": [
".github/brain/memory.json",
".github/persona-brain/",
"hldp/"
],
"required_tests": false,
"deploy_after": true,
"max_files_changed": 10
}
}