ci / check (push) Canceled after 0s
From an independent review of the round. Spec and CLI together. - A scheduled prompt for a session open in a terminal is judged, then refused (data.reason terminal) instead of being passed to the terminal as a person's turn on the terminal's model. - A schedule's session keeps its model with it: opened from the store again — or in a terminal — it is on the model it had, and stays a schedule's session there (nothing in it becomes the directory's model). - On a refused scheduled turn nothing about the session is changed; a command's interactive-only model in one is the same -32602 with its reason. In a schedule's session a turn a job wakes, and a subagent started with no person's turn running, are still scheduled work. - A rerouted title or summary is counted under the model that was asked and that model is named; a model that cannot take a summary (window too small, no tools) is nowhere to go. - A borrowed model is given back with returnModel, so a command whose model is the session's own leaves nothing borrowed. What is remembered goes through records(), the rule the conformance cases test; a change of model inside a turn the harness started is not remembered. - models.json: a directory's time is refreshed as it is used; a write stats nothing, and gone directories are dropped apart from any turn. - lembas run with no terminal says the way forward, in the refusal and in --help. - Permission rules: a rule written again (the same permission and pattern, later) sets the earlier one aside, as a narrower one does. Cases pin it. - Conformance and the examples use made-up model names. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
415 lines
10 KiB
JSON
415 lines
10 KiB
JSON
{
|
|
"about": "Spec 3.9.0 (interactive.md): interactive-only models. `models`: the served models in the list's order, each `{id, interactive_only?}` (absent: false). `kind: twin` — `model` → the id of the same model on a connection that is not interactive-only (another id with the same part after its first `/`, the first in order), or null. `kind: background` — where a background call that would use `model` goes. `call`: `title`, `compaction` (the person asked) or `auto_compaction`; `defaults`: the defaults to try after the twin, in order (a device: its global `model` setting, then the instance's default; the server: the instance's default) — one that is not listed or is interactive-only is passed over. `unfit`: models that cannot take the call (for a summary: a context window below what must be sent, or no tools for a conversation with tool calls) — passed over like models that are not listed. → `{model}` (the model asked: itself, the twin or a default), `{skip: true}`, or `{refused}` with loop.json interactive.texts.compact. `kind: scheduled` — scheduled work on `model` (a run's session, its subagent, a one-shot run with nobody at it): → `{run: true}`, or `{refused}` with interactive.texts.scheduled, `{{model}}` the id. The server's twin also has to be one the person may use in the chat's data group, which no case here turns on. CLI: src/provider/interactive.ts; LLeMbas: services/interactive.py.",
|
|
"cases": [
|
|
{
|
|
"about": "The plan's pay-as-you-go twin: the same model under another provider.",
|
|
"kind": "twin",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "payg/coder"
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"expect": "payg/coder"
|
|
},
|
|
{
|
|
"about": "No other provider serves it.",
|
|
"kind": "twin",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"expect": null
|
|
},
|
|
{
|
|
"about": "A twin that is itself interactive-only is none.",
|
|
"kind": "twin",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "other-plan/coder",
|
|
"interactive_only": true
|
|
}
|
|
],
|
|
"expect": null
|
|
},
|
|
{
|
|
"about": "The part after the first slash is compared whole: a longer name is another model.",
|
|
"kind": "twin",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "payg/coder-plus"
|
|
},
|
|
{
|
|
"id": "payg/org/coder"
|
|
}
|
|
],
|
|
"expect": null
|
|
},
|
|
{
|
|
"about": "The first in the list's order.",
|
|
"kind": "twin",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "b/coder"
|
|
},
|
|
{
|
|
"id": "a/coder"
|
|
}
|
|
],
|
|
"expect": "b/coder"
|
|
},
|
|
{
|
|
"about": "A model that is not interactive-only is asked itself, as before.",
|
|
"kind": "background",
|
|
"call": "title",
|
|
"model": "open/flash",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "payg/coder"
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"defaults": [
|
|
"payg/coder"
|
|
],
|
|
"expect": {
|
|
"model": "open/flash"
|
|
}
|
|
},
|
|
{
|
|
"about": "A title for a session on a plan's model goes to the twin.",
|
|
"kind": "background",
|
|
"call": "title",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "payg/coder"
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"defaults": [
|
|
"open/flash"
|
|
],
|
|
"expect": {
|
|
"model": "payg/coder"
|
|
}
|
|
},
|
|
{
|
|
"about": "No twin: the default that is not interactive-only.",
|
|
"kind": "background",
|
|
"call": "compaction",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"defaults": [
|
|
"open/flash"
|
|
],
|
|
"expect": {
|
|
"model": "open/flash"
|
|
}
|
|
},
|
|
{
|
|
"about": "The first default is interactive-only too, the second is not.",
|
|
"kind": "background",
|
|
"call": "auto_compaction",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "plan/max",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"defaults": [
|
|
"plan/max",
|
|
"open/flash"
|
|
],
|
|
"expect": {
|
|
"model": "open/flash"
|
|
}
|
|
},
|
|
{
|
|
"about": "A default the list does not have is passed over.",
|
|
"kind": "background",
|
|
"call": "title",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "plan/max",
|
|
"interactive_only": true
|
|
}
|
|
],
|
|
"defaults": [
|
|
"gone/model"
|
|
],
|
|
"expect": {
|
|
"skip": true
|
|
}
|
|
},
|
|
{
|
|
"about": "Nowhere to go: a title is skipped.",
|
|
"kind": "background",
|
|
"call": "title",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "plan/max",
|
|
"interactive_only": true
|
|
}
|
|
],
|
|
"defaults": [
|
|
"plan/max"
|
|
],
|
|
"expect": {
|
|
"skip": true
|
|
}
|
|
},
|
|
{
|
|
"about": "Nowhere to go: compaction the person asked for is refused in words.",
|
|
"kind": "background",
|
|
"call": "compaction",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "plan/max",
|
|
"interactive_only": true
|
|
}
|
|
],
|
|
"defaults": [
|
|
"plan/coder"
|
|
],
|
|
"expect": {
|
|
"refused": "This chat's model is on a connection for interactive use only, and compacting is background work its provider's terms do not allow. It needs the same model on a pay-as-you-go connection, or a default model that is not interactive-only."
|
|
}
|
|
},
|
|
{
|
|
"about": "Nowhere to go: automatic compaction is skipped and the turn goes on.",
|
|
"kind": "background",
|
|
"call": "auto_compaction",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "plan/max",
|
|
"interactive_only": true
|
|
}
|
|
],
|
|
"defaults": [],
|
|
"expect": {
|
|
"skip": true
|
|
}
|
|
},
|
|
{
|
|
"about": "The twin's window is below what must be sent: the default that fits.",
|
|
"kind": "background",
|
|
"call": "compaction",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "payg/coder"
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"defaults": [
|
|
"open/flash"
|
|
],
|
|
"unfit": [
|
|
"payg/coder"
|
|
],
|
|
"expect": {
|
|
"model": "open/flash"
|
|
}
|
|
},
|
|
{
|
|
"about": "Nothing fits: a compaction the person asked for is refused, as with nowhere to go.",
|
|
"kind": "background",
|
|
"call": "compaction",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "payg/coder"
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"defaults": [
|
|
"open/flash"
|
|
],
|
|
"unfit": [
|
|
"payg/coder",
|
|
"open/flash"
|
|
],
|
|
"expect": {
|
|
"refused": "This chat's model is on a connection for interactive use only, and compacting is background work its provider's terms do not allow. It needs the same model on a pay-as-you-go connection, or a default model that is not interactive-only."
|
|
}
|
|
},
|
|
{
|
|
"about": "Nothing fits: automatic compaction is skipped.",
|
|
"kind": "background",
|
|
"call": "auto_compaction",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "payg/coder"
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"defaults": [
|
|
"open/flash"
|
|
],
|
|
"unfit": [
|
|
"payg/coder",
|
|
"open/flash"
|
|
],
|
|
"expect": {
|
|
"skip": true
|
|
}
|
|
},
|
|
{
|
|
"about": "A scheduled run on a pay-as-you-go model.",
|
|
"kind": "scheduled",
|
|
"model": "payg/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "payg/coder"
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"expect": {
|
|
"run": true
|
|
}
|
|
},
|
|
{
|
|
"about": "A scheduled run whose model is interactive-only fails with the sentence — never quietly on its twin.",
|
|
"kind": "scheduled",
|
|
"model": "plan/coder",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "payg/coder"
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"expect": {
|
|
"refused": "plan/coder is on a connection for interactive use only: its provider's terms do not allow scheduled or background work. Choose a model on a pay-as-you-go connection."
|
|
}
|
|
},
|
|
{
|
|
"about": "A model the list does not have is not known to be one.",
|
|
"kind": "scheduled",
|
|
"model": "new/model",
|
|
"models": [
|
|
{
|
|
"id": "plan/coder",
|
|
"interactive_only": true
|
|
},
|
|
{
|
|
"id": "payg/coder"
|
|
},
|
|
{
|
|
"id": "open/flash"
|
|
}
|
|
],
|
|
"expect": {
|
|
"run": true
|
|
}
|
|
}
|
|
]
|
|
}
|