When a customer loses access to a feature due to a pricing update, checking git blame usually points to a clean commit written by an AI agent under an engineer's name. According to reports from GetLockstep, this exposes a fundamental limitation in modern development workflows: knowing who touched a line of code does not explain why the change was made or what product decision it was supposed to implement.
The Breakdown of Traditional Code Tracking
Git has long provided an exceptional record of state, tracking file changes, commits, timestamps, and diffs. However, this system was never designed to capture the rich chain of human intent behind every line. While human-written code often leaks its context into issue trackers, planning documents, review comments, and team memory, AI agents widen this gap significantly. A single visible commit can now compress an entire hidden process involving prompts, retrieved context, tool calls, generated alternatives, test results, and approvals.
Emerging standards like git-ai can help record AI authorship, but knowing an agent generated a set of lines still fails to verify whether those lines align with the correct product rules or business exceptions.
Four Distinct Layers of Traceability
To understand where transparency breaks down, development teams are beginning to separate different types of traceability under the broad term of provenance. Commit provenance reveals how the source tree changed via authors, timestamps, and diffs. Agent provenance identifies which specific model, agent session, or prompt contributed to the modification. Build provenance, such as SLSA frameworks and GitHub artifact attestations, establishes verifiable claims about how source code became a deployable artifact.

Yet none of these layers capture decision provenance: the active team decision, its designated owner, the underlying rationale, rejected alternatives, and the specific approvals that authorized the agent to act. Without this crucial missing link, an audit trail becomes little more than a collection of timestamps surrounding an unexplained outcome.
Why Decision Provenance Matters for Modern Engineering
This analysis explores the systemic risks introduced when multi-agent systems and automated coding tools operate without a shared source of truth regarding business logic. When multiple AI agents modify a codebase concurrently, they can easily produce individually coherent changes that conflict with overarching company commitments, such as sales promises made to specific enterprise customers during an ongoing migration. Storing raw, unedited agent transcripts does not solve this problem; it merely buries crucial directives inside massive context windows containing sensitive credentials, internal documents, and irrelevant chatter, thereby expanding security and privacy surfaces. Decision provenance elevates traceability from a narrow engineering compliance check into a core product requirement.
Whether product managers need to understand why a feature was cut, support teams need to explain a customer-specific pricing exception, or developers need to ensure constraints survive a future refactor, the entire organization relies on tracing behavior back to an intentional, owned decision. Without structured decision memory, knowing whether Claude, Codex, or a human engineer typed a particular line of code provides little comfort when a critical business rule breaks in production.
Capturing and Implementing Decision Memory
To establish useful provenance for consequential agent work, teams must record a targeted set of linked facts rather than raw transcripts. This includes the trigger event or request, the active decision verdict, the designated owner and approval status, the core reasons alongside rejected alternatives, the specific evidence used, the agent contribution, and the resulting commit or deployment.
Tools like Lockstep are emerging to address this gap by providing a decision-memory layer for AI-assisted development. By capturing decisions with their explicit verdicts and owners, and integrating via MCP-compatible agents using features like get_product_context, tools can feed necessary constraints to AI agents before code is written, ensuring that future codebases remain tethered to human intent.
Editorial graphic and headline text by Signal Titans.
Source: Who wrote this code? AI provenance starts with the wrong question · Who wrote this code? AI provenance starts with the wrong question

Leave a Reply