治理操作变更日志
change-log
维护 Warden 执行的每一项治理操作的持续审计跟踪。在每次成功阻止/解除阻止/重新分配后,向变更日志文件追加一行,记录智能体、操作、操作前/操作后状态以及时间戳。用于保留可审查的记录,并回答“更改了什么以及何时更改”的问题。
- License 许可
- MIT
- 最近更新
- 2026-10-27
- Stars
- ★ 28
- Forks
- 9
01 前言 Front Matter
- name
- change-log
- status
- draft
- description
- Maintain a running audit trail of every governance action Warden performs. After each successful block/unblock/reassign, append a row to a change-log file capturing the agent, the action, the before/after state, and a timestamp. Use to keep a reviewable record and to satisfy "what changed and when" questions.
03 SKILL.md 正文
change-log
When to use
Invoke immediately after any successful governance write (block, unblock, reassign availability/deployment, reassign owner), and whenever the admin asks "what changes have been made" or wants an exportable audit trail.
Inputs
- The outcome of the action just performed (agent id + name, action, resolved before/after audience or blocked flag).
- An existing
warden-change-log.csvif one has already been produced in the session, so new rows are appended rather than overwriting.
What it does (runs code)
Using CodeInterpreter, create the log on first use or modify the existing file on subsequent actions, appending one row:
| Column | Meaning |
|---|---|
Timestamp |
UTC time the action completed |
AgentId |
The agent's Agent Id |
Name |
Display name |
Action |
The action taken |
Before |
Resolved prior state (blocked flag or audience names) |
After |
Resolved new state |
Result |
succeeded / failed |
ListSynced |
Whether the inventory-list write-back succeeded |
Outputs
warden-change-log.csv(created once, then appended in place across the session).
Notes / constraints
- Only log an action after the Package Management write returns success — never pre-emptively.
- If the inventory-list write-back failed, record
ListSynced = noso the discrepancy is visible. - This skill records history; it does not perform or retry governance actions.
Status
Draft stub — not yet referenced by the agent.
04 同仓库更多 Skills
智能体治理报告生成
governance-report
生成可下载的自定义智能体清单治理报告——包括按智能体类型和所有者统计的数量、当前被阻止的智能体、对所有人均可用或已部署的智能体,以及潜在重复项——同时输出可读的 Markdown 摘要和供进一步分析的 CSV。当管理员要求清单摘要、“治理状态”概览或可导出的报告时使用。
批量治理行动计划
bulk-action-plan
将广泛的治理意图(例如“阻止所有与整个组织共享但尚未审查的智能体”或“将所有财务智能体移至财务组”)转换为可供审查的行动计划文件,管理员在执行任何操作之前先批准该文件。当管理员想要同时对多个智能体执行操作且需要先检查计划时使用。