Snapshotting: More complete AI code attribution with auspex
Last updated: November 12, 2026
Snapshotting lets auspex capture agent-written code from every source, including shell commands, scripts, MCP tools and skills, as well as dedicated edit tools. It's in closed beta on macOS. Ask your Span account team whether your organization can join.
Why it matters
AI Code Ratio comes from Agent Traces. Coding agents like Claude Code often change files through shell commands and scripts rather than a dedicated edit tool. Without Snapshotting, Span attributes code only from the agent's edit-tool calls, so code an agent writes through a shell command counts as human-written. That's a common reason AI Code Ratio reads lower than a team expects. Snapshotting also captures those changes, and teams that rely heavily on agents see the biggest difference.
How it works
Instead of watching only for edit-tool calls, auspex observes changes in your Git repository while an agent session is running. It takes a lightweight snapshot of the working tree every couple of minutes in the background, using its own scratch space, so it adds no latency to your agents and writes nothing into your repository.
This changes how attribution works: Span credits every change made in the repository during an active agent session to the agent, including edits you make by hand. For the full rules and a worked example, see How AI Code Ratio is calculated.
Span turns Snapshotting on for your organization.
Setup
Setup
Ask about joining the beta. Contact your Span account team to find out whether your organization can join.
Upgrade auspex on your Macs. Your account team tells you which auspex release Snapshotting needs. Find each release and what changed in the auspex release notes. Use the install guide for your device management tool, or the self-install guide, linked from Understanding Agent Traces in Span (auspex).
Span turns it on. Once your devices run a supported release, Span turns on Snapshotting for your organization, and the data starts flowing. If reported AI Code Ratio still seems lower than expected after rollout, verify that all target developers are on the supported auspex release and use Fleet Diagnostics to confirm rollout status.
Things to know
Closed beta. Snapshotting is in closed beta on macOS. Your Span account team can tell you whether your organization can join.
Hand edits during a session count as AI. Snapshotting credits every repository change made during an active agent session to the agent, so AI Code Ratio may overcount. For example, if an agent writes 80 lines and you type 20 more by hand in the same repository while the session is running, all 100 lines count as AI-written, and the PR shows 100% instead of 80%.
Most teams see AI Code Ratio rise on new PRs. That's expected: Span now captures agent changes made outside edit tools, plus the hand edits described above.
It's forward-looking. Snapshotting applies to PRs matched with traces collected after it is turned on. Past PRs aren't recalculated.
Expect a step change in trends. Because history isn't recalculated, AI Code Ratio trend charts can jump at the date your devices upgrade and Snapshotting starts. Note the date beside any baseline you track.
Older auspex releases don't snapshot. A Mac on an earlier release keeps attributing code from edit-tool calls only until it's upgraded, even when Snapshotting is on for your organization.
Troubleshoot unexpectedly low ratios. If your organization's AI Code Ratio still looks low after Snapshotting is enabled, first confirm that all developers have upgraded to the required auspex version, since older versions can undercount attribution. You can also check the Fleet Diagnostics page to verify rollout coverage, but note that its status is not real-time and may lag by a few hours.
macOS only. Windows and Linux devices keep attributing code from edit-tool calls only.
Git repositories only. Changes outside Git repositories aren't captured.
Some files are skipped. Lockfiles and minified files aren't included in snapshots.
Cross-repo edits may be missed. If an agent edits a repository auspex isn't tracking, those changes may not be captured.
Concurrent sessions are less precise. Running several agent sessions in the same repository at once can make matching less precise.
Related articles
How AI Code Ratio is calculated
Understanding Agent Traces in Span (auspex)
How are PRs considered qualified in the AI Impact report when using traces?
Understanding Accepted AI Lines vs. All Merged Lines in the AI Tool Adoption report
Need help?
Contact your Span account team or reach out to support@span.app.