---
title: "Discussion on \"What an audit log for AI coding agents should record\" | Hashnode"
description: "Discussion on \"What an audit log for AI coding agents should record\". Originally published on sandscale.dev.\nMost teams think about an agent audit log the first time someone asks \"what did the agent actually do?\" and nobody can answer. By then the sandbox is gone and th"
url: "https://hashnode.com/posts/what-an-audit-log-for-ai-coding-agents-should-record/6b008f572595ba1d38fee5be"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What an audit log for AI coding agents should record](https://sandscale.hashnode.dev/what-an-audit-log-for-ai-coding-agents-should-record?utm_source=hashnode&utm_medium=feed)

Originally published on sandscale.dev. Most teams think about an agent audit log the first time someone asks "what did the agent actually do?" and nobody can answer. By then the sandbox is gone and th

4d ago · 7 min read · sandscale.hashnode.dev  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#ai](https://hashnode.com/tag/ai)
-   [#devops](https://hashnode.com/tag/devops)
-   [#logging](https://hashnode.com/tag/logging)

## Written by

[Sandscale](https://hashnode.com/@sandscale)

@sandscale

  
[View profile](https://hashnode.com/@sandscale)

## Responses 1

Markdown supported · ⌘↵ to post

[Adam Lewis](https://hashnode.com/@nark3d)

[3d ago](https://hashnode.com/posts/what-an-audit-log-for-ai-coding-agents-should-record/6b008f572595ba1d38fee5be/comment/6b0210d932b83e17d99fa9f7)

Section 4 leaves me with one question. Egress denials aren't logged, and readers are told to log them at the boundary they control, but that boundary is your allowlist. The denials that matter in your section 3 example happen inside the VM, after an install script runs, before anything crosses out. Does the microVM expose any interface at that point, or does everything short of that come down to comparing the working tree once the run has finished?
