From cdc102a97043d2e4504c951e97231eeee931dc09 Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Wed, 18 Nov 2026 22:52:50 +0100 Subject: [PATCH] Prohibit AI names as Git co-authors in the shared agent context Add the rule to the always-applied safety directives and make the dispatcher reference safety.md so Codex and Claude Code, which import only the dispatcher, apply it as well. --- dotfiles/common/.config/ai/AGENTS.md | 1 + dotfiles/common/.config/ai/rules/safety.md | 1 + 2 files changed, 2 insertions(+) diff --git a/dotfiles/common/.config/ai/AGENTS.md b/dotfiles/common/.config/ai/AGENTS.md index fe1c369..831947a 100644 --- a/dotfiles/common/.config/ai/AGENTS.md +++ b/dotfiles/common/.config/ai/AGENTS.md @@ -5,6 +5,7 @@ Always follow: - preserve layering - avoid duplication - validate before applying changes +- safety directives: always apply `~/.config/ai/rules/safety.md` Task-specific file loading: - For general background on the user, the environment, and stable preferences, read `~/.config/ai/memory/chatgpt/knowledge/00-profilo.md` diff --git a/dotfiles/common/.config/ai/rules/safety.md b/dotfiles/common/.config/ai/rules/safety.md index ce099a6..ba69e8b 100644 --- a/dotfiles/common/.config/ai/rules/safety.md +++ b/dotfiles/common/.config/ai/rules/safety.md @@ -10,3 +10,4 @@ Never break an existing host. ## Git Rules - Never auto-commit; always ask the user before committing +- Never add your own or any other AI assistant's name as a Git co-author: no `Co-Authored-By: ` trailers, no AI names among the authors. Commits are authored by the human operator only