MODEL-CONFIG — agent-ea v2

MODEL-CONFIG — agent-ea v2

Source-of-truth for model IDs used by Edward's skill chain. Sweep across skills via the model-sweep script before each deployment.

Active model assignments

Stage / Role Model ID Reason
Orchestrator (ea-hlsd) claude-opus-4-7 Multi-domain reasoning, gate decisions, state interpretation
1–2, 4 Capture/Revue/Intrant (ea-exigences-*) claude-haiku-4-5-20251001 Mechanical extraction, ~75% cheaper than Sonnet
5 Extract (/ea:leanix-catalog-extractnode seed.mjs) LLM step inherits — typically claude-sonnet-4-6; seed is deterministic Classification + naming need Sonnet quality; D1 seed is a Node script (no model)
6 Data (node export-datajs.mjs) None — deterministic Node script D1 → data.js is pure transform; no model call
7 Publish (node publish.mjs) None — deterministic Node script Macroscope A-code pages from data.js + templates; no model call
8 Handover (ea-publish-jct + node d1-export.mjs) claude-haiku-4-5-20251001 (publish-jct); export is deterministic Git commit + push, deploy poll, JSM comment; bundle export is a Node script

LLM vs deterministic stages. Stages 1–2, 4, the extract half of 5, and the publish-jct half of 8 are LLM steps (assign a model). Stages 6 and 7 — and the seed.mjs / d1-export.mjs halves of 5 and 8 — are deterministic Node scripts in the production-lines/agent-ea/pipeline/ engine; they take no model assignment.

Model-switch convention

Skills include a model directive in the header:

> **MODÈLE: Haiku 4.5** — Tâche d'exécution mécanique
> Basculer avant de lancer: `/model claude-haiku-4-5-20251001`

Orchestrator (ea-hlsd) is the exception — it stays on Opus and invokes child skills (Haiku) within its own context.

Sweep script

When models version up, run:

# From talent-factory root
python tools/model-sweep.py \
  --talent agent-ea-v2 \
  --from claude-opus-4-6 --to claude-opus-4-7 \
  --from claude-sonnet-4-5 --to claude-sonnet-4-6

This updates every claude-{family}-{version} reference in the talent's .claude/commands/ and this MODEL-CONFIG.md.

History

Date Change Reason
2026-05-14 v1 → v2 split. Opus 4.6 → 4.7 for orchestrator. v1 frozen; v2 picks up latest models.

Related

  • project_model-config-pattern (memory) — the broader factory pattern for model management
  • Production-line MODEL-CONFIG template: production-lines/digital-talent/templates/