mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-01-30 06:12:06 +00:00
feat: increase command limit to 100 and add optimization guide
Changes: - Increase command limit from 50 to 100 per project - Add examples/OPTIMIZE_CONFIG.md with optimization strategies - Update all documentation references (50 → 100) - Update tests for new limit Rationale: - 50 was too restrictive for projects with many tools (Flutter, etc.) - Users were unknowingly exceeding limit by listing subcommands - 100 provides headroom while maintaining security - New guide teaches wildcard optimization (flutter* vs listing each subcommand) UI feedback idea: Show command count and optimization suggestions (tracked for Phase 3 or future enhancement)
This commit is contained in:
@@ -491,8 +491,8 @@ def load_project_commands(project_dir: Path) -> Optional[dict]:
|
||||
if not isinstance(commands, list):
|
||||
return None
|
||||
|
||||
# Enforce 50 command limit
|
||||
if len(commands) > 50:
|
||||
# Enforce 100 command limit
|
||||
if len(commands) > 100:
|
||||
return None
|
||||
|
||||
# Validate each command entry
|
||||
|
||||
Reference in New Issue
Block a user