
qiaoqichaoandClaude Code
d18c147076
feat(v2): T05-c 运行补充说明只能形成草稿(AC-26)
运行时的"本次预审补充说明"只影响本次运行(run_instruction 落在运行对象上,
属 T07 的 ScreeningRun 字段)。要变成持久知识只有一条路:显式提议为草稿,
且走正常审核。本批实现卡片侧的那一半。
新增 knowledge_cards.draft_from_run_instruction(),三条约束:
1. 只产草稿——运行中说过的话绝不直接生效(有测试断言无已发布版本产生)
2. **不得携带工具/权限/引擎字段**:allowed_tools / tools / permissions / engine /
run_instruction 出现即拒,扩大工具授权必须走独立提议与审核
3. 记录 derived_from_run,便于回溯知识来自哪次运行
另:运行指令不能声明为 history_derived(历史提炼须提供来源事件或证据),
hard 门禁对运行衍生的卡片同样生效。
未完成:运行对象上的 run_instruction 字段与"只影响本次运行"的服务端实现属 T07,
本批只交付卡片侧,不宣称 AC-26 已整体闭环。
测试:test_knowledge_cards.py 增至 25 项(新增 5 项)。
全量 315 项 OK(310 → 315);verify.py 10/10 PASS。
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-29 18:51:12 +08:00
..
2026-09-29 17:43:57 +08:00
2026-09-29 18:47:59 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 18:51:12 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 16:45:07 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 18:41:50 +08:00
2026-09-29 18:51:12 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 17:43:57 +08:00
2026-09-29 14:49:03 +08:00
2026-09-29 16:45:07 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 12:58:26 +08:00
2026-09-29 18:30:34 +08:00
2026-09-29 18:21:51 +08:00
2026-09-29 12:58:26 +08:00