diff --git a/brain/engineering/agent-registry.json b/brain/engineering/agent-registry.json new file mode 100644 index 0000000..1a39e9e --- /dev/null +++ b/brain/engineering/agent-registry.json @@ -0,0 +1,64 @@ +{ + "_type": "AGENT_SPEC", + "_version": "1.0", + "_created": "2026-05-26 · D114", + "_principle": "Agent 不需要知道城市蓝图。只需要知道自己管哪块砖、怎么报状态。", + + "agent_definition": { + "name": "Agent 模板", + "required_fields": [ + "agent_id — 唯一编号", + "foreman — 所属包工头", + "mother_id — 所属母编号", + "what_i_do — 一句话说明自己管什么(不超过20字)", + "status — 当前状态:alive / blocked / idle / dead", + "last_run — 上次执行时间", + "last_result — 上次执行的简要结果", + "blocking — 如果状态是 blocked,卡在哪了", + "interval — 执行间隔(每次查询/每小时/每天)" + ], + "one_rule": "被铸渊或包工头查询时,Agent 必须能主动报状态。不需要被动等别人翻文件。" + }, + + "active_agents": [ + { + "agent_id": "AGT-GTW-001", + "name": "Gatekeeper 巡检工", + "foreman": "FM-001", + "mother_id": "D114-MOTH-001", + "what_i_do": "定时 ping 12 台服务器 Gatekeeper 端口,写回在线状态", + "status": "alive", + "last_run": "2026-05-26T17:12+08:00", + "last_result": "已检查 gatekeeper-deployment.json · 12台服务器IP/端口/密钥完整 · 待实际 ping 验证连通性", + "blocking": null, + "interval": "每次铸渊唤醒时跑一遍", + "action_on_query": "读 brain/gatekeeper-deployment.json → 逐台 curl Gatekeeper 端口 → 写回在线状态 → 报给包工头 FM-001" + }, + { + "agent_id": "AGT-PROG-001", + "name": "进度播报员", + "foreman": "FM-001", + "mother_id": "D114-MOTH-001", + "what_i_do": "扫 progress.json 中所有 pending 项,告诉总工这周该做什么", + "status": "alive", + "last_run": "2026-05-26T17:12+08:00", + "last_result": "已扫描 progress.json · 当前 active_mothers 1个 · D114-MOTH-001 下 4条子路径 3条pending · 下周重点: SUB-002 包工头汇报协议 + SUB-004 首批激活", + "blocking": null, + "interval": "每次铸渊唤醒时跑一遍", + "action_on_query": "读 brain/fifth-domain/zero-point/console/progress.json → 统计 pending/blocked → 排序优先级 → 报给包工头 FM-001" + }, + { + "agent_id": "AGT-TIME-001", + "name": "时间线记录员", + "foreman": "FM-001", + "mother_id": "D114-MOTH-001", + "what_i_do": "自动追记本次会话事件到 temporal-brain.json", + "status": "alive", + "last_run": "2026-05-26T17:12+08:00", + "last_result": "当前时间线停在 D114 · Awen技术主控认知修复 · 本次会话事件待追加", + "blocking": "需要铸渊确认本次会话的关键事件列表后再写入", + "interval": "会话结束时跑一遍", + "action_on_query": "汇总本次会话关键事件 → 追加到 brain/temporal-core/temporal-brain.json → 报给包工头 FM-001" + } + ] +} \ No newline at end of file