PromotionDecision
sealed interface PromotionDecision permits PromotionDecision.Approve, PromotionDecision.Reject, PromotionDecision.Defer
io/agentscope/harness/agent/skill/curator/SkillPromotionGate.java:49–58定义 Promotion 决策契约的接口。位于 io.agentscope.harness.agent.skill.curator 包。
Final outcome of a gate review.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Approve | 记录record | 承载 Approve数据的记录类型。 A record in io.agentscope.harness.agent.skill.curator that carries data used when components lets agents invoke external capabilities under control. |
Reject | 记录record | 承载拒绝数据的记录类型。 A record in io.agentscope.harness.agent.skill.curator that carries data used when components lets agents invoke external capabilities under control. |
Defer | 记录record | 承载 Defer数据的记录类型。 A record in io.agentscope.harness.agent.skill.curator that carries data used when components lets agents invoke external capabilities under control. |
嵌套类详情Nested Class Detail
Approve
record Approve(String reviewerId, List<String> targetEnvironments, Instant decidedAt) implements PromotionDecision承载 Approve数据的记录类型。位于 io.agentscope.harness.agent.skill.curator 包,实现 PromotionDecision。核心成员包括 reviewerId、targetEnvironments、decidedAt。
A record in io.agentscope.harness.agent.skill.curator that carries data used when components lets agents invoke external capabilities under control. Declared in io.agentscope.harness.agent.skill.curator. Implements PromotionDecision.
Reject
record Reject(String reason, String reviewerId) implements PromotionDecision承载拒绝数据的记录类型。位于 io.agentscope.harness.agent.skill.curator 包,实现 PromotionDecision。核心成员包括 reason、reviewerId。
A record in io.agentscope.harness.agent.skill.curator that carries data used when components lets agents invoke external capabilities under control. Declared in io.agentscope.harness.agent.skill.curator. Implements PromotionDecision.
Defer
record Defer(Duration retryAfter, String reason) implements PromotionDecision承载 Defer数据的记录类型。位于 io.agentscope.harness.agent.skill.curator 包,实现 PromotionDecision。核心成员包括 retryAfter、reason。
A record in io.agentscope.harness.agent.skill.curator that carries data used when components lets agents invoke external capabilities under control. Declared in io.agentscope.harness.agent.skill.curator. Implements PromotionDecision.