governancedefine-roc
Defines a Rule of Constraints policy bundle for agent autonomy.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Governance: Define Rule of Constraints
1. Context
This skill creates a Rule of Constraints (RoC) policy bundle that defines guard rails, approvals, and escalation triggers for a bounded context.
2. Inputs
- context (required): Bounded context name (safe path segment).
- roc_id (required): RoC identifier (safe path segment).
- constraints (optional): Semicolon-delimited constraint statements.
- allowed_tools (optional): Semicolon-delimited allowed tool list.
- forbidden_tools (optional): Semicolon-delimited forbidden tool list.
- approvals_required_for (optional): Semicolon-delimited approval requirement keys.
- approver_role (optional): Approver role label.
- escalations_trigger_on (optional): Semicolon-delimited escalation triggers.
- escalation_target (optional): Escalation target (default: human).
-
violation_outcome (optional): Outcome when violations occur (
blockedorneeds-review). - evolution_notes (optional): Reserved evolution policy notes (not enforced).
- agent_type (optional): Agent type defining the RoC.
- agent_model (optional): Agent model identifier.
- role_assignment (optional): RoleAssignment for U.Work logging (default: Strategist).
- decisions (optional): Semicolon-delimited DRR ids/paths.
- timestamp_start (optional): ISO-8601 timestamp for deterministic output.
3. Outputs
-
runtime/contexts/<context>/roc/<roc_id>.roc.yaml
4. Procedure
- Validate inputs and ensure the RoC contains at least one policy section.
- Write the RoC YAML file.
- Emit U.Work via
telemetry/log-workwhen available.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!