I8Instructionsscope: coreweight: 1fix: manual
I8: Total injected content within budget
Why this rule exists (Empirical Evidence)
Corpus analysis: total injected content (CLAUDE.md + AGENTS.md + rules/*.md) median is 116 non-empty lines, outliers reach 1000+. IFScale research shows instruction compliance degrades beyond ~150 instructions. The right metric is total injected content across all files, not just entry file length.
Claude Code Repository Corpus Analysis (2026)
IFScale: Benchmarking Instruction-Following at Scale (2026)
Anti-pattern (Triggers I8)
# Anti-pattern triggering I8 (Total injected content within budget) # Rule or repository configuration violates this check without verification.
Compliant pattern (Passes I8)
# Compliant harness passing I8 (Total injected content within budget) # Concrete, verifiable repository configuration backed by corpus-4533, ifscale.
Verify locally or online
npm install -g agentlint-ai && agentlint check --check I8