Skip to content

fix(anthropic): add Fable 5 to Claude CLI catalog - #101453

Merged
steipete merged 7 commits into
openclaw:mainfrom
xialonglee:fix/gap-claude-cli-fable5-catalog
Jul 18, 2026
Merged

steipete merged 7 commits into
openclaw:mainfrom
xialonglee:fix/gap-claude-cli-fable5-catalog

Conversation

@xialonglee

@xialonglee xialonglee commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Anthropic's claude-fable-5 was supported by the direct Anthropic route but missing from OpenClaw's independently maintained Claude CLI selection and metadata surfaces. Users could not browse/select it consistently, and shorthand refs fell back to incorrect context budgeting.

Solution

  • Add claude-cli/claude-fable-5 to the Claude CLI setup allowlist and static manifest catalog.
  • Add fable, fable-5, and claude-fable-5 alias normalization.
  • Publish matching runtime/static metadata: 1M context, 128K output, text+image input, and the Fable 5 label.
  • Route Fable aliases through model-ref and context-budget canonicalization.
  • Include Claude CLI in the existing Fable 5 and Mythos 5 fixed-context rules.

The model limits match Anthropic's model overview, and the installed Claude CLI documents both fable and claude-fable-5 as valid --model selectors.

Behavior

openclaw models list --all --provider claude-cli now includes:

claude-cli/claude-fable-5  text+image  1000k

Bare and provider-qualified Fable aliases canonicalize to anthropic/claude-fable-5 for the Claude CLI runtime.

Evidence

  • Blacksmith Testbox tbx_01kxssbptwtvkpg3hykmh0a5v0: Anthropic migration/catalog and agent context suites — 141 passed.
  • Installed Claude CLI 2.1.209 live turn: claude --model claude-fable-5 ... -p returned exactly FABLE_OK.
  • Fresh maintainer-fixup autoreview: clean (patch is correct, 0.99).
  • Full build passed during repo-native prepare; git diff --check passed.

Risk

Bounded to Anthropic plugin-owned Claude CLI metadata, aliases, and existing context rules. No auth mechanism, credential storage, dependency, or provider protocol changes.

@clawsweeper

clawsweeper Bot commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 18, 2026, 1:25 AM ET / 05:25 UTC.

Summary
The branch adds Claude Fable 5 to the Anthropic plugin’s Claude CLI allowlist, aliases, runtime/static catalog metadata, fixed-context handling, and regression tests.

PR surface: Source +26, Tests +35. Total +61 across 9 files.

Reproducibility: yes. source inspection in the supplied PR material gives a clear path: compare Claude CLI catalog resolution for claude-fable-5 with the default 200K fallback and fixed-context resolver. The PR also supplies a real installed-CLI result and focused catalog/context test evidence, but this review did not execute that path locally.

Review metrics: none identified.

Stored data model
Persistent data-model change detected: vector/embedding metadata: extensions/anthropic/index.test.ts. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster
Relationship: canonical
Canonical: #101453
Summary: This PR is the active broader Fable 5 Claude CLI catalog fix; the related branches cover overlapping but distinct provider wrapper, context, effort, and Haiku catalog concerns.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🐚 platinum hermit
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Refresh the clean merge result against current main and confirm the focused catalog/context checks on that exact head.

Risk before merge

  • [P1] The PR is behind current main, so maintainers should refresh the merge result and re-check the Claude CLI catalog/context paths against the exact landing head before merging.

Maintainer options:

  1. Decide the mitigation before merge
    Rebase or refresh the clean merge result, retain the additive Anthropic-plugin catalog update, and land after the assigned reviewer confirms the exact current-main merge still preserves the tested Fable CLI metadata and context behavior.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Next step before merge

  • [P2] No mechanical repair remains on the final head; the assigned reviewer should refresh the merge result and perform ordinary landing review.

Security
Cleared: The supplied diff changes model metadata, aliases, and context rules only; it adds no dependency, credential, permission, workflow, artifact-download, or execution surface.

Review details

Best possible solution:

Rebase or refresh the clean merge result, retain the additive Anthropic-plugin catalog update, and land after the assigned reviewer confirms the exact current-main merge still preserves the tested Fable CLI metadata and context behavior.

Do we have a high-confidence way to reproduce the issue?

Yes, source inspection in the supplied PR material gives a clear path: compare Claude CLI catalog resolution for claude-fable-5 with the default 200K fallback and fixed-context resolver. The PR also supplies a real installed-CLI result and focused catalog/context test evidence, but this review did not execute that path locally.

Is this the best way to solve the issue?

Yes, the additive plugin-owned catalog, alias, and context updates are the narrowest way to align the existing Claude CLI route with its supported Fable selector. The remaining requirement is an exact-head merge refresh, not a competing implementation.

AGENTS.md: unclear because the file could not be read completely.

Codex review notes: model internal, reasoning high; reviewed against 923d92bdd0e3.

Label changes

Label changes:

  • remove merge-risk: 🚨 auth-provider: Current PR review selected no merge-risk labels.
  • remove merge-risk: 🚨 session-state: Current PR review selected no merge-risk labels.

Label justifications:

  • P2: This is a bounded provider-catalog and context-budgeting correction with limited blast radius, not an emergency runtime or security failure.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR provides an after-fix installed Claude CLI terminal result for claude-fable-5 and reports Testbox catalog/context validation; redact any account or endpoint details if further proof is posted.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR provides an after-fix installed Claude CLI terminal result for claude-fable-5 and reports Testbox catalog/context validation; redact any account or endpoint details if further proof is posted.
Evidence reviewed

PR surface:

Source +26, Tests +35. Total +61 across 9 files.

View PR surface stats
Area Files Added Removed Net
Source 6 30 4 +26
Tests 3 40 5 +35
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 9 70 9 +61

What I checked:

Likely related people:

  • steipete: Authored the final Fable output-limit fix on the current PR head, assigned the PR, and renamed it to its present scope. (role: recent final-head contributor and assigned reviewer; confidence: high; commits: 48870f4bebee; files: extensions/anthropic/cli-catalog.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Review history (16 earlier review cycles; latest 8 shown)
  • reviewed 2026-07-08T00:53:15.420Z sha 1d26a88eea20742aa6a384cb0312f3df144f4dcf :: needs maintainer review before merge. :: none
  • reviewed 2026-07-08T01:01:50.869Z sha 1d26a88eea20742aa6a384cb0312f3df144f4dcf :: needs maintainer review before merge. :: none
  • reviewed 2026-07-17T05:07:28.587Z sha f89dafc3685ddf0f2aa4ad5e096ac3d3ef829891 :: needs changes before merge. :: [P1] Map fable-5 to the family alias
  • reviewed 2026-07-17T09:43:05.230Z sha cc75ae9 :: needs changes before merge. :: [P1] Map fable-5 to the family alias
  • reviewed 2026-07-17T09:54:35.143Z sha cc75ae9 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-17T14:32:37.198Z sha c4cf7a6 :: needs changes before merge. :: [P2] Add Fable 5 to the runtime max-output map
  • reviewed 2026-07-17T15:14:37.649Z sha c4cf7a6 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-18T05:14:40.757Z sha 48870f4 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. labels Jul 7, 2026
@openclaw-barnacle openclaw-barnacle Bot added the agents Agent runtime and tooling label Jul 7, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jul 7, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Jul 8, 2026
@xialonglee
xialonglee force-pushed the fix/gap-claude-cli-fable5-catalog branch from 1d26a88 to f89dafc Compare July 17, 2026 05:00
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jul 17, 2026
xialonglee and others added 4 commits July 17, 2026 17:08
… and context window

CLI path was missing claude-fable-5 across all four metadata layers while
the direct Anthropic provider path in register.runtime.ts already had full
support via isAnthropicFable5Model() / resolveAnthropicFixedContextWindow().

- CLAUDE_CLI_DEFAULT_ALLOWLIST_REFS: add claude-cli/claude-fable-5
- CLAUDE_CLI_MODEL_ALIASES: add fable/fable-5/claude-fable-5 mappings
- CLAUDE_CLI_CONTEXT_WINDOWS: add claude-fable-5 -> 1_000_000 (was falling back to 200K)
- CLAUDE_CLI_MODEL_LABELS: add Claude Fable 5 (Claude CLI)
- resolveClaudeCliImageMediaInput: add fable-5 to 2576 max-side tier

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jul 17, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jul 17, 2026
@steipete steipete self-assigned this Jul 18, 2026
@steipete steipete changed the title fix(anthropic): add claude-fable-5 to CLI allowlist, aliases, labels, and context window fix(anthropic): add Fable 5 to Claude CLI catalog Jul 18, 2026
@openclaw-barnacle openclaw-barnacle Bot added triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. and removed triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. labels Jul 18, 2026
@clawsweeper clawsweeper Bot removed merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. labels Jul 18, 2026
@steipete
steipete merged commit 8931964 into openclaw:main Jul 18, 2026
139 of 143 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 18, 2026
* fix(anthropic): add claude-fable-5 to CLI allowlist, aliases, labels, and context window

CLI path was missing claude-fable-5 across all four metadata layers while
the direct Anthropic provider path in register.runtime.ts already had full
support via isAnthropicFable5Model() / resolveAnthropicFixedContextWindow().

- CLAUDE_CLI_DEFAULT_ALLOWLIST_REFS: add claude-cli/claude-fable-5
- CLAUDE_CLI_MODEL_ALIASES: add fable/fable-5/claude-fable-5 mappings
- CLAUDE_CLI_CONTEXT_WINDOWS: add claude-fable-5 -> 1_000_000 (was falling back to 200K)
- CLAUDE_CLI_MODEL_LABELS: add Claude Fable 5 (Claude CLI)
- resolveClaudeCliImageMediaInput: add fable-5 to 2576 max-side tier

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix(anthropic): route fable alias through context/model-ref canonicalization paths

* fix(agent): include claude-cli in fable-5/mythos-5 fixed context window resolution

* fix(anthropic): add claude-fable-5 to static CLI manifest catalog

* test(anthropic): cover fable-5 alias canonicalization in bare and provider-qualified forms

* style(anthropic): fix indentation in plugin manifest

* fix(anthropic): publish Fable CLI output limit

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
@xialonglee
xialonglee deleted the fix/gap-claude-cli-fable5-catalog branch July 18, 2026 09:04
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
* fix(anthropic): add claude-fable-5 to CLI allowlist, aliases, labels, and context window

CLI path was missing claude-fable-5 across all four metadata layers while
the direct Anthropic provider path in register.runtime.ts already had full
support via isAnthropicFable5Model() / resolveAnthropicFixedContextWindow().

- CLAUDE_CLI_DEFAULT_ALLOWLIST_REFS: add claude-cli/claude-fable-5
- CLAUDE_CLI_MODEL_ALIASES: add fable/fable-5/claude-fable-5 mappings
- CLAUDE_CLI_CONTEXT_WINDOWS: add claude-fable-5 -> 1_000_000 (was falling back to 200K)
- CLAUDE_CLI_MODEL_LABELS: add Claude Fable 5 (Claude CLI)
- resolveClaudeCliImageMediaInput: add fable-5 to 2576 max-side tier

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix(anthropic): route fable alias through context/model-ref canonicalization paths

* fix(agent): include claude-cli in fable-5/mythos-5 fixed context window resolution

* fix(anthropic): add claude-fable-5 to static CLI manifest catalog

* test(anthropic): cover fable-5 alias canonicalization in bare and provider-qualified forms

* style(anthropic): fix indentation in plugin manifest

* fix(anthropic): publish Fable CLI output limit

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling extensions: anthropic P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants