Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .agnix.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
severity = "Warning"

Check notice on line 1 in .agnix.toml

View workflow job for this annotation

GitHub Actions / agnix / agnix

No tool or spec versions pinned. Version-dependent rules will use default assumptions. [VER-001]
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
]
Comment on lines +10 to +16

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Disabling rules globally can be risky as it might suppress valid warnings in other files now or in the future. For better maintainability and to avoid unintended consequences, it's preferable to scope these exceptions as narrowly as possible.

If agnix supports it, consider using per-file configuration or inline comments to disable these rules only where necessary. For example:

  • AGM-003 and AGM-004 could be disabled specifically for AGENTS.md.
  • CC-MEM-009 could be disabled specifically for CLAUDE.md.

This would ensure that these rules are still enforced for other files where they might be relevant.


[tool_versions]

[spec_revisions]
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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