Skip to main content

MAX_IMPORTED_PROJECT_INSTRUCTIONS

Constant MAX_IMPORTED_PROJECT_INSTRUCTIONS 

Source
pub const MAX_IMPORTED_PROJECT_INSTRUCTIONS: usize = 200;
Expand description

Cap on how many components.projectInstructions entries are read back.

Matches project_instructions::MAX_SCANNED_INSTRUCTION_FILES, which is the most AgentMux’s own exporter can ever produce — so this can only ever bite a hand-written or hostile bundle, where refusing to allocate unboundedly is the point. Overflow warns rather than truncating silently, same rule the rest of this parser follows.