Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions governance/GOVERNANCE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ domains:
intent: "双层控制:软引导(AGENTS.md/identity/skill 正文)+ 硬边界(工具面裁剪→权限引擎→凭据→平台防线);冲突时硬控制优先;拦截记录进事件流"
strength: enforced
- id: AR-6
intent: "团队必须声明 lifecycle;ephemeral 团队 archive_to+handoff 全部完成才允许销毁;persistent 团队(team:stewardship——ADR-0004 规划名 governance-core 的落地形态)对治理资产持续负责"
intent: "团队必须声明 lifecycle;ephemeral 团队 archive_to+team 侧 handoff 全部完成才允许销毁(stewardship 侧项由 curator 异步消费归档资产执行,不阻塞销毁——红队 #18 措辞对齐,ADR-0016);persistent 团队(team:stewardship——ADR-0004 规划名 governance-core 的落地形态)对治理资产持续负责"
strength: enforced
platform: {github: {mechanism: script, entry: agent-registry/scripts/validate.py, check: lifecycle}}
- id: AR-7
Expand Down Expand Up @@ -222,8 +222,8 @@ flows:
rules:
- {step: 1, action: "从 agent-registry 声明实例化 team(引用 id@version)", gate: AR-1}
- {step: 2, action: "运行期事件按 event.schema 追加到数据层;拦截记录 tool_called.denied_by", policies: [AR-5, AR-7]}
- {step: 3, action: "ephemeral 完成→执行 handoff:artifacts 走 PR、经验提炼 skill、关键决策升 ADR、轨迹归档", policy: AR-6}
- {step: 4, action: "persistent 团队(team:stewardship)审核归档资产入库;handoff_done 审计", policy: AR-6}
- {step: 3, action: "ephemeral 完成→执行 team 侧 handoff:artifacts 走 PR、retrospective、轨迹归档(销毁前置只含 team 侧项)", policy: AR-6}
- {step: 4, action: "persistent 团队(team:stewardship)消费归档资产异步执行 stewardship 侧 handoff(memory-distill/adr-write)并审核入库;完成态审计走事件流——run_finished.handoff_done 仅表达 team 侧销毁前置完成,stewardship 侧由 handoff_step(side=stewardship_side) 事件逐项留痕(评审项:单一布尔无法承载双侧完成态)", policy: AR-6}

portability:
neutral: [intent, strength, verify, risk_posture, flows] # 平台无关,直接搬运
Expand Down
2 changes: 1 addition & 1 deletion standards/agent/team.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ properties:
description: "ephemeral 必填:资产沉淀目标 persistent 团队(team:<id>)"
handoff:
type: array
description: "销毁前强制移交动作;全部完成才允许销毁(AR-6);每项执行者见 team-collaboration PART 2 对应原型 lifecycle.handoff"
description: "销毁前强制移交动作(AR-6)。销毁前置=team 侧项全部完成(after-handoff(team_side)——team-collaboration PART 2 对应原型 lifecycle.handoff);stewardship 侧项(memory-distill/adr-write 等)由 curator 消费归档资产异步执行,不阻塞销毁(destroy_scope:数据层制品/事件不随队销毁)。红队 #18:措辞对齐单一真源,消除 owner 依赖项卡死归档的假想死锁"
items: {enum: [artifacts-pr, memory-distill, skill-extract, adr-write, trace-archive, retrospective, incident_report, retro_24h, followup_backlog_merge, retro_debt_tracking]}
destroy_policy: {enum: [after-handoff, manual], description: "after-handoff=移交完成自动销毁;persistent 团队用 manual"}
destroy_condition:
Expand Down