Skip to content

[docs] docs/module-inventory.md per-layer file counts are stale #563

Closed

Description

@cdeust

What happened

docs/module-inventory.md:61-64 states per-layer file counts that no longer match the tree.

layer stated measured 2026-09-15 (recursive, excluding pycache)
shared 39 48
core 220 228
infrastructure 120 136
handlers 139 151

Reproduction steps

Run find mcp_server/<layer> -name '*.py' -not -path '*__pycache__*' | wc -l for each layer at commit a3b3a79d and compare with lines 61-64.

Expected behavior

The inventory never states a number that can drift silently: either the counts are removed, or a check (for example in scripts/check_craftsmanship.py, which already parses this file's layer table) fails when they diverge.

Environment

Cortex 4.21.0, commit a3b3a79

Severity

Low (cosmetic, edge case)

Evidence required to close

Counts corrected and a CI check that fails on drift, or the counts removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions