Skip to main content
Code Guide
C10 Intermediate Design

AI Traceability

Tracking AI contributions in code and commits

PDF
← All cards

Why trace now

The majority of AI tools (Copilot, Cursor, ChatGPT) leave no trace in version control. AI contributions become indistinguishable from human contributions. This silence creates three concrete problems: reviewers don’t know what to examine more carefully, auditors cannot verify AI usage, and when a bug appears, it is impossible to know whether the logic came from a human decision or an automated generation.

Claude Code adds a Co-Authored-By trailer to commits by default. It is a starting point, but not the only option.

The disclosure spectrum

LevelMethodWhen to use
MinimalCo-Authored-By trailerCasual OSS, small teams
StandardAssisted-by trailer + PR disclosureActive projects, OSS contributions
Fullgit-ai checkpoints + preserved promptsEnterprise, compliance, audit

Co-Authored-By convention (Claude Code default):

feat: implement user authentication
JWT-based auth with refresh tokens.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Assisted-by convention (LLVM standard): different semantics. The developer remains the primary author, AI assisted.

Assisted-by: Claude (Anthropic)

Policies of major projects

ProjectPolicyTrigger
LLVM (Jan. 2026)Assisted-by requiredSignificant assistance
GhosttyDisclosure in PRAny AI tool
FedoraDisclosure + accountability”Substantial” usage

All three projects prohibit fully autonomous agents and require that a human understands, reviews, and remains responsible for the code.

What traceability is not: a quality certification. Mentioning Claude does not guarantee that the code is good, nor that it was reviewed. It is transparency about origin, not a validation.

CONTRIBUTING.md template for your team

## AI Assistance Disclosure
If you use an AI tool to contribute, indicate it
in your PR description.
What to disclose: generated code, assisted research,
suggested algorithms, written documentation.
No need to disclose: trivial autocomplete,
grammar correction, IDE helpers.

AI Code Halflife

Studies on repositories using git-ai show that the median lifespan of AI-generated code is 3.33 years before being replaced, compared to a longer lifespan for human code. AI code is often more generic, less anchored in the project architecture, and requires more rework when requirements evolve. Traceability allows precisely targeting these areas during future refactoring.

Advanced tool: Entire CLI

For enterprise teams, Entire CLI (Feb 2026, Thomas Dohmke) captures complete sessions as Git checkpoints: prompts, tool calls, diffs, and reasoning, on an orphan branch without polluting the main history. Useful for SOC2/HIPAA contexts requiring full auditability.

Enter your email to read the full card and get the complete PDF bundle.

All content is free and open-source. We just ask for your email.

PDF: