# Agent Change Record: Audit Trail & Rollback for Agents

> Makes an agent's fix or optimize session leave an auditable change record: baseline tag, agreed scope, every attempt kept or reverted with evidence, who approved what, and a rollback point. Bash + git only. It does not make the agent more careful; it makes the work provable and reversible.

Agent Change Record: Audit Trail & Rollback for Agents is a paid AI agent skill on Agensi by Louis Philip, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Louis Philip](https://www.agensi.io/creators/louis-philip)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-change-record-audit-trail-rollback-for-agents
- Tags: code-review, git, audit-log, itil, compliance

## About this skill

### The problem

After an agent fixes or optimizes your code, what usually remains is one diff. Nobody can tell what state the work started from, what was tried and dropped, what was measured, who agreed to the parts that went beyond the original ask, or how to get back to the version that worked.

### What this skill does

It makes the session leave a change record you can attach to a pull request or ticket, plus a baseline tag to roll back to.

The record contains:

- Goal, operator, baseline tag and commit
- Initial scope and final scope
- Starting result of the agreed check
- One row per attempt: the one change, kept or reverted, evidence, files, commit or stash reference
- Approvals: who, what in their words, when
- Net diff since baseline

### How it works

A small helper script (bash + git, nothing else) gives the agent seven commands: `start`, `measured`, `approve`, `check`, `keep`, `revert`, `finish`. Kept attempts become commits. Reverted attempts go to git stash, so nothing is ever deleted. Changes are classed as standard, normal or emergency, following ITIL change enablement, so it is clear which ones needed your explicit yes.

A reference file maps each part of the record to the question a reviewer or auditor asks, and to ITIL terms.

### What it does not do

It does not make an agent more careful or more correct. It makes what happened provable, reviewable and reversible.

The record is a plain file written on your machine. It is not tamper-proof, and the approver's name is as typed, not authenticated. The commits and the baseline tag are the strongest evidence.

### Who it is for

- Teams that review or audit agent-made changes
- Anyone handing agent work over to someone else
- Developers who want a safe way back to the last good version

### When not to use it

Throwaway spikes, one-line fixes you are watching, repos without git, or when you do not want extra commits and a tag.

## Requires

- Git

## Known limitations

Requires bash and git, a repo with at least one commit, and a clean working tree to start. Creates commits, a baseline tag and stash entries. The record is a plain file: not tamper-proof, and approver names are as typed, not authenticated. It does not make an agent more careful; an agent can skip the script. Tested with Claude on small repos only.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Agent Change Record: Audit Trail & Rollback for Agents skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does the Agent Change Record differ from a standard Git commit history?

Git history shows only what was committed. The change record adds what git does not hold: the agreed scope, the starting result of the check, the evidence for each kept attempt, the attempts that were reverted and why, and who approved anything beyond the original ask.

### Which AI agents or frameworks are supported by this skill?

It follows the open SKILL.md standard and needs only a shell and git, so any agent that loads SKILL.md skills and can run shell commands should work. It has been tested with Claude; it has not yet been tested on other agents.

### What exactly is included in the purchase of this skill?

Three files: SKILL.md (the workflow and approval rules), scripts/record.sh (the helper that tags the baseline, checks scope, commits or stashes each attempt and writes the record), and references/audit-and-itil.md (what a reviewer can verify from the record, the ITIL term mapping, and the record's limits).

### Does this skill stop an agent from making unauthorized changes?

No, and it does not claim to. The script flags changed files outside the agreed scope and refuses to record them as kept, but nothing forces an agent to run the script. The skill's job is to make what happened visible and reversible: a baseline tag, a row per attempt, and a log of approvals.

### Are there any specific environment requirements to use this skill?

Bash and git, in a repository with at least one commit and a clean working tree when the session starts. The script creates commits, one tag and git stash entries, so use it only where that is acceptable.

### Can the audit trail be exported for use in external project management tools?

The record is a plain Markdown file at .change-record/change-record.md. Paste or attach it to a pull request, ticket or wiki page. There is no direct integration with project management tools.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
