F4Findabilityscope: coreweight: 1fix: manual

    F4: Large directories have index

    Why this rule exists (Empirical Evidence)

    Directories with >10 content files need INDEX for AI navigation. Without it, AI defaults to 'read everything' which fills context with irrelevant content.

    Anthropic Claude Code System Prompt Evolution (2026)Source
    Anti-pattern (Triggers F4)
    # Anti-pattern triggering F4 (Large directories have index)
    # Rule or repository configuration violates this check without verification.
    Compliant pattern (Passes F4)
    # Compliant harness passing F4 (Large directories have index)
    # Concrete, verifiable repository configuration backed by anthropic-265.
    Verify locally or online
    npm install -g agentlint-ai && agentlint check --check F4

    More Findability checks