Design Proposal: claude-fable-5 kernel/orchestrator compatibility - #93
Draft
Michael J. Jabbour (michaeljabbour) wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Design Proposal:
claude-fable-5Kernel + Orchestrator CompatibilityStatus: Ready for discussion (no code changes)
Type: Design Proposal
Summary
This spec defines 12 additive, backward-compatible changes to support Anthropic's
claude-fable-5model class and similar adaptive-thinking models.Key Changes
Message.producer_model— First-class provenance field enabling the model-switch thinking-block strip rulefinish_reasonconsumption — Newprovider:refusalevent with a distinct "refused" terminal status (today a refusal silently ends as "incomplete")Scope
amplifier-core,amplifier-module-loop-streaming,amplifier-module-provider-anthropic, contract docsTechnical Highlights
complete())What This Delivers
✅ Refusals are now detectable (not silently invisible)
✅ Thinking-block signatures are protected across model switches
✅ Model provenance is traceable end-to-end
✅ Four independent bricks can be implemented/reviewed in parallel
What This Doesn't Do
❌ No automatic retry-on-another-model (that's policy — belongs in provider config or a hook)
❌ No streaming-path rewrite (known issue documented separately)
❌ No breaking changes to any existing API
How to Read This
Start at §1 (Design Decisions) to see the four bricks and why they're shaped this way.
§2-5 are the edits (exact file:line + diffs).
§7 is the testing strategy.
§8 explicitly calls out non-goals and why.
This is for discussion before any implementation PR. Please review the design decisions and suggest feedback.