feat(KB-147): add planning and validator model settings
- Extend core Settings types with planningProvider, planningModelId, validatorProvider, validatorModelId fields - Add model selectors in Settings UI for planning and validator models - Use planning model for triage task specification generation - Use validator model for specification review in triage - Use validator model for code reviews in executor agent - Update AGENTS.md with model hierarchy documentation
This commit is contained in:
24
AGENTS.md
24
AGENTS.md
@@ -286,9 +286,31 @@ To clear overrides, select "Use default" for both fields and save.
|
||||
|
||||
### Limitations
|
||||
|
||||
- Triage (task specification) always uses global defaults — per-task overrides apply only to execution and review
|
||||
- **Planning Model**: Task specification (triage) uses the global `planningProvider`/`planningModelId` settings — there is no per-task override for planning
|
||||
- Both provider and modelId must be set together; partial configuration falls back to defaults
|
||||
|
||||
## Model Settings Hierarchy
|
||||
|
||||
The system uses the following precedence for model selection:
|
||||
|
||||
**For Task Specification (Triage):**
|
||||
1. Global `planningProvider`/`planningModelId` (if both set)
|
||||
2. Global `defaultProvider`/`defaultModelId` (if both set)
|
||||
3. Automatic model resolution (fallback)
|
||||
|
||||
**For Task Execution (Executor):**
|
||||
1. Per-task `modelProvider`/`modelId` (if both set)
|
||||
2. Global `defaultProvider`/`defaultModelId` (if both set)
|
||||
3. Automatic model resolution (fallback)
|
||||
|
||||
**For Code/Spec Review (Reviewer):**
|
||||
1. Per-task `validatorModelProvider`/`validatorModelId` (if both set)
|
||||
2. Global `validatorProvider`/`validatorModelId` (if both set)
|
||||
3. Global `defaultProvider`/`defaultModelId` (if both set)
|
||||
4. Automatic model resolution (fallback)
|
||||
|
||||
Configure global model settings in the dashboard under **Settings > Model**.
|
||||
|
||||
## Archive Cleanup
|
||||
|
||||
Archived tasks can be cleaned up from the filesystem to reduce storage overhead while preserving the ability to restore them later.
|
||||
|
||||
Reference in New Issue
Block a user