From 616c0c0462c688d8415934bd856ff069b6d4667f Mon Sep 17 00:00:00 2001 From: Avi Fenesh Date: Mon, 9 Mar 2026 23:33:21 +0200 Subject: [PATCH 1/2] ci: add agnix validation to CI pipeline Add .agnix.toml configuration and integrate the agnix GitHub Action into CI to validate agent configurations on push and PR. --- .agnix.toml | 20 ++++++++++++++++++++ .github/workflows/ci.yml | 3 +++ 2 files changed, 23 insertions(+) create mode 100644 .agnix.toml diff --git a/.agnix.toml b/.agnix.toml new file mode 100644 index 0000000..1a2d325 --- /dev/null +++ b/.agnix.toml @@ -0,0 +1,20 @@ +severity = "Warning" +exclude = ["node_modules/**", ".git/**"] +target = "ClaudeCode" +tools = [] +locale = "en" + +[rules] +cross_platform = false # Reference docs include cross-platform examples (Cursor paths, etc.) + +disabled_rules = [ + "AGM-003", # Intentional - AGENTS.md is a comprehensive research reference, needs full length + "AGM-004", # AGENTS.md is a knowledge base index, not a standard agent instruction file + "AGM-005", # Cursor platform examples are reference content + "CC-MEM-009", # Intentional - CLAUDE.md is a comprehensive reference doc, size is necessary + "CDX-AG-002", # False positive - knowledge base content contains "token" references, not secrets +] + +[tool_versions] + +[spec_revisions] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46580a0..8d87423 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,3 +10,6 @@ jobs: ci: uses: agent-sh/.github/.github/workflows/ci-node.yml@main secrets: inherit + + agnix: + uses: agent-sh/.github/.github/workflows/ci-agnix.yml@main From 1fee703b2d1e1e059d61fd8b547cb2890c37c6e7 Mon Sep 17 00:00:00 2001 From: Avi Fenesh Date: Mon, 9 Mar 2026 23:59:31 +0200 Subject: [PATCH 2/2] ci: trigger CI after ci-agnix.yml merged to .github