Skip to content

style: rename camelCase local constants to PascalCase in FileSystemPlugin #16

@fuseraft

Description

@fuseraft

C# convention (and the rest of this codebase) uses PascalCase for named constants. Two local constants in src/Infrastructure/Plugins/FileSystemPlugin.cs use camelCase instead:

Line Current Correct
592 const int maxFiles = 500 const int MaxFiles = 500
874 const int maxEntries = 500 const int MaxEntries = 500

Future consideration: FileSystemPlugin already accepts readFileSizeLimit and readBudgetPerTurn as constructor params plumbed from SecurityConfig. These list-truncation limits follow the same pattern and could eventually be promoted to SecurityConfig as something like MaxListEntriesPerCall. That is out of scope for this issue — rename first, then consider promotion separately.

Files to touch: src/Infrastructure/Plugins/FileSystemPlugin.cs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions