Skip to content

Commit e0d290a

Browse files
committed
docs: sync rule counts and update changelog for MCP-008
1 parent d5e5e4c commit e0d290a

6 files changed

Lines changed: 18 additions & 17 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
crates/
3232
├── agnix-core/ # Parsers, schemas, rules, diagnostics
3333
└── agnix-cli/ # CLI with clap
34-
knowledge-base/ # 89 rules, 75+ sources
34+
knowledge-base/ # 90 rules, 75+ sources
3535
tests/fixtures/ # Test cases
3636
```
3737

@@ -46,7 +46,7 @@ cargo run --bin agnix -- . # Run CLI
4646

4747
## Rules Reference
4848

49-
89 rules defined in `knowledge-base/rules.json` (source of truth)
49+
90 rules defined in `knowledge-base/rules.json` (source of truth)
5050

5151
Human-readable docs: `knowledge-base/VALIDATION-RULES.md`
5252

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010
### Added
11+
- MCP-008 rule for protocol version validation with configurable `mcp_protocol_version` option
1112
- 5 new parse error rules with normalized IDs (AS-016, CC-HK-012, CC-AG-007, CC-PL-006, MCP-007)
1213
- Auto-fix support for CC-MEM-005 and CC-MEM-007 memory rules
1314
- CC-MEM-005: Delete lines containing generic instructions

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
crates/
3232
├── agnix-core/ # Parsers, schemas, rules, diagnostics
3333
└── agnix-cli/ # CLI with clap
34-
knowledge-base/ # 89 rules, 75+ sources
34+
knowledge-base/ # 90 rules, 75+ sources
3535
tests/fixtures/ # Test cases
3636
```
3737

@@ -46,7 +46,7 @@ cargo run --bin agnix -- . # Run CLI
4646

4747
## Rules Reference
4848

49-
89 rules defined in `knowledge-base/rules.json` (source of truth)
49+
90 rules defined in `knowledge-base/rules.json` (source of truth)
5050

5151
Human-readable docs: `knowledge-base/VALIDATION-RULES.md`
5252

SPEC.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# agnix Technical Reference
22

3-
> Linter for agent configs. 89 rules across 13 categories.
3+
> Linter for agent configs. 90 rules across 13 categories.
44
55
## What agnix Validates
66

@@ -14,7 +14,7 @@
1414
| Plugins | plugin.json | 5 |
1515
| Prompt Engineering | CLAUDE.md, AGENTS.md | 4 |
1616
| Cross-Platform | AGENTS.md | 3 |
17-
| MCP | tool definitions | 6 |
17+
| MCP | tool definitions | 8 |
1818
| XML | all .md files | 3 |
1919
| References | @imports | 2 |
2020
| GitHub Copilot | .github/copilot-instructions.md, .github/instructions/*.instructions.md | 4 |
@@ -29,7 +29,7 @@ agnix/
2929
│ │ ├── schemas/ # Type definitions
3030
│ │ └── rules/ # Validators
3131
│ └── agnix-cli/ # CLI binary
32-
├── knowledge-base/ # 89 rules documented
32+
├── knowledge-base/ # 90 rules documented
3333
└── tests/fixtures/ # Test cases
3434
```
3535

knowledge-base/INDEX.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# agnix Knowledge Base - Master Index
22

3-
> 492KB knowledge, 75+ sources, 5 research agents, 89 validation rules
3+
> 492KB knowledge, 75+ sources, 5 research agents, 90 validation rules
44
55
---
66

77
## Quick Navigation
88

99
| What You Need | Start Here |
1010
|---------------|------------|
11-
| **Implement validator** | [VALIDATION-RULES.md](./VALIDATION-RULES.md) - 89 rules with detection logic |
11+
| **Implement validator** | [VALIDATION-RULES.md](./VALIDATION-RULES.md) - 90 rules with detection logic |
1212
| **Understand a standard** | [standards/](#standards) - HARD-RULES files |
1313
| **Learn best practices** | [standards/](#standards) - OPINIONS files |
1414
| **Find patterns** | [PATTERNS-CATALOG.md](./PATTERNS-CATALOG.md) - 70 patterns from awesome-slash |
@@ -23,7 +23,7 @@
2323
knowledge-base/
2424
├── INDEX.md # This file
2525
├── README.md # Detailed navigation guide
26-
├── VALIDATION-RULES.md # ⭐ Master validation reference (89 rules)
26+
├── VALIDATION-RULES.md # ⭐ Master validation reference (90 rules)
2727
├── PATTERNS-CATALOG.md # 70 production-tested patterns
2828
2929
├── standards/ # 12 files, 9,884 lines, 266KB
@@ -65,13 +65,13 @@ knowledge-base/
6565
| Standard | Sources | HARD RULES | OPINIONS | Rules Extracted |
6666
|----------|---------|------------|----------|-----------------|
6767
| **Agent Skills** | 12 | 19KB | 36KB | 15 rules |
68-
| **MCP** | 11 | 33KB | 36KB | 6 rules |
68+
| **MCP** | 11 | 33KB | 36KB | 8 rules |
6969
| **Claude Code** | 10 | 34KB | 40KB | 42 rules |
7070
| **Multi-Platform** | 15 | 15KB | 27KB | 3 rules |
7171
| **Prompt Eng** | 15 | 16KB | 21KB | 4 rules |
7272
| **AGENTS.md** | 5 | - | - | 6 rules |
7373
| **awesome-slash** | 12 | - | - | 70 patterns |
74-
| **Total** | **75+** | **117KB** | **160KB** | **89 rules** |
74+
| **Total** | **75+** | **117KB** | **160KB** | **90 rules** |
7575

7676
### Validation Rules by Category
7777

@@ -84,12 +84,12 @@ knowledge-base/
8484
| Claude Memory | 10 | 6 | 4 | 0 | 2 |
8585
| AGENTS.md | 6 | 3 | 3 | 0 | 2 |
8686
| Claude Plugins | 5 | 5 | 0 | 0 | 1 |
87-
| MCP | 6 | 6 | 0 | 0 | 1 |
87+
| MCP | 8 | 7 | 1 | 0 | 1 |
8888
| XML | 3 | 3 | 0 | 0 | 1 |
8989
| References | 2 | 2 | 0 | 0 | 0 |
9090
| Prompt Eng | 4 | 2 | 2 | 0 | 1 |
9191
| Cross-Platform | 3 | 2 | 1 | 0 | 0 |
92-
| **TOTAL** | **89** | **64** | **21** | **4** | **20** |
92+
| **TOTAL** | **90** | **65** | **22** | **3** | **20** |
9393

9494
---
9595

@@ -127,7 +127,7 @@ knowledge-base/
127127
### For Implementation
128128

129129
**Start here**: [VALIDATION-RULES.md](./VALIDATION-RULES.md)
130-
- 89 rules with rule IDs (AS-001, CC-HK-001, etc.)
130+
- 90 rules with rule IDs (AS-001, CC-HK-001, etc.)
131131
- Detection pseudocode
132132
- Auto-fix implementations
133133
- Priority matrix (P0/P1/P2)
@@ -248,7 +248,7 @@ Total Size: 492KB
248248
Standards Covered: 5 (Agent Skills, MCP, Claude Code, Multi-Platform, Prompt Eng)
249249
Sources Consulted: 75+ (specs, docs, research papers, repos)
250250
Research Agents: 5 (10+ sources each)
251-
Validation Rules: 89 rules
251+
Validation Rules: 90 rules
252252
Auto-Fixable Rules: 20 rules
253253
Test Fixtures: 11 files
254254
Platforms Analyzed: 9 (Claude Code, Codex CLI, OpenCode, Copilot, Cursor, Cline, Roo-Cline, Continue.dev, Aider)

knowledge-base/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Start Here
66

77
- [INDEX.md](./INDEX.md) - Master navigation and summaries
8-
- [VALIDATION-RULES.md](./VALIDATION-RULES.md) - 89 rules with detection logic
8+
- [VALIDATION-RULES.md](./VALIDATION-RULES.md) - 90 rules with detection logic
99
- [PATTERNS-CATALOG.md](./PATTERNS-CATALOG.md) - 70 patterns from awesome-slash
1010
- [standards/](./standards/) - HARD-RULES and OPINIONS by topic
1111
- [agent-docs/](./agent-docs/) - Platform references and research

0 commit comments

Comments
 (0)