From aa50287f8b64b7beb45b1707ebe4f89d87c6b473 Mon Sep 17 00:00:00 2001 From: hongming-pc2 Date: Sun, 10 May 2026 02:27:48 -0700 Subject: [PATCH] fix(leads): put dev-team leads on Claude Opus, not MiniMax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #9 wired the entire dev-department to MiniMax-M2.7, including the six sub-team leads. Per the model-tiering directive (leads → Claude Opus subscription, ICs → MiniMax-M2.7), the leads must run `model: opus` (the anthropic-oauth entry in config.yaml's runtime_config.models — auth via CLAUDE_CODE_OAUTH_TOKEN, no base_url). Changed: dev-lead, app-lead, core-lead, cp-lead, infra-lead, sdk-lead. Unchanged: integration-tester, release-manager (ICs, stay on MiniMax); fullstack-engineer + triage-operator already `model: opus`. NB: molecule_runtime reads the MODEL_PROVIDER env var as the *picked model id* (misnomer), at higher precedence than this `model:` field. The deployed fix on the PC2 platform also sets per-workspace workspace_secrets MODEL_PROVIDER=opus + CLAUDE_CODE_OAUTH_TOKEN and blanks ANTHROPIC_AUTH_TOKEN/ANTHROPIC_BASE_URL (so the MiniMax-flavored global_secrets don't leak in). The operator-host lead persona env files (/etc/molecule-bootstrap/personas//env) still carry the stale MODEL_PROVIDER=claude-code (which made the claude CLI 404 on `--model claude-code`) and need the same correction out of band — they aren't tracked in any repo. Co-Authored-By: Claude Opus 4.7 (1M context) --- dev-lead/app-lead/workspace.yaml | 2 +- dev-lead/core-lead/workspace.yaml | 2 +- dev-lead/cp-lead/workspace.yaml | 2 +- dev-lead/infra-lead/workspace.yaml | 2 +- dev-lead/sdk-lead/workspace.yaml | 2 +- dev-lead/workspace.yaml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-lead/app-lead/workspace.yaml b/dev-lead/app-lead/workspace.yaml index 89921ba..5ba9c19 100644 --- a/dev-lead/app-lead/workspace.yaml +++ b/dev-lead/app-lead/workspace.yaml @@ -4,7 +4,7 @@ role: >- Leads App-FE, App-QA, Doc Specialist, Technical Writer. tier: 3 runtime: claude-code -model: MiniMax-M2.7 +model: opus parent: dev-lead files_dir: dev-lead/app-lead plugins: [molecule-skill-code-review, molecule-skill-llm-judge] diff --git a/dev-lead/core-lead/workspace.yaml b/dev-lead/core-lead/workspace.yaml index b694a55..8d015b5 100644 --- a/dev-lead/core-lead/workspace.yaml +++ b/dev-lead/core-lead/workspace.yaml @@ -4,7 +4,7 @@ role: >- Leads Core-BE, Core-FE, Core-QA, Core-Security, Core-UIUX, Core-DevOps, Core-OffSec. tier: 3 runtime: claude-code -model: MiniMax-M2.7 +model: opus parent: dev-lead files_dir: dev-lead/core-lead plugins: [molecule-skill-code-review, molecule-skill-llm-judge, molecule-compliance] diff --git a/dev-lead/cp-lead/workspace.yaml b/dev-lead/cp-lead/workspace.yaml index d8a558f..fba30a3 100644 --- a/dev-lead/cp-lead/workspace.yaml +++ b/dev-lead/cp-lead/workspace.yaml @@ -4,7 +4,7 @@ role: >- Triage+merge authority. Leads CP-BE, CP-QA, CP-Security. tier: 3 runtime: claude-code -model: MiniMax-M2.7 +model: opus parent: dev-lead files_dir: dev-lead/cp-lead plugins: [molecule-hitl, molecule-skill-code-review, molecule-security-scan, molecule-skill-llm-judge, molecule-compliance] diff --git a/dev-lead/infra-lead/workspace.yaml b/dev-lead/infra-lead/workspace.yaml index 4a36c5c..65ab01a 100644 --- a/dev-lead/infra-lead/workspace.yaml +++ b/dev-lead/infra-lead/workspace.yaml @@ -4,7 +4,7 @@ role: >- molecule-ci, molecule-ai/internal. Leads Infra-SRE, Infra-Runtime-BE. tier: 3 runtime: claude-code -model: MiniMax-M2.7 +model: opus parent: dev-lead files_dir: dev-lead/infra-lead plugins: [molecule-hitl, molecule-skill-code-review, molecule-freeze-scope] diff --git a/dev-lead/sdk-lead/workspace.yaml b/dev-lead/sdk-lead/workspace.yaml index 57bcee7..f5863fe 100644 --- a/dev-lead/sdk-lead/workspace.yaml +++ b/dev-lead/sdk-lead/workspace.yaml @@ -4,7 +4,7 @@ role: >- molecule-cli, all plugin repos. Leads SDK-Dev, Plugin-Dev. tier: 3 runtime: claude-code -model: MiniMax-M2.7 +model: opus parent: dev-lead files_dir: dev-lead/sdk-lead plugins: [molecule-skill-code-review, molecule-skill-llm-judge, molecule-compliance] diff --git a/dev-lead/workspace.yaml b/dev-lead/workspace.yaml index ef7a568..171d712 100644 --- a/dev-lead/workspace.yaml +++ b/dev-lead/workspace.yaml @@ -5,7 +5,7 @@ role: >- Manager, Integration Tester, and Fullstack (floater). tier: 3 runtime: claude-code -model: MiniMax-M2.7 +model: opus files_dir: dev-lead # Dev Lead enforces PR quality gates (see gate 2a in # .claude/skills/triage/SKILL.md) and reviews engineering output -- 2.45.2