130. Harnesses declare the models and efforts they support
Date: 2026-10-01
Status
Accepted
Context
A harness author knows which models and efforts their agent works with, and the deciding sessions and their personas are not meant to run on a weak model (#6527). Nothing lets the author say so: a flag, a FULLSEND_* variable, the agent's agents: entry (ADR 0091) or an overlay (ADR 0112) may pick any model. When a model is not served, the fallback chain comes only from FULLSEND_FALLBACK_MODELS, which the harness cannot set (#6964, agents#1225).
Options
- A model catalog with ranked tiers and a floor on protected harnesses, rejected: fullsend would have to rank every model and keep that ranking current.
- The harness lists what it supports, chosen: the author decides what is good enough for their agent.
Decision
- Declaration. A harness may declare
models:, an ordered list, andefforts:, a set. A child composed throughbase:inherits them unless it declares its own. An overlay may set them only to a subset of the top-level values, so it can narrow the lists but never widen them. - Enforcement. When declared, the resolved model must be in
models, and the resolved effort, when one resolves, inefforts, whichever source chose them; any other choice fails the run before the sandbox exists, and the error names that source. A flag,FULLSEND_*variable,agents:entry or reposubagentsentry is checked against the top-level lists; lists an overlay narrowed bound only overlay-chosen values, including harnesssubagents, the default and the fallback chain. Persona models from frontmatter or the repo'ssubagentsare checked against the top-levelmodels. On a runtime that resolves personas, every persona's resolved model (ADR 0104) must also be inmodels, checked at Bootstrap, before the agent starts. When no source sets a model, the run uses the first entry. A consumer who needs another model composes on the harness and declares its own list. - Fallback. When
modelsis declared, the fallback chain for the agent's model and for each persona's model is the entries after that model in the top-level list, in order, filtered to any list an overlay narrowed. For the agent's model, a setFULLSEND_FALLBACK_MODELS, filtered to the list, replaces that chain unless the filter leaves it empty; the resolution trace records the entries it dropped. - Built-in deciding agents.
triage,prioritizeandreviewdeclaremodelsandeffortsthat hold only values suited to a deciding session.
Consequences
- Harness authors, not fullsend, decide which models are good enough; fullsend keeps no model ranking.
- This narrows ADR 0091 and ADR 0104 for harnesses that declare a list: a flag, a
FULLSEND_*variable, the agent'sagents:entry or a repo'ssubagentsentry naming a model outside it fails the run instead of applying, and harnesses without a list keep today's behaviour. - Repos that pin
triage,prioritizeorreviewto a model outside the built-in list, through any of those sources, start failing until they choose a listed model or compose their own harness. - A harness that declares a list must include the models its personas' frontmatter names, or those personas fail the run by default.
- #6527's protection is a default, not a wall: a child may replace the list, which shows up in review, and the persona check and persona fallback reach only runtimes that resolve personas (pi today, not yet Claude Code).
