From 8c7c2771679dbad27627071f137d66c46b8abf4a Mon Sep 17 00:00:00 2001 From: cfdaily Date: Fri, 19 Jun 2026 07:53:53 +0800 Subject: [PATCH 1/3] =?UTF-8?q?[moz]=20docs(=C2=A719):=20cron=20delivery?= =?UTF-8?q?=20mode=20=E4=BF=AE=E6=AD=A3=20none=E2=86=92announce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因:isolated session + delivery:none 导致 cron 执行后零可见性 修复:L1/L2/IMPROVE cron delivery 统一改为 announce --- docs/design/19-skill-lifecycle-and-experience-loop.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/design/19-skill-lifecycle-and-experience-loop.md b/docs/design/19-skill-lifecycle-and-experience-loop.md index 7dcae21..2c60b86 100644 --- a/docs/design/19-skill-lifecycle-and-experience-loop.md +++ b/docs/design/19-skill-lifecycle-and-experience-loop.md @@ -509,7 +509,7 @@ S1 和 S2 已完成(PR #85)。S3-S5 设计见下方 §11A。 **设计要点**: - `sessionTarget: "isolated"`:每次创建临时 session,不污染 main session context -- `delivery.mode: "none"`:L1 不需要通知任何人,proposal 存在 skill_workshop 中即可 +- `delivery.mode: "announce"`:执行结果投递到 Control UI,保持可见性(早期使用 `none` 导致 cron 执行后零可见性,已修正) - `timeoutSeconds: 600`:10 分钟足够(扫描 JSONL + 蒸馏 + 提交 proposal) - message 指引 read SKILL.md + discover-l1.md:agent 按 references 指南执行,不依赖 memory @@ -538,6 +538,7 @@ S1 和 S2 已完成(PR #85)。S3-S5 设计见下方 §11A。 ``` **设计要点**: +- `delivery.mode: "announce"`:审查决策结果投递到 Control UI,主公可见 - `timeoutSeconds: 1200`(20 分钟):L2 需要扫描全量数据源 + 审查多个 proposal,时间更长 - 庞统可以访问所有 agent 的 JSONL 和 skill_workshop proposals @@ -566,6 +567,7 @@ S1 和 S2 已完成(PR #85)。S3-S5 设计见下方 §11A。 ``` **设计要点**: +- `delivery.mode: "announce"`:淘汰/提升报告投递到 Control UI - `timeoutSeconds: 1800`(30 分钟):全量 JSONL 扫描是最重的操作 - 每周一次频率足够——Skill 引用变化不会很快 - 淘汰决策通过 skill_workshop quarantine 执行,提升决策通过手动编辑 AGENTS.md From 5b73319aaf001166d2acec5dd2943e6b4b6404d0 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Fri, 19 Jun 2026 07:55:51 +0800 Subject: [PATCH 2/3] =?UTF-8?q?[moz]=20docs(=C2=A719):=20fix=20M1=20JSON?= =?UTF-8?q?=20=E9=85=8D=E7=BD=AE=E5=9D=97=20delivery.mode=20=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E6=94=B9=E4=B8=BA=20announce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 司马懿 M1:3 处 JSON 配置块 delivery.mode 仍为 none,与设计要点文字不一致。 同步修正为 announce。 --- docs/design/19-skill-lifecycle-and-experience-loop.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/design/19-skill-lifecycle-and-experience-loop.md b/docs/design/19-skill-lifecycle-and-experience-loop.md index 2c60b86..7466829 100644 --- a/docs/design/19-skill-lifecycle-and-experience-loop.md +++ b/docs/design/19-skill-lifecycle-and-experience-loop.md @@ -503,7 +503,7 @@ S1 和 S2 已完成(PR #85)。S3-S5 设计见下方 §11A。 "message": "L1 自蒸馏 cron。请执行:\n1. read ~/.sanguo_projects/sanguo_mozi/skills/skill-management/SKILL.md\n2. read ~/.sanguo_projects/sanguo_mozi/skills/skill-management/references/discover-l1.md\n3. 按 discover-l1.md 步骤执行自蒸馏\n4. 如有信号:蒸馏为 HOW 格式,使用 skill_workshop(action=create) 提交 draft proposal\n5. 如无有价值信号:不产出,这是正常的", "timeoutSeconds": 600 }, - "delivery": { "mode": "none" } + "delivery": { "mode": "announce" } } ``` @@ -533,7 +533,7 @@ S1 和 S2 已完成(PR #85)。S3-S5 设计见下方 §11A。 "message": "L2 整合审查 cron。请执行:\n1. read ~/.sanguo_projects/sanguo_mozi/skills/skill-management/references/discover-l2.md\n2. 按 discover-l2.md 步骤执行:\n a. skill_workshop(action=list, status=pending) 获取所有 L1 draft proposals\n b. 全量数据源扫描,识别跨 agent 共性模式\n c. 逐个审查 proposal:approve / merge / reject\n d. 全局提升检查(Recurrence-Count >= 3 的经验提升为规则)\n e. 知识缺口反馈到 knowledge-gaps.md", "timeoutSeconds": 1200 }, - "delivery": { "mode": "none" } + "delivery": { "mode": "announce" } } ``` @@ -562,7 +562,7 @@ S1 和 S2 已完成(PR #85)。S3-S5 设计见下方 §11A。 "message": "IMPROVE 每周引用追踪 cron。请执行:\n1. read ~/.sanguo_projects/sanguo_mozi/skills/skill-management/references/improve.md\n2. 按 improve.md 步骤执行:\n a. 扫描过去 7 天所有 agent 的 session JSONL,采集 Skill 引用信号\n b. 生成淘汰候选报告(30 天无引用的 Skill)\n c. 庞统审阅决策:quarantine / 保留观察 / 更新后保留\n d. 经验提升检查(被频繁引用 >= 5 次的 Skill)\n e. 反馈知识缺口到 knowledge-gaps.md", "timeoutSeconds": 1800 }, - "delivery": { "mode": "none" } + "delivery": { "mode": "announce" } } ``` From 230b8c9cd9ebee6722152a53d311309223a89b5c Mon Sep 17 00:00:00 2001 From: cfdaily Date: Fri, 19 Jun 2026 09:37:33 +0800 Subject: [PATCH 3/3] chore: retrigger CI after ensurepip fix