The situation

Your SOC 2 or ISO 27001 auditor asks a new question this year: "Show me how AI-generated code is controlled." Your engineers point at the pull requests. The auditor asks who approved the agent's change, what the agent was told, and whether anyone could have changed the record afterwards. The room goes quiet.

What the auditor will ask, and what answers it

The auditor asksWhat answers it
Who asked for this change?The work item it came from, and the roadmap item above that
What was the agent told?The exact instructions, context and rules it was given
Which agent, which version?The agent and version that ran, and the tests it passed before release
Who approved it?A named person's acceptance, with the time
Why this way?The decisions and answers the work relied on
Could anyone change this record?Entries that can't be edited; a correction is a new entry
Can I have a copy?An export the auditor can open, such as CSV

Four rules for a trail that holds up

  1. Write it as the work happens. A trail reconstructed later from memory, chat and git history won't survive a sampling test.
  2. Never edit an entry. Corrections are new entries that point at the old one.
  3. Record people and agents the same way. An agent's action is an action, with an actor, a time and a reason, just like a person's.
  4. Keep decisions with their reasons. "We chose one-hour reset links because a stolen email becomes useless sooner" is evidence. "Changed config" is not.

Before your next audit

  • Pick one change an agent made last month. Can you show who asked, what the agent was told, and who approved it, in under ten minutes?
  • Is there any record of AI-assisted work that someone could edit today?
  • Can you export last quarter's access changes for the board pack?

With Wakalix

Every action by a person or an agent is recorded with who, what changed and why, and entries can't be edited. Questions an agent asked, who answered and who an answer was passed to are kept, and decisions become rules with their reasons. The access review exports for auditors. See Audit and the walkthrough The record.