aps-agent/docs/round-73-automation-g4-payl...

29 lines
1.8 KiB
Markdown
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.

# Round 73 Automation G4 授权载荷绑定记录
> 日期:2026-08-17;状态:本地实现与独立复审完成;未经授权未提交、推送、合并或发布。
## 安全合同
- `automation-authorization.v1` 顶层必须精确包含 schemaVersion/rule/harnessAction/power/binding。
- Rule 快照必须包含 ruleId/roomId/trigger/gear/action/guardrails/enabled/description/params 并通过现有 Rule.validate。
- G4 P2/P3 必须绑定与 rule action、Harness action 和 power 一致的完整 BusinessActionBinding。
- EscalationGrant 保存批准的 authorization/digest;执行前按当前 Rule + Binding 重算,不一致立即撤销。
- G4 写动作仅允许 Binding + business_bridge;无桥或未登记动作按 P3 DENIED。
- `/api/actions/confirm` 与 batch 真实处理升权 P3 双人审批,最终消费一次性 executionGrant 铸造 grant。
## 验证
- Automation focused:24 passed / 1 warning。
- 审批/治理相邻回归:92 passed / 1 warning。
- 全量黄金:1300 passed / 2 warnings(398.13 秒)。
- 残缺授权、7 类 Rule/Binding 漂移、ruleId 替换、grant 重放、无业务桥均失败关闭。
- TestClient 两个身份完成 P3 审批后,真实业务桥发布 PUBLISHED。
- 4 个受保护业务文件 SHA-256 前后不变;8003/5173 与浏览器通过。
- 最终独立复审:`AUDIT PASS`,无剩余 P0/P1。
- GitNexus:13,217 nodes / 59,833 edges / 580 clusters / 300 flows;`detect_changes(compare main)` 为累计 CRITICAL(49 files / 349 symbols / 62 flows)。
## 下一步
- P0 本地清单闭合;下一本地优先级转为 R71.5 算法与约束深化,先接归因 API/UI。
- 真实 MySQL 多节点、MES/WMS/SAP、模型服务、冻结 Sidecar、签名/信创/CI 与 WORM/HSM-KMS 仍需外部环境。