Skip to content

pg_recall.py is 494 lines — under the 500 global cap, over this repo's 300-line local cap #404

Description

@cdeust

Raised by the review of PR #399 (issue #368).

The split of mcp_server/core/pg_recall.py took it from 833 to 494 lines. That clears the coding-standards.md §4.1 global cap of 500, but this repository sets a stricter local cap of 300 lines per file (CLAUDE.md § Code Style, restated in CONTRIBUTING.md § Code Style). 494 misses it by 64%.

The split commit's own message cites the 500-line threshold as its target, so the looser number was applied where the stricter one governs. The code is not wrong — the cap it was measured against was.

Not urgent, not a blocker for #399, which the review approved. Filed so the miss is recorded rather than carried silently: the next change to this file should finish the split to the local cap, along the seams the original split already identified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions