- Add proper frontmatter to all emptied tier-specific agents
- Mark them as hidden subagents with deprecation notice
- Ensures they cannot be accessed as primary agents
- Completes the tier selector architecture migration
All deprecated agents now have:
mode: subagent
hidden: true
description: "This subagent should only be called manually by the user."
This prevents accidental usage of the deprecated agents while maintaining
the clean tier selector architecture where only 6 primary agents are
accessible to users.
- Update subtask-loop.md to use the new tier selector architecture
- Remove v2 references - we maintain only the latest version
- Effectively remove subtask-loop-v2.md (emptied for deletion)
- Keep single source of truth without version suffixes
The subtask-loop agent now uses the tier selector architecture
without any version references.
BREAKING CHANGE: New escalation architecture eliminates duplicate agent code
Key changes:
- Add tier selector agents (tier-haiku, tier-codex, tier-sonnet, tier-opus)
that set the model and invoke worker agents
- Create model-agnostic implementer.md that inherits model from caller
- Update unit-test-runner and typecheck-fixer to support escalation
- Add quality-gate-escalator to manage escalation for quality fixers
- Create subtask-loop-v2.md demonstrating the new architecture
- Document the new architecture in escalation-architecture-proposal.md
Benefits:
- Eliminates 90% code duplication across tier-specific agents
- Single source of truth for implementation logic
- Easy to add new tiers or modify escalation paths
- Consistent behavior across all model tiers
- Quality gate fixers now support full escalation starting from haiku
The architecture leverages the fact that agents without a model specification
inherit the model from their caller, allowing thin tier selectors to control
which model executes the actual work.