Allow per-provider/model system prompt overrides - #483
Conversation
Implementation PlanProblem analysisDreb currently supports session-wide prompt replacement and append sources, while Use provider-aware entries in the existing {
"modelSettings": {
"openai/gpt-5.6-sol": {
"appendSystemPrompt": "Model-specific instructions"
},
"ollama/qwen-local": {
"systemPrompt": "Replacement prompt"
}
}
}Existing bare model-ID entries for Deliverables
Acceptance criteria
Files to modify
No new files are expected. Testing approach
Risks and open questions
Plan created by mach6 |
Vitest coverage
|
Progress UpdateImplemented persistent, exact
Verification completed successfully: focused tests, full test suite, Commit: Progress tracked by mach6 |
Unverified Review Candidates — Pending AssessmentReview round: 1
CriticalNone. Important
Suggestions
Strengths
Agents run: code-reviewer, error-auditor, test-reviewer, completeness-checker, simplifier Reviewed by mach6 |
Review AssessmentClassifications
Action Plan
Assessment by mach6 |
Progress UpdateFixed review finding 1 by making malformed target-model prompt settings fail before any model-switch state is committed:
Verification passed: focused tests, the full coding-agent suite, repository checks, build, workspace-link verification, and the commit hook's full non-live suite (5,805 passed). Commit: Progress tracked by mach6 |
Unverified Review Candidates — Pending AssessmentReview round: 2
CriticalNone. Important
SuggestionsNone. Strengths
Agents run: code-reviewer, error-auditor, test-reviewer, completeness-checker; simplifier dispatch timed out before child spawn Reviewed by mach6 |
Review AssessmentFinding 5 was added during assessment as an explicit human-approved scope update after the unverified-candidates comment exposed the workflow defect in this review. Classifications
Action Plan
Assessment by mach6 |
Progress UpdateFixed review findings 1 and 5:
Verification passed: focused tests, full non-live workspace suite (5,806 passed), repository checks, build, and workspace-link verification. Commit: Progress tracked by mach6 |
Unverified Review Candidates — Pending AssessmentReview round: 3
CriticalNone. Important
Suggestions
Strengths
Agents run: code-reviewer, error-auditor, test-reviewer, completeness-checker, simplifier Reviewed by mach6 |
Review AssessmentClassifications
Action Plan
Assessment by mach6 |
Progress UpdateFixed review finding 1 by making model-selector persistence atomic:
Verification passed: focused model-selector and model-switch tests, repository checks, full non-live suite (5,807 passed), build, workspace-link verification, and the commit hook's full non-live suite. A transient dashboard browser-test timeout during the first commit attempt passed on focused rerun and on the successful commit-hook rerun. Commit: Progress tracked by mach6 |
Unverified Review Candidates — Pending AssessmentReview round: 4
CriticalNone. Important
SuggestionsNone. Strengths
Agents run: code-reviewer, error-auditor, test-reviewer, completeness-checker, simplifier (successful after dispatch-arbitration retries) Reviewed by mach6 |
Review AssessmentClassifications
Action PlanNo merge blockers. Assessment by mach6 |
Closes #482
Add persistent provider/model-specific settings that can replace or append to the system prompt for built-in and custom models.
Implementation plan posted as a comment below.