From 30970ba890640d996f8ed32499a0bbfb289d9ea8 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Tue, 9 Sep 2025 06:52:31 +0200 Subject: [PATCH] Add AGENTS.md files to .gitattributes for export-ignore This ensures that AGENTS.md files (similar to CLAUDE.md) are excluded from archive exports while remaining in the repository for development use. --- src/agent/.gitattributes | 1 + src/ai-bundle/.gitattributes | 1 + src/mcp-bundle/.gitattributes | 1 + src/mcp-sdk/.gitattributes | 1 + src/platform/.gitattributes | 1 + src/store/.gitattributes | 1 + 6 files changed, 6 insertions(+) diff --git a/src/agent/.gitattributes b/src/agent/.gitattributes index 6ceebccd4..9cf0aaea6 100644 --- a/src/agent/.gitattributes +++ b/src/agent/.gitattributes @@ -5,3 +5,4 @@ phpstan.dist.neon export-ignore phpunit.xml.dist export-ignore CLAUDE.md export-ignore +AGENTS.md export-ignore diff --git a/src/ai-bundle/.gitattributes b/src/ai-bundle/.gitattributes index 6ceebccd4..9cf0aaea6 100644 --- a/src/ai-bundle/.gitattributes +++ b/src/ai-bundle/.gitattributes @@ -5,3 +5,4 @@ phpstan.dist.neon export-ignore phpunit.xml.dist export-ignore CLAUDE.md export-ignore +AGENTS.md export-ignore diff --git a/src/mcp-bundle/.gitattributes b/src/mcp-bundle/.gitattributes index d07425591..cfb46ae7b 100644 --- a/src/mcp-bundle/.gitattributes +++ b/src/mcp-bundle/.gitattributes @@ -3,3 +3,4 @@ .gitignore export-ignore phpstan.dist.neon export-ignore CLAUDE.md export-ignore +AGENTS.md export-ignore diff --git a/src/mcp-sdk/.gitattributes b/src/mcp-sdk/.gitattributes index 749150c5d..679c5c60b 100644 --- a/src/mcp-sdk/.gitattributes +++ b/src/mcp-sdk/.gitattributes @@ -4,3 +4,4 @@ /.php-cs-fixer.dist.php export-ignore /phpstan.dist.neon export-ignore /phpunit.xml.dist export-ignore +AGENTS.md export-ignore diff --git a/src/platform/.gitattributes b/src/platform/.gitattributes index 6ceebccd4..9cf0aaea6 100644 --- a/src/platform/.gitattributes +++ b/src/platform/.gitattributes @@ -5,3 +5,4 @@ phpstan.dist.neon export-ignore phpunit.xml.dist export-ignore CLAUDE.md export-ignore +AGENTS.md export-ignore diff --git a/src/store/.gitattributes b/src/store/.gitattributes index 6ceebccd4..9cf0aaea6 100644 --- a/src/store/.gitattributes +++ b/src/store/.gitattributes @@ -5,3 +5,4 @@ phpstan.dist.neon export-ignore phpunit.xml.dist export-ignore CLAUDE.md export-ignore +AGENTS.md export-ignore