From 81aaf7cf982923f25d7d47ca495f11aaba975c05 Mon Sep 17 00:00:00 2001 From: Anto Subash Date: Sun, 29 Mar 2026 22:30:39 +0000 Subject: [PATCH 1/2] Disable Claude attribution in commits and source code Add Attribution Policy section to CLAUDE.md and codestyle.attribution setting to prevent AI co-author tags, session URLs, and generated-by comments from appearing in commits or source files. --- .claude/settings.json | 3 +++ CLAUDE.md | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.claude/settings.json b/.claude/settings.json index c9b8ff6a..1245840d 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,4 +1,7 @@ { + "codestyle": { + "attribution": false + }, "permissions": { "allow": [ "Bash", diff --git a/CLAUDE.md b/CLAUDE.md index 0f844243..be3fe631 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,6 +2,14 @@ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. +## Attribution Policy + +- **Never** add "Co-authored-by: Claude" or any Claude/AI attribution to git commits +- **Never** add comments like "Generated by Claude", "AI-generated", or similar in source code +- **Never** list Claude as a contributor in any file (package.json, csproj, README, etc.) +- All commits should appear as authored solely by the developer — do not modify git author/committer config +- Do not append the claude.ai session URL to commit messages + ## What This Is Modular monolith framework for .NET with compile-time module discovery via Roslyn source generators. Frontend uses React 19 + Inertia.js served via Blazor SSR. @@ -252,4 +260,4 @@ Biome is configured at repo root (`biome.json`). Covers `modules/**`, `packages/ - **Simplicity First**: Make every change as simple as possible. Impact minimal code - **No Laziness**: Find root causes. No temporary fixes. Senior developer standards -- Don't claude to the commit messages +- Never add Claude/AI attribution to commits or source code (see Attribution Policy above) From 1b546402f0514aae85b7eb9bf63df89adc109763 Mon Sep 17 00:00:00 2001 From: Anto Subash Date: Sun, 29 Mar 2026 22:39:00 +0000 Subject: [PATCH 2/2] Fix attribution settings to use correct top-level format Replace deprecated codestyle.attribution with the proper top-level attribution object with empty commit and pr strings. --- .claude/settings.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.claude/settings.json b/.claude/settings.json index 1245840d..0f8209a4 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,6 +1,7 @@ { - "codestyle": { - "attribution": false + "attribution": { + "commit": "", + "pr": "" }, "permissions": { "allow": [