feat(launcher): ORCH-074 drop dead frontmatter model + validate model name (never-break) #79

Merged
admin merged 8 commits from feature/ORCH-074-orch-52a-frontmatter-routing-e into main 2026-06-08 22:11:20 +03:00
Owner

ORCH-52a / ORCH-074. G1: убран мёртвый model: из 6 .openclaw/agents/*.md. G2: is_valid_model() валидация имени модели перед --model (never-break, откат на default). G3 routing НЕ включён (всё на opus-4-8 по решению Славы). Эффорт не тронут. pytest зелёный.

ORCH-52a / ORCH-074. G1: убран мёртвый model: из 6 .openclaw/agents/*.md. G2: is_valid_model() валидация имени модели перед --model (never-break, откат на default). G3 routing НЕ включён (всё на opus-4-8 по решению Славы). Эффорт не тронут. pytest зелёный.
admin added 8 commits 2026-06-08 22:09:34 +03:00
G1: remove the dead `model:` line from all 6 .openclaw/agents/*.md prompts —
launcher never read it; config (agent_model_*) is the single source of truth.

G2: add is_valid_model helper (format check ^claude-…$) applied inside
resolve_agent_model's resolution cascade and at the inline --fallback-model
read in _spawn. An invalid name is logged and skipped to the next valid level
(in the limit: no --model flag), never passed to the CLI, never raises. Format
check chosen over an allowlist for forward-compatibility (ADR-001).

G3 (routing) and G4 (fallback) intentionally NOT enabled — all agents stay on
claude-opus-4-8; agent_fallback_model stays "".

Docs (golden source) updated in the same change: README model/effort table +
validation, CLAUDE.md, .env.example (ORCH_AGENT_MODEL_*/EFFORT_*/FALLBACK_MODEL),
CHANGELOG. Tests: test_agent_frontmatter_no_model.py (G1), extended
test_resolve_agent_model.py (G2 never-break).

Refs: ORCH-074
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
tester(ET): auto-commit from tester run_id=397
All checks were successful
CI / test (push) Successful in 29s
ea094f5922
deploy(ORCH-036): finalize SUCCESS for ORCH-074
All checks were successful
CI / test (push) Successful in 27s
CI / test (pull_request) Successful in 24s
b371b6d940
admin merged commit a091a2d999 into main 2026-06-08 22:11:20 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/orchestrator#79