AGENT SKILL

治理操作变更日志

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.csv if 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 = no so 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