Files
maestro/design/maestro-ds/components/surfaces/GateCard.prompt.md
T
wangjia 73f80d27c9 feat(agent): 接通 plan 自动放行(autoApprovePlan)+ 项目配置可写
之前 auto_approve_plan/auto_approve_exec/checks 列与 Project 类型已存在,但
PatchProjectInput 不含它们 → 无法启用(dead config)。本次接通:
- PatchProjectInput + patchProject 支持 autoApprovePlan/autoApproveExec/checks
- API PATCH /projects 透传三字段
- ingest decompose-result:auto-approved + autoApprovePlan + 全 easy + 子任务≤5
  → store.decide(accept) 跳过 plan_review 直达 decomposed(默认关)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 22:13:18 +08:00

11 lines
524 B
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.
审批闸卡片——Maestro 的核心交互单元。琥珀边框 + 实心琥珀闸标签,体内放 agent 产出文档,脚部放 accept/reject 按钮对(reject 必填理由)。
```jsx
<GateStripe />
<GateCard gate="spec" title="重构 sync 模块" meta="maestro · MED"
docLabel="改动方案(SPEC" doc={specText}
actions={<><Button variant="accept"> 通过</Button><Button variant="reject"> 驳回</Button></>} />
```
`GateStripe` 是审批区顶部的琥珀斜纹警示条,整区一条即可。