claude-profile: remove provider-yaml system, embed model config in profiles

Provider selection phase removed; Anthropic driver→model_id is now
hardcoded in the script and non-Anthropic profiles supply provider.env
(MODEL_ID, ANTHROPIC_BASE_URL, ANTHROPIC_API_KEY_FILE).

Test suite baseline changes 58 → 41 assertions: the 17 dropped
assertions covered the removed provider-yaml selection phase, not
retained behaviour.

Includes refactor-derived memory: decisions (provider architecture,
driver enforcement via --model), bash gotchas (read -rp under set -e,
never eval user config), process lessons.
This commit is contained in:
Paul O'Reilly
2026-06-12 21:26:07 +12:00
parent c0a2110ee6
commit 9e13b7f096
16 changed files with 271 additions and 398 deletions

View File

@@ -2,4 +2,4 @@
<!-- Thin index — one-line entries linking to context/ detail files -->
- [claude-profile engagement modes](context/claude-profile-modes.md) — Core done (picker, statusline integration, session-start auto-select); needs symlink install + first real `claude` launch test before v1 is declared complete
- [claude-profile engagement modes](context/claude-profile-modes.md) — Provider selection removed, model config embedded in profiles. Needs symlink install + first real `claude` launch test (both Anthropic and MiniMax profiles) before v1 is declared complete