claude-profile: bump opus to 4.8, add fable driver

- driver_model_id(): opus -> claude-opus-4-8, opus-1m -> claude-opus-4-8[1m]
- driver_model_id(): add fable -> claude-fable-5
- error message updated: Valid: haiku sonnet opus opus-1m fable
- spec: driver->model table updated (opus 4.8, fable added); frontmatter
  driver enum includes fable; note that opus-1m retained for [1m] convention
- tests: add Test 13 (deep-fable dryrun asserting claude-fable-5);
  add Test 14 (unknown driver exits 1) — 47 assertions total
  Note: deep-fable mode file lands in the next commit
This commit is contained in:
Paul O'Reilly
2026-06-12 21:33:58 +12:00
parent 9e13b7f096
commit 16586541ea
3 changed files with 66 additions and 7 deletions

View File

@@ -36,9 +36,10 @@ driver_model_id() {
case "$1" in
haiku) echo "claude-haiku-4-5-20251001" ;;
sonnet) echo "claude-sonnet-4-6" ;;
opus) echo "claude-opus-4-6" ;;
opus-1m) echo "claude-opus-4-6[1m]" ;;
*) err "Unknown driver '$1'. Valid: haiku sonnet opus opus-1m" ;;
opus) echo "claude-opus-4-8" ;;
opus-1m) echo "claude-opus-4-8[1m]" ;;
fable) echo "claude-fable-5" ;;
*) err "Unknown driver '$1'. Valid: haiku sonnet opus opus-1m fable" ;;
esac
}