Skip to content

Fable 5 prompt-layer refresh: fable routing pins + agent reduction - #270

Open
Michael J. Jabbour (michaeljabbour) wants to merge 2 commits into
mainfrom
fable5-prompt-layer-refresh
Open

Fable 5 prompt-layer refresh: fable routing pins + agent reduction#270
Michael J. Jabbour (michaeljabbour) wants to merge 2 commits into
mainfrom
fable5-prompt-layer-refresh

Conversation

@michaeljabbour

Copy link
Copy Markdown

Motivation

Anthropic's claude-fable-5 guidance: prompts written for weaker models are over-prescriptive and degrade output on newer models. Additionally, no existing provider_preferences wildcard (e.g., claude-opus-*/claude-sonnet-*) matched claude-fable-5, mechanically excluding it from all 15 agents.

Round 1: Prompt-Layer Refresh (commit cac56b1)

  • Added claude-fable-* as first provider preference in 15 agents (old pins kept as fallbacks)
  • Reductions: modular-builder.md 611→98 lines, zen-architect.md 424→77 lines
  • common-agent-base.md: deduplicated verbose sections + two fable-recommended one-liners added (scope discipline; never end turn on a promise)
  • Repaired corrupted merge splice in modular-builder.md

Round 2: Agent Reduction (commit a425df9)

  • Reduced remaining 13 agents: bug-hunter, ecosystem-expert, explorer, file-ops, foundation-expert, git-ops, integration-specialist, post-task-cleanup, security-guardian, session-analyst, shell-exec, test-coverage, web-research
  • Total reduction: 3,685 → 1,210 lines across 13 files (-67%)
  • Removed: rigid output templates, checklists, forbidden-phrase lists, generic code examples, duplicated @-mention blocks/warnings
  • Preserved: frontmatter, each agent's distinctive methodology, all safety protocols (git-ops destructive-command rules, session-analyst events.jsonl warnings, security-guardian severity taxonomy), repository-conventions-discovery sections, commit/PR format templates

Verification

  • Agent metadata tests green (24/24) after every file edit
  • 18 pre-existing full-suite failures confirmed unrelated (verified via stash on clean tree)

Summary

  • ~30 files total across both commits
  • ~3,400 lines deleted net
  • All distinctive agent methodology preserved
  • All safety guardrails intact

Reviewer callout: One judgment call in common-agent-base.md — of two near-duplicate defensive-security paragraphs, the fuller version (authorized CTF/pentest allowed) was kept over the terser 'defensive only' one. Please flag if the stricter wording was intentional policy.

Update all agents and common-agent-base.md to optimize for Anthropic's claude-fable-5 model.
Anthropic guidance indicates that prompts written for weaker models are often too prescriptive
and degrade output on stronger models. This refresh follows that guidance.

Changes:
- All 15 agents with provider_preferences now list `claude-fable-*` as first preference
  (existing opus/sonnet wildcards retained as fallbacks); previously no wildcard matched
  fable-5, mechanically excluding it from agent selection.
- modular-builder.md: 611 → 98 lines (removed duplicated templates, checklists, slogan
  lists, and duplicate @-mention block; agent contract preserved; footer @-mentions
  trimmed 7 → 3)
- zen-architect.md: 424 → 77 lines (removed 3 duplicated section templates, collapsed
  structure, trimmed footer @-mentions from 7 → 3)
- common-agent-base.md: 231 → 196 lines (removed duplicated defensive-security paragraph,
  collapsed redundant headers, added two fable-5-recommended one-liners on scope discipline
  and turn-ending clarity)
- Repaired corrupted merge splice in modular-builder.md
- Net diff: 60 insertions, 927 deletions
- Agent-metadata test suite: 24/24 passing (no contracts broken)

Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
…-2,475 lines)

Reduced bug-hunter, ecosystem-expert, explorer, file-ops, foundation-expert,
git-ops, integration-specialist, post-task-cleanup, security-guardian,
session-analyst, shell-exec, test-coverage, web-research from 3,685 to 1,210
total lines (-67%).

Removed: rigid output templates, checklists, forbidden-phrase lists, generic
code examples, duplicated @-mention blocks/warnings.

Preserved: frontmatter, each agent's distinctive methodology, all safety
protocols (git-ops destructive-command rules, session-analyst events.jsonl
warnings, security-guardian severity taxonomy), repository-conventions-discovery
sections, commit/PR format templates.

Agent-metadata tests green (24/24) after every file.

Generated with [Amplifier](https://github.com/microsoft/amplifier)

Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant