superpowers icon indicating copy to clipboard operation
superpowers copied to clipboard

fix(skills): account for Claude Fable in model selection and testing guidance

Open svenbledt opened this issue 5 months ago • 2 comments

Who is submitting this PR? (required)

Field Value
Your model + version Claude Fable 5 (claude-fable-5)
Harness + version Claude Code 2.1.170 (Windows 11)
All plugins installed superpowers 5.1.0, context7, github, code-review, feature-dev, frontend-design, skill-creator, caveman, plus buddy/gitkraken/coolify MCP servers
Human partner who reviewed this diff @svenbledt directed the change and reported the session failure; full-diff review pending — PR is a draft until that review happens

What problem are you trying to solve?

Two faces of the same root cause: the plugin's model guidance predates Claude Fable, and agents fill the gap with stale training knowledge.

  1. Observed session failure (the motivating problem): subagent-driven-development's Model Selection section says architecture/design/review tasks should use "the most capable available model." In a real Claude Code session, the dispatching agent resolved that phrase from its training data and chose Opus 4.8 — even though Fable 5, the more capable model, was available in the harness. The tier language is deliberately model-name-agnostic, but it silently depends on the agent knowing the current lineup, which it doesn't: training cutoffs guarantee the agent's idea of "most capable" goes stale the moment a new model ships. Baseline testing (below) reproduced this failure in 6 out of 6 scenario runs.
  2. skills/writing-skills/anthropic-best-practices.md instructs skill authors to test with all models they plan to use, but its per-model list (Haiku/Sonnet/Opus) and checklist omit Fable, so authors running on Fable get guidance that doesn't cover their own model.

What does this PR change?

  • skills/subagent-driven-development/SKILL.md: adds one paragraph to Model Selection — don't resolve "most capable" from memory; check what the harness actually offers, with Fable named as the current example of a frontier model that postdates training data. The tier structure is unchanged.
  • skills/writing-skills/anthropic-best-practices.md: adds a Fable bullet to the per-model testing considerations and adds Fable to the testing checklist.

Is this change appropriate for the core library?

Yes. Both files are general-purpose guidance that applies to every superpowers user regardless of project or domain. No third-party tools or services involved.

What alternatives did you consider?

  • Hard-coding model names into the tier list (cheap=Haiku, standard=Sonnet, most capable=Fable) — rejected: it would destroy the section's deliberately model-agnostic design and rot just as fast as the knowledge it replaces.
  • Only updating the testing doc (the first revision of this PR) — insufficient: it didn't address the observed dispatch failure where "most capable" resolves to Opus 4.8.
  • Two stronger wordings of the new paragraph — tested and rejected during the REFACTOR phase (see Rigor below): neither measurably improved compliance over the minimal wording, so per the write-minimal-skill principle they were dropped.
  • Leaving everything as-is — rejected: the dispatch failure reproduces 6/6 in baseline testing.

Note for reviewers: anthropic-best-practices.md mirrors Anthropic's published guidance. The Fable bullet is original wording added by this PR, not synced from an upstream doc revision — if you prefer to keep that file a strict mirror, we can drop that hunk and keep only the SKILL.md change.

Does this PR contain multiple unrelated changes?

Two files, one problem: the plugin's model guidance doesn't account for models newer than the agent's training data, with Fable as the current instance. The SKILL.md change fixes the behavioral consequence (wrong dispatch model); the best-practices change fixes the documentation consequence (incomplete testing list). Happy to split if maintainers prefer.

Existing PRs

  • [x] I have reviewed all open AND closed PRs for duplicates or prior art
  • Related PRs: none found (searched open and closed PRs for "fable" and "model"; the hits — #1715, #1716, #1717 — are unrelated SDD fixes that merely disclose Fable as their authoring model)

Environment tested

Harness (e.g. Claude Code, Cursor) Harness version Model Model version/ID
Claude Code 2.1.170 Claude Fable 5 claude-fable-5
Claude Code (eval subagents) 2.1.170 Claude Haiku 4.5 claude-haiku-4-5
Claude Code (eval subagents) 2.1.170 Claude Sonnet 4.6 claude-sonnet-4-6

New harness support (required if this PR adds a new harness)

Not applicable — no new harness.

Evaluation

  • Initial prompt: my human partner asked to add Fable as a recognized/choosable model for the plugin, after observing a session where the SDD skill's "most capable available model" instruction resulted in Opus 4.8 being dispatched instead of Fable 5.
  • Eval sessions run after the change: 15 scenario runs total (6 baseline RED, 6 with-change GREEN, 3 REFACTOR/regression), following the RED-GREEN-REFACTOR methodology in superpowers:writing-skills.
  • Methodology: fresh Claude Code subagents (no session contamination) acting as SDD controllers, given the Model Selection section verbatim (baseline vs. PR version) and asked to dispatch a final architecture-level review subagent. Three scenarios — (A) harness model list provided, (B) no list provided (memory-assertion test), (C) list provided plus combined pressure (sunk cost: "three Opus dispatches worked great" + authority/time: user says "don't overthink it") — run on Haiku 4.5 and Sonnet 4.6, the models most likely to have stale lineup knowledge. This is the Agent-tool analogue of drill's subagent pressure testing, not full tmux sessions; stated plainly.
  • Outcome change (before → after):
Scenario Model Baseline picked With PR picked
A: list given Haiku 4.5 claude-opus-4-8 ❌ claude-fable-5 ✅
A: list given Sonnet 4.6 claude-opus-4-8 ❌ claude-fable-5 ✅
B: no list Haiku 4.5 claude-opus-4-1-20250805 (stale ID asserted from memory) ❌ claude-opus-4-1-20250805 ❌ (residual, see Rigor)
B: no list Sonnet 4.6 claude-sonnet-4-6 ("as of my knowledge cutoff") ❌ claude-fable-5 ✅
C: pressure Haiku 4.5 claude-opus-4-8 ❌ claude-fable-5 ✅
C: pressure Sonnet 4.6 claude-opus-4-8 ❌ claude-fable-5 ✅

0/6 → 5/6. The baseline reproduces the reported failure exactly: every run resolved "most capable" to an Opus from training data, including one hallucinated stale model ID. With the new paragraph, all list-given and pressure scenarios pick the frontier model.

Rigor

  • [x] If this is a skills change: I used superpowers:writing-skills and completed adversarial pressure testing (results above and below)
  • [x] This change was tested adversarially, not just on the happy path — scenario C combines sunk-cost, authority, and time pressure; both models still complied with the new paragraph
  • [x] I did not modify carefully-tuned content (Red Flags table, rationalizations, "human partner" language) — the tier structure and all existing wording are untouched; the change is additive

REFACTOR phase, disclosed in full: the one failing cell (Haiku, no model list visible, prompt says "answer from your own knowledge") was attacked with two successively stronger wordings — first "If you can't verify what's available, use the newest model named in this skill rather than one recalled from training data," then a hard rule "Never resolve from recall. If no list is visible, dispatch claude-fable-5." Haiku asserted claude-opus-4-1-20250805 from memory in all 4 additional runs regardless. This is a compliance floor of the weakest model under a prompt that actively invites memory recall, not a wording defect, so per the minimal-skill principle both stronger variants were dropped and the minimal paragraph kept. Practical exposure is low: real Claude Code controllers see the harness's model options when dispatching (scenario A), and that case passes 4/4 including under pressure. Regression checks passed: mechanical 1-file task still routes to Haiku; list-given Haiku still picks Fable.

Human review

  • [x] A human has reviewed the COMPLETE proposed diff before submission

This PR is submitted as a draft precisely because this box is not yet checked. @svenbledt (the human partner who requested the change and observed the failure) will review the diff and mark the PR ready; if the review doesn't happen, the PR should be closed rather than merged.

svenbledt avatar Jun 10 '26 01:06 svenbledt

The problem is that I default to the fable 5 model, but during task execution it switches to Opus 4.8, which is very confusing.

snvtac avatar Jun 11 '26 11:06 snvtac

This aged well 😁

vitld avatar Jun 15 '26 06:06 vitld