Model-Selection Policy¶
The project manager reads this page when it gives a task its model. For each use case it names
the models to prefer, in order, which the project manager sets as the task's preferred_models.
The task's size tier (junior-developer → small, developer → medium, senior-developer
→ large) is always set as well, in model. When none of the preferred models has capacity, the
task runs on that tier (ADR-0014).
Every rule below has an Evidence section. Where the evidence does not single out a model, the rule says so and keeps the size tier. This is the default policy. A project can override or extend it with its own file; see Per-project overrides.
Researched on 2026-10-12 (Taskbase task #841, epic #53).
Rules¶
Model names are runner model ids, as Taskbase records them on runs. The first column is the rule's use-case id: a stable slug that a project's override file uses to override a rule, and that the project manager cites in the task ("Model policy: visual-content (default)"). Ids are never renamed or reused; a rule that is dropped keeps its id, with "size tier only".
| Id | Use case | How to recognise it in the task text | Preferred models, in order | Fallback | Evidence |
|---|---|---|---|---|---|
visual-content |
Visual content | The deliverable is a visual asset: a logo, icon, illustration, image, favicon, graphic or other artwork. This includes assets drawn as code (SVG, CSS). | gpt-6.2-astra, then gpt-6.2-sol |
Size tier | E1 |
ui-design |
UI/UX and design | Screens, layouts, components, styling, a design system, responsive or mobile views, or "make it look good". | claude-opus-5-5, then gpt-6.2-astra |
Size tier | E2 |
investigation |
Investigation and debugging | A bug with an unknown cause, "investigate", "find out why", a proposal or decision options, or measurements before building. | claude-opus-5-5 |
Size tier | E3 |
hard-implementation |
Hard or cross-repository implementation | senior-developer work: several components or repositories, concurrency, security, data migrations. |
claude-opus-5-5 |
Size tier | E3 |
implementation |
Ordinary implementation | developer work: a feature, fix, refactor, tests, configuration or manifests whose approach is already settled. |
claude-opus-5-5 |
Size tier | E3 |
documentation |
Writing and documentation | Docs pages, ADRs, READMEs, runbooks, persona text, release notes. | claude-opus-5-5 |
Size tier | E4 |
small-change |
Small mechanical change | junior-developer work: a version bump, a config value, a wording fix, a one-file fix with a known cause. |
No named model | Size tier | E5 |
code-review |
Code review | Review runs. Taskbase starts these itself; the project manager does not assign them. | No named model | Runner default | E6 |
planning |
Planning | Tasks for project-manager, and request-builder sessions. |
No named model | Size tier | E7 |
Persona, size and effort are set on every task as before. The size tier is always set, and a
named model never replaces it: preferred models go in preferred_models, the tier stays in model.
Which rule applies¶
Give each task exactly one rule:
- If a task mixes use cases, split it when the parts can be delivered separately, as with "a design system and a logo".
- If a rule in the project's override file matches, it wins over every default rule.
- If several new rules of the project file match, the more specific one wins. Say in the task which one you picked and why.
- Otherwise, use the first matching default rule, from the top of the table down.
With no matching rule, set no preferred models; the task runs on its size tier.
Capacity¶
- The size tier is always set, and it is the capacity fallback. If none of the preferred models is available, the task runs on its size tier. That covers a subscription or provider at capacity, a held adapter, and no runner offering the model. Capacity changes after a task is assigned, so the project manager does not check it. Taskbase decides when the task is claimed:
- a runner that offers a preferred model on an unheld subscription runs the first one it offers;
- else the runner leaves the task while another runner that could take it has a preferred model unheld;
- else the task runs on its tier.
Busy slots do not count as "no capacity": a task waits for a free slot on a runner with a
preferred model, as any task waits for a slot. See
Preferred models for the full rule,
escalation and reviews.
- Never pin a model id in model to apply this policy. A task whose model is a model id has
no fallback and waits while that model's subscription is held
(Runner models). Taskbase refuses
preferred_models beside a model id.
- Reviews run on the project's review model and ignore preferred models, so
code-review names none.
Per-project overrides¶
A project overrides or extends this default policy with the file .taskbase/model-policy.md on
the default branch of its own repository (the repository linked to the Taskbase project). A
project without a repository, or without the file, uses this page unchanged. Changes to the file go
through a pull request, like any other change.
Merge rules¶
The project file has a rules table like the one in Rules, with the use-case id in the first column. The preferred-models column holds model ids in order (at most 3), or "size tier only"; the other columns are free text for the project manager to read. Rules are merged by id:
- The same id overrides. A project rule with an id from this page replaces that default rule entirely: its recognition text and its preferred models.
- A new id extends. A project rule with an id this page does not have adds a use case.
- "Size tier only" switches a rule off. A project rule whose preferred models say "size tier only" turns that use case's preference off: matching tasks get their tier and no preferred models.
- Rules the project file does not name apply unchanged.
- There is no whole-document replace. A project that wants none of the defaults names each one with "size tier only", which keeps the decision visible.
Which rule applies to a task when several match is set out in Which rule applies. The size tier is never part of a rule; it always comes from the persona and is always set.
Example file¶
# Model-selection policy: Skatzi Shop
Overrides the default policy (Skatzi/platform, model-selection-policy.md).
| Id | Use case | How to recognise it in the task text | Preferred models, in order | Why |
|---|---|---|---|---|
| `visual-content` | **Visual content** | Icons, banners and other brand artwork, drawn as SVG or CSS. | `claude-opus-5-5`, then `gpt-6.2-astra` | Our brand kit is CSS-heavy; Opus matched it better in review. |
| `ui-design` | **UI/UX and design** | Screens, layouts, components and styling. | size tier only | Our design system is settled; the tier is enough. |
| `checkout-flow` | **Checkout and payments** | Changes to the cart, checkout or payment provider code. | `claude-opus-5-5` | Payment bugs are costly; use the strongest model. |
Here visual-content overrides the default rule, ui-design is switched off, and checkout-flow
is new. A checkout task that also adds an icon matches visual-content and checkout-flow, both
project rules; the more specific one wins, and the project manager says which one it picked.
How the project manager gets the policy¶
Taskbase serves both files through the MCP tool get_model_policy(project_id) (REST:
GET /api/projects/{id}/model-policy): this page as default, and the project file as project
(null when there is none), each with its repository, path, blob SHA and text. Taskbase caches each
file for 5 minutes, so a merged change to either file reaches the project manager within 5
minutes. If Gitea cannot be read, the last copy is returned marked stale: true. If there is no
copy, the call fails and the project manager sets tiers only, never guessing a model. See
MCP Server.
Models our runners offer¶
list_runners is not available to agents during a run, so this inventory comes from the models
Taskbase recorded on runs in organization 2 up to 2026-10-12 (get_usage, group_by: model), and
from the runner config in this repository. Each runner maps tiers to models itself, and its owners
can change that mapping on the Runners page
(Runner models). The tiers below are examples,
not guarantees.
| Model id | Provider | Adapter / subscription | Tiers seen | Runs recorded |
|---|---|---|---|---|
claude-haiku-4-5 |
Anthropic | claude (Claude Code) |
small (ADR-0006 example config) |
48 implementation |
claude-sonnet-5 |
Anthropic | claude |
medium (ADR-0006 example) |
60 implementation, 57 review, 6 session |
claude-opus-5-5 |
Anthropic | claude |
large; medium and large on some runners (Runner models example) |
213 implementation, 207 review |
claude-fable-5-1 |
Anthropic | claude |
none seen (used by tasks that name it) | 2 implementation |
gpt-6-luna |
OpenAI | codex (Codex CLI, ChatGPT login) |
small (cluster/hetzner-mgmt/agent-runners/emilia-container-agent/helm-release.yaml) |
11 implementation |
gpt-6-sol |
OpenAI | codex |
medium and large (same file) |
80 implementation, 85 review |
gpt-6-astra |
OpenAI | codex |
none seen (used by tasks that name it) | 2 implementation, none succeeded and no usage reported |
The subscription is the adapter name unless a runner sets one (ADR-0006).
The providers' current lineups are newer than some of these ids. Anthropic lists
claude-sonnet-5-5 and claude-haiku-5-5, and OpenAI lists gpt-6.1-sol. The runners don't offer
any of these. See E3 for how much that
matters.
Since 2026-11-18 (task #3383) the Codex runners on hetzner-mgmt map medium and large to
gpt-6.2-sol (Sol 6.2), and the rules above name gpt-6.2-astra (Astra 6.2) and gpt-6.2-sol.
The run counts and the evidence below are for the older gpt-6-sol and gpt-6-astra.
Evidence¶
Sources¶
All accessed 2026-10-12.
- Taskbase effectiveness (TB):
get_model_effectiveness, organization 2,group_by: model. Data is available from about 2026-09-12 to 2026-10-12. Tasks are grouped by the model of their first successful implementation run; "approval" means approval at the first review. Run counts come fromget_usage,group_by: model,role. - Terminal-Bench 4.0 (TB4): https://www.tbench.ai/leaderboard. Agentic terminal tasks, run in
the vendor's own harness (Claude Code / Codex), resolution rate ± 95% CI, at
maxeffort. - Arena (LMArena): https://arena.ai/leaderboard. Human-preference Elo, ± CI, at the listed effort. WebDev overall and Brand & Marketing, Image-to-WebDev, Vision, Text, and Agent.
- Provider docs: Anthropic, Models overview (https://platform.claude.com/docs/en/models/overview). OpenAI, Models, GPT-6 Astra and GPT-6 Sol (https://developers.openai.com/api/docs/models). Codex CLI (https://learn.chatgpt.com/docs/codex/cli).
Limits that apply to every rule¶
- TB is observational. Models did not get comparable tasks.
claude-opus-5-5carries most of the work, and most of its tasks had a predecessor digest. Some runners mapgpt-6-soltolarge, so it also received hard tasks. Small samples are marked with n. - Codex runs report no cost. Cost figures for
gpt-6-*are partial or missing. Codex also counts tokens differently: one turn per run, and most input is fresh rather than cached. Compare approval rates, not tokens, across providers. - The public benchmarks use other harnesses and higher effort. They run at
maxorxhigheffort and with their own prompts, not our personas. Arena scores are preferences, not correctness. - No public benchmark covers
claude-haiku-4-5orclaude-sonnet-5on agentic coding at the current version.claude-sonnet-5appears on TB4.claude-haiku-4-5only appears on Arena.
E1: Visual content¶
Rule: gpt-6.2-astra, then gpt-6.2-sol, then the size tier. This is the owner's confirmed rule
(request #836, 2026-10-12), which the evidence below supports.
- Arena WebDev Brand & Marketing (sites where brand visuals matter):
gpt-6-astra1750 ± 20 vsgpt-6-sol1664 ± 22. Astra is clearly ahead of Sol. - Arena Image-to-WebDev (building from a design image):
gpt-6-astra1731 ± 13 vsgpt-6-sol1661 ± 13. - Arena Vision (understanding images):
gpt-6-astra1286 ± 11 andclaude-opus-5-51293 ± 13 are within each other's CI. Vision does not separate our models. - OpenAI calls GPT-6 Astra "our most capable model for the most demanding work", and Sol "built for complex coding and agentic workflows".
- TB: no usable data.
gpt-6-astrahas 2 implementation runs, none succeeded, and no usage was reported (n = 2).
Limits:
- Both coding agents take images as input only. The Codex CLI docs describe
--imagefor passing in a design reference. Raster image generation needs a dedicated image model, such as OpenAI's GPT-Image, which no runner offers. Visual tasks therefore deliver vector or code assets (SVG, CSS), or work from images a person supplies. - On Brand & Marketing,
claude-opus-5-5scores 1800 ± 27, just above Astra, and on Image-to-WebDev the two are tied. The confirmed rule does not include Opus. Revisit this once Astra has TB data.
Revisit when gpt-6-astra has at least 5 reviewed visual tasks in TB, or when a runner offers
gpt-6.1-sol. Also revisit by 2027-01-12.
E2: UI/UX and design¶
Rule: claude-opus-5-5, then gpt-6.2-astra, then the size tier.
- Arena WebDev overall:
claude-opus-5-51813 ± 15,gpt-6-astra1786 ± 11,gpt-6-sol1688 ± 12,gpt-6-luna1581 ± 7,claude-sonnet-51541 ± 6. Opus and Astra lead our models, and their intervals barely meet. All the others are clearly behind. - Arena Image-to-WebDev:
claude-opus-5-51749 ± 30,gpt-6-astra1731 ± 13. Both share rank 5, ahead ofgpt-6-solat 1661 ± 13. - TB:
claude-opus-5-5has 87.7% first-review approval across all implementation (135 of 154 tasks). TB has no separate UI category.
Limits: Arena measures one-shot generation of web apps, not changes to an existing UI codebase. The order of Opus and Astra rests on a small Arena margin together with Opus's TB record. Astra has no TB data.
Revisit with E1, or when TB can be filtered by project or label for UI work.
E3: Code implementation, investigation and debugging¶
Rule: claude-opus-5-5, then the size tier. This covers investigation, hard-implementation
and implementation.
- TB, first-review approval by model:
claude-opus-5-587.7% (135/154).claude-sonnet-546.9% (15/32).gpt-6-sol25.8% (8/31).claude-haiku-4-533.3% (6/18).gpt-6-luna42.9% (3/7).claude-fable-5-10/1. - TB, review rounds per task: Opus 1.14, Sonnet 1.60, Sol 2.03.
- TB, cost per task: Opus $2.48 and Sonnet $2.73. Sonnet's rework costs more than Opus's higher price.
- TB4: Opus 5.5 64.8% ± 3.1, GPT-6 Astra 58.2% ± 2.8, Fable 5.1 57.9% ± 3.8, GPT-6 Sol 49.4% ± 3.2, GPT-6 Luna 16.4% ± 2.7, Sonnet 5 12.4% ± 3.1.
- Arena Agent "Best Overall": Opus 5.5 (Max) 15.53%, GPT-6 Astra (Max) 13.09%, Fable 5.1 (Max) 12.66%.
- Anthropic recommends Fable 5.1 for "demanding reasoning and long-horizon agentic work". However,
Fable is not ahead of Opus on TB4, and in TB it has one task at $13.45. The evidence does not
support preferring
claude-fable-5-1for hard work. - Astra is second on both public benchmarks. It is not listed as a second choice here because TB has no completed Astra task. Add it after it has some.
Limits:
- TB is confounded by task mix and timing; see Limits that apply to every rule. The gap is large and points the same way as TB4, so it is unlikely to be only a mix effect.
- Investigation and debugging have no separate TB category. TB4's tasks are terminal debugging and system work, which is the closest public measure.
- Providers have newer models than the runners offer:
claude-sonnet-5-5scores 61.8% ± 2.9 on TB4 andgpt-6.1-sol58.2% ± 3.1. Neither has TB data. This rule describes the models we have, not the market.
Revisit when a runner adds a model in the table above, when any model other than Opus has 20 or more reviewed tasks in TB, or by 2027-01-12.
E4: Writing and documentation¶
Rule: claude-opus-5-5, then the size tier.
- TB, project Platform (
Skatzi/platform, almost only docs and ADRs):claude-opus-5-581.8% first-review approval (36/44, $1.63 per task).claude-sonnet-511.1% (1/9, $2.70).claude-haiku-4-50/3.gpt-6-sol0/3.gpt-6-luna½. - Arena Text:
claude-opus-5-51507 ± 8,claude-fable-5-11501 ± 6,gpt-6-astra1475 ± 7,claude-sonnet-51461 ± 4,gpt-6-sol1456 ± 7,gpt-6-luna1443 ± 5,claude-haiku-4-51414 ± 2.
Limits: Our docs tasks are graded on matching the code they describe, not only on prose, which Arena Text does not measure. Opus and Fable overlap on Arena Text, and Fable has no TB docs data.
Revisit with E3.
E5: Small mechanical changes¶
Rule: no named model; the size tier.
- TB by tier:
smallreaches 42.9% first-review approval (12/28) and 3.6 runs per task.mediumreaches 77.1% (118/153) and 2.5 runs per task. The small modelsclaude-haiku-4-5(6/18) andgpt-6-luna(3/7) do not differ by more than their samples allow. - The
junior-developerpersona reaches 66.7% (8/12) when its task runs on any model. Too few of its tasks ran on any one model to compare models.
Finding: neither small model is better than the other, so this policy names neither. The weak
small-tier record suggests that sizing junior work as medium may be cheaper overall, because a
rework round costs more than the larger model. That is a sizing decision, not a model choice, so
it is left to the owner and the project-manager persona.
Revisit when either small model has 20 or more reviewed tasks.
E6: Code review¶
Rule: no named model. Review runs use the reviewer persona's model, which is unset, so the runner's default is used.
- TB records whether reviews ran: Opus 207 review runs, all succeeded.
gpt-6-sol85, all succeeded.claude-sonnet-557, of which 51 succeeded. TB does not record review quality, such as defects a review missed. - None of the public benchmarks consulted measures pull-request review for these models.
Limits: without a quality measure, the evidence cannot pick a winner.
Revisit when Taskbase can measure review quality, for example through defects found after an approved merge.
E7: Planning¶
Rule: no named model; the size tier. The project-manager default is medium and the
request-builder default is small.
- TB:
project-managerhas 2 tasks with implementation runs andrequest-builderhas 1 session (claude-sonnet-5). That is too few to compare. - None of the public benchmarks consulted measures task planning or requirements elicitation.
Revisit when either persona has 20 or more measured tasks or sessions.
Maintaining this page¶
- Update a rule only with new evidence, and record its sources and dates in its Evidence section.
- Re-run the TB queries in Sources and check the public leaderboards at each revisit date, and whenever a runner adds or drops a model.
- Keep each rule's use-case id. Project files override rules by id, so renaming an id silently turns a project's override into a new rule. To drop a default rule, keep its id with "size tier only".