feat(models): add Fable orchestration/delegation policy - #6
Merged
Merged
Conversation
Add a Claude Code-scoped topic defining Fable as the orchestrator that delegates work to cheaper opus/sonnet worker agents via the Agent tool, with per-tier reasoning effort, task-type routing, and token rules. Place models.md first in TOPIC_FILES so it leads both the Claude @-imports and the Codex concatenation, and update the tests and README layout to match. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Summary
Adds a new
models.mdtopic that defines a model-delegation policy for Claude Code: treat the Fable session model as an orchestrator that spends its expensive tokens only on decomposition, judgment, and synthesis, and delegates real work to cheaperopus/sonnetworker agents via the Agent tool.The topic is placed first in
TOPIC_FILES, matching its "read first" framing, so it leads both the Claude@-imports in~/.claude/CLAUDE.mdand the concatenated Codex.agents/AGENTS.md.Contents of
models.mdopusas the default worker tier (preferringclaude-opus-4-8),sonnetas the cheap tier for low-risk rote work.Changes
models.md— new topic (Claude Code-scoped).Makefile—models.mdprepended toTOPIC_FILES, driving both generated outputs.README.md— installed-layout tree updated to listmodels.mdfirst.tests/apply.bats— the three hardcoded helpers (expected_claude,expected_agents,make_fixture_repo) updated to includemodels.mdfirst. These were needed because the default-TOPIC_FILEStests exercise the real Makefile.Test plan
make applyrenders both documents;~/.claude/CLAUDE.mdimportsmodels.mdas its first@-import and.agents/AGENTS.mdopens with the# Model delegationcontent.make test— the full Bats suite (13 tests) passes.🤖 Generated with Claude Code