fix(adr-093): clean up lingering retiring model refs in overrides + scripts

Post-verification sweep found 4 categories of missed references:

(a) 6 qe-* agents had explicit advisor.model: anthropic/claude-opus-4
    overriding the new 4.7 default from Commit 5:
    qe-coverage-specialist, qe-fleet-commander, qe-queen-coordinator,
    qe-risk-assessor, qe-root-cause-analyzer, qe-test-architect.
    Updated each to anthropic/claude-opus-4.7.

(b) scripts/adr-092-phase0a-harness.ts: EXECUTOR_MODEL /
    ADVISOR_MODEL constants for the ADR-092 Phase 0 eval harness
    still hardcoded Sonnet 4 / Opus 4. Updated to Sonnet 4.6 and
    Opus 4.7 so re-running the harness produces data consistent
    with the post-migration fleet.

(c) scripts/eval-driven-workflow.ts: YAML template's models_to_test
    list updated from claude-sonnet-4 / claude-3-haiku to
    claude-sonnet-4-6 / claude-haiku-4-5.

(d) .claude/settings.json:188 claudeFlow.modelPreferences.default
    updated from claude-opus-4-5-20251101 to claude-opus-4-7
    (explicit user approval).

Not touched in this commit:
* .claude/settings.json:189 modelPreferences.routing still
  'claude-3-5-haiku-20241022' (retiring 2026-06-15). Awaiting
  explicit user direction.
* .claude/skills/*/evals/*.yaml, assets/skills/a11y-ally/SKILL.md,
  assets/skills/testability-scoring/evals/*.yaml — skill eval
  YAMLs with model references. Scope deferred to user review.
* Historical docs/tests that reference retiring IDs as regression
  coverage (CHANGELOG, ADR-056, SPEC-043-C, model-mapping/registry
  test files).

Verification:
* 0 tsc errors

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dragan Spiridonov
2026-04-17 13:35:42 +00:00
parent 4f175638bf
commit 2068c2932f
9 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ domain: coverage-analysis
advisor:
enabled: true
provider: openrouter
model: anthropic/claude-opus-4
model: anthropic/claude-opus-4.7
max_uses: 3
redact: strict
---
+1 -1
View File
@@ -8,7 +8,7 @@ domain: cross-domain
advisor:
enabled: true
provider: openrouter
model: anthropic/claude-opus-4
model: anthropic/claude-opus-4.7
max_uses: 3
redact: strict
---
+1 -1
View File
@@ -14,7 +14,7 @@ dependencies:
advisor:
enabled: true
provider: openrouter
model: anthropic/claude-opus-4
model: anthropic/claude-opus-4.7
max_uses: 3
redact: strict
---
+1 -1
View File
@@ -8,7 +8,7 @@ v3_new: true
advisor:
enabled: true
provider: openrouter
model: anthropic/claude-opus-4
model: anthropic/claude-opus-4.7
max_uses: 3
redact: strict
---
+1 -1
View File
@@ -19,7 +19,7 @@ dependencies:
advisor:
enabled: true
provider: openrouter
model: anthropic/claude-opus-4
model: anthropic/claude-opus-4.7
max_uses: 3
redact: strict
---
+1 -1
View File
@@ -11,7 +11,7 @@ domain: test-generation
advisor:
enabled: true # ADR-092 Phase 0 target agent
provider: openrouter # Phase 0 default; any HybridRouter provider supported
model: anthropic/claude-opus-4 # Strong reasoning model via OpenRouter
model: anthropic/claude-opus-4.7 # Strong reasoning model via OpenRouter
max_uses: 3 # Per-task advisor call cap
budget_usd_per_task: 0.05 # Per-call budget ceiling
required: false # Phase 5 flips this to true for quality-gate enforcement
+1 -1
View File
@@ -185,7 +185,7 @@
"version": "3.0.0",
"enabled": true,
"modelPreferences": {
"default": "claude-opus-4-5-20251101",
"default": "claude-opus-4-7",
"routing": "claude-3-5-haiku-20241022"
},
"swarm": {
+2 -2
View File
@@ -46,8 +46,8 @@ const RUVIEW_DIR = '/tmp/adr-092-trial/RuView';
const REPORT_PATH = '/workspaces/agentic-qe/scripts/adr-092-phase0a-report.json';
const EXECUTOR_PROVIDER = 'openrouter' as const;
const EXECUTOR_MODEL = 'anthropic/claude-sonnet-4';
const ADVISOR_MODEL = 'anthropic/claude-opus-4';
const EXECUTOR_MODEL = 'anthropic/claude-sonnet-4.6';
const ADVISOR_MODEL = 'anthropic/claude-opus-4.7';
const FILES = [
{ path: 'v1/src/main.py', lines: 116 },
+2 -2
View File
@@ -242,8 +242,8 @@ description: >
# =============================================================================
models_to_test:
- claude-sonnet-4 # Primary model (high accuracy expected)
- claude-3-haiku # Fast model (minimum quality bar)
- claude-sonnet-4-6 # Primary model (high accuracy expected)
- claude-haiku-4-5 # Fast model (minimum quality bar)
# =============================================================================
# MCP Integration Configuration