- Add WhisperConfig interface: modelName, language, modelDir
- Add FileProcessorConfig interface: uploadDir, maxFileSizeBytes,
textMaxInlineChars, ocrModel, ocrEnabled
- Add both to AppConfig and DEFAULT_CONFIG
- Add env var overrides in mergeEnv() for all new fields
- Update config.json.example with new sections
- All 156 tests pass, TypeScript build clean
P10-04: Improved Model Selection Fallback
- Update ExecutorAgent to include _complexity from plan.complexity in context
- Update GeneratorService to check context._complexity when modelClass is missing
- Fallback order: input.modelClass → context._complexity → 'medium'
- Ensures nodes without explicit modelClass use plan's global complexity
P10-05: Configurable Planner Complexity
- Add plannerComplexity to ModelRouterConfig interface
- Set default plannerComplexity to 'medium' in DEFAULT_CONFIG
- Add environment variable support: MODEL_ROUTER_PLANNER_COMPLEXITY
- Update config.json.example with plannerComplexity field
- Update Orchestrator to use getConfig().modelRouter.plannerComplexity
- Remove hardcoded 'medium' complexity from runTaskPipeline
P10-06: Model Selection Verification
- Update config.json with plannerComplexity: 'large' for testing
- Document verification steps and success criteria
- All code changes complete, ready for manual verification testing
Co-authored-by: Cursor <cursoragent@cursor.com>