Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.
feature/Azure-only-deck · L-260918-941a99 — azure deck default, old deck parked (#1225)
Louis Choqueld88245f158ab
diff --git a/.claude/skills/add-model/SKILL.md b/.claude/skills/add-model/SKILL.mdindex 6d3e9c663..0281474d4 100644--- a/.claude/skills/add-model/SKILL.md+++ b/.claude/skills/add-model/SKILL.md@@ -71,7 +71,7 @@ For an LLM, go past `TestLLMInference` and exercise what the entry declares: `Te## 7. Deck, changelog, checks-- **Deck.** Adding a model does not change the deck. Promoting it to an alias or preset in `.pipelex/inference/deck/` (`best-claude`, `default-premium`, a preset's `model`) changes what existing methods run on, so it is a separate decision: ask, and if the answer is yes, edit the deck, then run `make ukc` again. Promote only once the gateway catalog carries the model (step 8): under the default `all_pipelex_gateway` routing, a preset or choice default reaching a handle the catalog lacks raises `GatewayUnknownModelError` at boot, and `make tb` turns red. An alias no preset or choice default reaches is not checked at all, so a dangling one ships silently: read the deck yourself rather than trusting the boot. Then grep `docs/` for the alias you moved: `docs/configuration/config-technical/inference-backend-config.md` mirrors the deck's aliases, and other pages quote single ones.+- **Deck.** Adding a model does not change the deck. Promoting it to an alias or preset in `.pipelex/inference/deck/` (`best-gpt`, `default-premium`, a preset's `model`) changes what existing methods run on, so it is a separate decision: ask, and if the answer is yes, edit the deck, then run `make ukc` again. Promote only once the gateway catalog carries the model (step 8): under the default `all_pipelex_gateway` routing, a preset or choice default reaching a handle the catalog lacks raises `GatewayUnknownModelError` at boot, and `make tb` turns red. An alias no preset or choice default reaches is not checked at all, so a dangling one ships silently: read the deck yourself rather than trusting the boot. Then grep `docs/` for the alias you moved: `docs/configuration/config-technical/inference-backend-config.md` mirrors the deck's aliases, and other pages quote single ones.- **Changelog.** One bullet under `## [Unreleased]` → `### Added` in `CHANGELOG.md`: the handle, the backends, what it takes and produces, and anything unusual such as a refused parameter.- **Checks.** `make tb` boots the config, which parses and validates the backends `backends.toml` enables — and only those, so an entry added to a disabled backend such as `vertexai` is never read. To validate one, enable that backend in the gitignored `.pipelex/inference/backends_override.toml` for the run, and delete the file afterwards. Then stage your changes (the drift digest reads the git index) and run `make agent-check`.diff --git a/.drift/acks/cli-docs.toml b/.drift/acks/cli-docs.tomlindex 1eab82a67..d41ebf6c9 100644--- a/.drift/acks/cli-docs.toml+++ b/.drift/acks/cli-docs.toml@@ -1,8 +1,8 @@contract = "cli-docs"-digest = "sha256:106c7b09f674096aaa1c469914b38a86faf7dcb8919ae1d13cedafa12904a481"-reviewed_by = "Claude (Opus 5)"-reviewed_at = "2026-09-18T19:26:40Z"-rationale = "The stdin resolver's shape refusal moved off the JSONDecodeError label onto its own synthetic StdinEnvelopeShapeError, with a matching AGENT_ERROR_HINTS/AGENT_ERROR_DOMAINS entry. docs/tools/cli/agent-cli.md's stdin paragraph now names that label and why it is not a decode error, and its --with-memory line now says the receiving method must declare the same <domain>.<Code>, since the ref travels with its domain and a method declaring another one refuses it. The error envelope block documents error_type generically and needed no change, and pipelex/cli/agent_cli/CLAUDE.md already describes synthetic labels as the sanctioned mechanism for a failure with no exception class, which is exactly what this is."+digest = "sha256:3bbf5f40906a0b8af13238f3f78a01fdeb90eed363620f7f881dfd7ec46b59c0"+reviewed_by = "Louis Choquel"+reviewed_at = "2026-09-20T20:19:19Z"+rationale = "Reviewed docs/tools/cli/ and pipelex/cli/agent_cli/CLAUDE.md against the trigger. The only change to check_model_cmd.py is the argument-help example, which moves from the retired @best-claude alias to @best-gpt now that the shipped deck is Azure-only. Neither review target quotes that example or any deck alias: agent-cli.md and the agent-CLI contract doc describe check-model's flags and output modes generically, and update.md describes the managed/override file split without naming a single alias or model handle. No doc change needed."[trigger_files]"pipelex/cli/__init__.py" = "blob:8b137891791fe96927ad78e64b0aad7bded08bdc"@@ -14,7 +14,7 @@ rationale = "The stdin resolver's shape refusal moved off the JSONDecodeError la"pipelex/cli/agent_cli/commands/agent_cli_factory.py" = "blob:ba63ff317613e9be35677fca949f0991a6f6c47e""pipelex/cli/agent_cli/commands/agent_output.py" = "blob:3dc0283ef1daee4e17183b01f8a5c9d92f2688af""pipelex/cli/agent_cli/commands/bundle_path_resolver.py" = "blob:30339c5d91048f4e67312d5691ed9a65d57472e0"-"pipelex/cli/agent_cli/commands/check_model_cmd.py" = "blob:ff33446143044332983a0cb7b204b8eca349795a"+"pipelex/cli/agent_cli/commands/check_model_cmd.py" = "blob:91589e517509248a4639a37e82f46a69538f8071""pipelex/cli/agent_cli/commands/codegen/__init__.py" = "blob:e69de29bb2d1d6434b8b29ae775ad8c2e48c5391""pipelex/cli/agent_cli/commands/codegen/app.py" = "blob:56130b89fe9efec5ad3d014ed6bc16bef1bd1645""pipelex/cli/agent_cli/commands/codegen/check_cmd.py" = "blob:9e8beb084a9f04f39e8acca9e6ae2554d40cb667"diff --git a/.pipelex/inference/backends/pipelex_gateway_models.md b/.pipelex/inference/backends/pipelex_gateway_models.mdindex 645adda83..6b7455ed7 100644--- a/.pipelex/inference/backends/pipelex_gateway_models.md+++ b/.pipelex/inference/backends/pipelex_gateway_models.md@@ -101,6 +101,14 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>+<td>claude-5-opus</td>+<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>+<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>+<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>+<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>+<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>+</tr>+<tr><td>claude-5-sonnet</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -197,30 +205,6 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-4.1</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-4.1-mini</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-4.1-nano</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr><td>gpt-4o</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -237,55 +221,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5-chat</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5-mini</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5-nano</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5.1</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5.1-chat</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5.1-codex</td>+<td>gpt-5.3-codex</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -293,7 +229,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.2</td>+<td>gpt-5.4</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -301,7 +237,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.2-chat</td>+<td>gpt-5.4-mini</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -309,7 +245,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.2-codex</td>+<td>gpt-5.4-nano</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -317,7 +253,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.3-codex</td>+<td>gpt-5.4-pro</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -325,7 +261,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.4</td>+<td>gpt-5.5</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -333,7 +269,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.4-mini</td>+<td>gpt-5.6-luna</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -341,7 +277,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.4-nano</td>+<td>gpt-5.6-sol</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -349,7 +285,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.4-pro</td>+<td>gpt-5.6-terra</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -357,7 +293,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.5</td>+<td>gpt-6-astra</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -437,46 +373,6 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>o1</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>o1-mini</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>o3</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>o3-mini</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>o4-mini</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr><td>phi-4</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>@@ -620,6 +516,6 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late> **AUTO-GENERATED FILE** - Do not edit manually.-> Last updated: 2026-07-27T01:18:06Z+> Last updated: 2026-09-20T22:54:34Z>> Run `pipelex-dev update-gateway-models` or `make ugm` to regenerate.\ No newline at end of filediff --git a/.pipelex/inference/backends/pipelex_gateway_models_plain.md b/.pipelex/inference/backends/pipelex_gateway_models_plain.mdindex 45ceaff0e..4b3099f81 100644--- a/.pipelex/inference/backends/pipelex_gateway_models_plain.md+++ b/.pipelex/inference/backends/pipelex_gateway_models_plain.md@@ -37,6 +37,9 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late- **claude-4.8-opus**- inputs: text, images, pdf- outputs: text, structured+- **claude-5-opus**+ - inputs: text, images, pdf+ - outputs: text, structured- **claude-5-sonnet**- inputs: text, images, pdf- outputs: text, structured@@ -73,67 +76,40 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late- **gemini-pro-latest**- inputs: text, images, pdf- outputs: text, structured-- **gpt-4.1**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-4.1-mini**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-4.1-nano**- - inputs: text, images, pdf- - outputs: text, structured- **gpt-4o**- inputs: text, images, pdf- outputs: text, structured- **gpt-4o-mini**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5-chat**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5-mini**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5-nano**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5.1**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5.1-chat**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5.1-codex**+- **gpt-5.3-codex**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.2**+- **gpt-5.4**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.2-chat**+- **gpt-5.4-mini**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.2-codex**+- **gpt-5.4-nano**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.3-codex**+- **gpt-5.4-pro**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.4**+- **gpt-5.5**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.4-mini**+- **gpt-5.6-luna**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.4-nano**+- **gpt-5.6-sol**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.4-pro**+- **gpt-5.6-terra**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.5**+- **gpt-6-astra**- inputs: text, images, pdf- outputs: text, structured- **gpt-oss-120b**@@ -163,21 +139,6 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late- **mistral-large**- inputs: text, images, pdf- outputs: text, structured-- **o1**- - inputs: text, images, pdf- - outputs: text, structured-- **o1-mini**- - inputs: text, images- - outputs: text, structured-- **o3**- - inputs: text, images, pdf- - outputs: text, structured-- **o3-mini**- - inputs: text- - outputs: text, structured-- **o4-mini**- - inputs: text- - outputs: text, structured- **phi-4**- inputs: text- outputs: text@@ -232,6 +193,6 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late> **AUTO-GENERATED FILE** - Do not edit manually.-> Last updated: 2026-07-27T01:18:06Z+> Last updated: 2026-09-20T22:54:34Z>> Run `pipelex-dev update-gateway-models` or `make ugm` to regenerate.\ No newline at end of filediff --git a/.pipelex/inference/deck/.kit_manifest.json b/.pipelex/inference/deck/.kit_manifest.jsonindex ccbe52c3b..c3dd476a5 100644--- a/.pipelex/inference/deck/.kit_manifest.json+++ b/.pipelex/inference/deck/.kit_manifest.json@@ -1,9 +1,9 @@{"files": {- "1_llm_deck.toml": "eb093712da6f4426ccade800c55aa3fbf64862917ec4e46c141eceb80e4ac1e8",- "2_img_gen_deck.toml": "63b1397f0427aada890096c7d430313f287fd613248aa1f3ab4b9e09a7f19402",+ "1_llm_deck.toml": "863f1522135f03333acd5bac41dcd58dfe1dbe4a3875dd8321995d0c60f3db2f",+ "2_img_gen_deck.toml": "00d570907cee9261882922afebc53556013e46d29419fce4cf189135e2849fd6","3_extract_deck.toml": "560a40bd3254b1be011cfb35340fef6c40d70136e5ddce33a961899f92fd70ba","4_search_deck.toml": "08e3bd1bee0f9f8ed0ffc735a932705392d0ecfbdeefce64c9815d4b2d8d7e22"},- "kit_version": "0.25.1"+ "kit_version": "0.61.0"}diff --git a/.pipelex/inference/deck/1_llm_deck.toml b/.pipelex/inference/deck/1_llm_deck.tomlindex c57fb0ac7..27aa1cdbe 100644--- a/.pipelex/inference/deck/1_llm_deck.toml+++ b/.pipelex/inference/deck/1_llm_deck.toml@@ -32,60 +32,62 @@ for_object = "@default-general"####################################################################################################[llm.aliases]-best-gpt = "gpt-5.5"-best-claude = "claude-4.8-opus"-best-gemini = "gemini-pro-latest"-best-mistral = "mistral-large"+best-gpt = "gpt-6-astra"# Default aliases (first choice from waterfalls)-default-general = "claude-4.6-sonnet"-default-premium = "claude-4.8-opus"-default-premium-vision = "claude-4.8-opus"-default-premium-structured = "claude-4.8-opus"-default-large-context-code = "gemini-pro-latest"-default-large-context-text = "gemini-flash-latest"-default-small = "gpt-4o-mini"-default-small-structured = "gpt-4o-mini"-default-small-vision = "gemini-flash-latest"-default-small-creative = "gemini-flash-latest"+default-general = "gpt-5.4"+default-premium = "gpt-6-astra"+default-premium-vision = "gpt-6-astra"+default-premium-structured = "gpt-6-astra"+default-large-context-code = "gpt-5.4"+default-large-context-text = "gpt-5.4"+default-small = "gpt-5.4-nano"+default-small-structured = "gpt-5.4-nano"+default-small-vision = "gpt-5.4-nano"+default-small-creative = "gpt-5.4-nano"##################################################################################################### LLM Presets####################################################################################################+# Every preset on the premium tier carries temperature = 1, because the model that tier resolves to+# fixes its temperature at 1. Declaring anything else would be overridden by the worker and warned+# about on every single call, so the deck states the value the model will actually use. If the+# premium tier ever moves to a model that accepts a temperature, these are the presets to revisit.+[llm.presets]# Writing-writing-factual = { model = "@default-premium", temperature = 0.1, description = "Factual writing with high accuracy" }+writing-factual = { model = "@default-premium", temperature = 1, description = "Factual writing with high accuracy" }writing-factual-cheap = { model = "@default-small", temperature = 0.1, description = "Cheap factual writing with high accuracy" }-writing-creative = { model = "@default-premium", temperature = 0.9, description = "Creative writing with high variability" }+writing-creative = { model = "@default-premium", temperature = 1, description = "Creative writing with high variability" }writing-creative-cheap = { model = "@default-small-creative", temperature = 0.9, description = "Cheap creative writing with high variability" }# Retrievalretrieval = { model = "@default-large-context-text", temperature = 0.1, description = "Data retrieval from large text corpora" }-retrieval-cheap = { model = "gemini-flash-lite-latest", temperature = 0.1, description = "Cheap data retrieval from large text corpora" }-retrieval-premium = { model = "claude-4.8-opus", temperature = 0.1, description = "Premium data retrieval with highest accuracy" }+retrieval-cheap = { model = "gpt-5.4-nano", temperature = 0.1, description = "Cheap data retrieval from large text corpora" }+retrieval-premium = { model = "gpt-6-astra", temperature = 1, description = "Premium data retrieval with highest accuracy" }# Engineering-engineering-structured = { model = "@default-premium-structured", temperature = 0.2, description = "Structured engineering output (JSON, schemas)" }-engineering-code = { model = "@default-premium", temperature = 0.1, description = "Code generation and analysis" }-engineering-code-cheap = { model = "claude-4.6-sonnet", temperature = 0.1, description = "Cheap code generation and analysis" }-engineering-code-cheaper = { model = "claude-4.5-haiku", temperature = 0.1, description = "Cheapest code generation and analysis" }-engineering-codebase-analysis = { model = "@best-gemini", temperature = 0.1, description = "Large codebase analysis" }+engineering-structured = { model = "@default-premium-structured", temperature = 1, description = "Structured engineering output (JSON, schemas)" }+engineering-code = { model = "@default-premium", temperature = 1, description = "Code generation and analysis" }+engineering-code-cheap = { model = "gpt-5.4", temperature = 0.1, description = "Cheap code generation and analysis" }+engineering-code-cheaper = { model = "gpt-5.4-nano", temperature = 0.1, description = "Cheapest code generation and analysis" }+engineering-codebase-analysis = { model = "@default-premium", temperature = 1, description = "Large codebase analysis" }# Vision-vision = { model = "@default-premium-vision", temperature = 0.5, description = "Understanding and interpreting images" }+vision = { model = "@default-premium-vision", temperature = 1, description = "Understanding and interpreting images" }vision-cheap = { model = "@default-small-vision", temperature = 0.5, description = "Cheap image understanding for simple tasks" }-vision-diagram = { model = "@default-premium-vision", temperature = 0.3, description = "Diagram and chart interpretation" }-vision-table = { model = "@default-premium-vision", temperature = 0.3, description = "Table extraction from images" }+vision-diagram = { model = "@default-premium-vision", temperature = 1, description = "Diagram and chart interpretation" }+vision-table = { model = "@default-premium-vision", temperature = 1, description = "Table extraction from images" }# Image generation prompting-img-gen-prompting = { model = "@default-premium", temperature = 0.5, description = "Crafting image generation prompts" }+img-gen-prompting = { model = "@default-premium", temperature = 1, description = "Crafting image generation prompts" }img-gen-prompting-cheap = { model = "@default-small-creative", temperature = 0.5, description = "Cheap image prompt generation" }# Reasoning-deep-analysis = { model = "@default-premium", temperature = 0.1, reasoning_effort = "high", description = "Deep reasoning and analysis" }-quick-reasoning = { model = "@default-premium", temperature = 0.3, reasoning_effort = "low", description = "Quick reasoning for simple tasks" }+deep-analysis = { model = "@default-premium", temperature = 1, reasoning_effort = "high", description = "Deep reasoning and analysis" }+quick-reasoning = { model = "@default-premium", temperature = 1, reasoning_effort = "low", description = "Quick reasoning for simple tasks" }# Testingtesting-text = { model = "@default-small", temperature = 0.5, description = "Testing preset for text generation" }diff --git a/.pipelex/inference/deck/2_img_gen_deck.toml b/.pipelex/inference/deck/2_img_gen_deck.tomlindex a2c73f486..503413857 100644--- a/.pipelex/inference/deck/2_img_gen_deck.toml+++ b/.pipelex/inference/deck/2_img_gen_deck.toml@@ -32,10 +32,9 @@ choice_default = "$gen-image"[img_gen.aliases]best-gpt = "gpt-image-2"-best-gemini = "nano-banana-2"-default-general = "nano-banana"-default-premium = "nano-banana-2"+default-general = "gpt-image-2"+default-premium = "gpt-image-2"default-small = "gpt-image-1-mini"####################################################################################################@@ -51,7 +50,7 @@ gen-image-high-quality = { model = "@default-premium", quality = "high", descrip# Testinggen-image-testing = { model = "@default-small", quality = "low", description = "Testing preset for image generation" }-gen-image-testing-img2img = { model = "nano-banana-pro", description = "Testing preset for image-to-image" }+gen-image-testing-img2img = { model = "@default-premium", description = "Testing preset for image-to-image" }synthesize-photo = { model = "@default-small", quality = "low", description = "Synthesize realistic photos for testing" }-synthesize-ui = { model = "nano-banana-pro", description = "Synthesize UI screenshots for testing" }-synthesize-chart = { model = "nano-banana-pro", description = "Synthesize charts and graphs for testing" }+synthesize-ui = { model = "@default-premium", description = "Synthesize UI screenshots for testing" }+synthesize-chart = { model = "@default-premium", description = "Synthesize charts and graphs for testing" }diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 47df8eaad..17f00c049 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,18 @@# Changelog+## [Unreleased]++### Changed++- **The shipped model deck resolves only to models the Pipelex Gateway serves from Azure (Breaking)**: every default alias and preset keeps its name, but the premium tier and `best-gpt` now resolve to `gpt-6-astra`, the general and large-context tiers to `gpt-5.4`, the small tiers to `gpt-5.4-nano`, and image generation's general and premium tiers to `gpt-image-2`. Document extraction was already `azure-document-intelligence` and web search stays on Linkup, which Azure has no equivalent for. `pipelex update` refreshes the numbered deck files and backs up any you edited; a project that wants the previous models keeps them by naming them in `x_custom_llm_deck.toml`, which pipelex never touches.+- **The premium tier's presets declare `temperature = 1` (Breaking)**: `gpt-6-astra` fixes its temperature at 1, so every preset on that tier states that value instead of one the worker would override while warning on every call. `$writing-factual` and `$writing-creative` therefore issue the same call, and `$engineering-structured` runs at temperature 1 — a method that needs a temperature of its own should name a model that accepts one, such as `@default-general`.+- **The shipped Gateway models reference lists the roster the Gateway actually serves**: `backends/pipelex_gateway_models.md` and its plain twin are generated from the served remote config, and they had not been regenerated since July — so they lacked `gpt-6-astra`, which this deck now resolves the entire premium tier and `best-gpt` to, while still advertising the GPT-4.1, o-series and GPT-5.1 to 5.2 generations that v0.61.0 retired. Both files are refreshed, in the kit and in `.pipelex/`, so the reference a user opens to check what their default deck runs on agrees with the deck.++### Removed++- **`best-claude`, `best-gemini` and `best-mistral` are gone from the shipped deck (Breaking)**: an alias naming a provider cannot honestly resolve to a GPT model, and the image deck's `best-gemini` goes with them. A method referencing one fails validation with the usual alias-not-found error; define it in an `x_custom_*` deck file to keep it.+- **`ModelDeck.final_validate` is removed**: it raised when a preset's temperature differed from its model's fixed temperature, but it had had no caller since 2025-09-17 and its `except` clause could never match the exception its helper raised, so it protected nothing.+## [v0.61.0] - 2026-09-20### Addeddiff --git a/docs/building-methods/configure-ai-llm-to-optimize-methods.md b/docs/building-methods/configure-ai-llm-to-optimize-methods.mdindex ea62e0bb4..d785c8734 100644--- a/docs/building-methods/configure-ai-llm-to-optimize-methods.md+++ b/docs/building-methods/configure-ai-llm-to-optimize-methods.md@@ -27,10 +27,9 @@ An LLM handle can be either:```toml[llm.aliases]-best-claude = "claude-4.1-opus"-best-gemini = "gemini-2.5-pro"-best-mistral = "mistral-large"-base-gpt = "gpt-5.5"+best-gpt = "gpt-6-astra"+default-general = "gpt-5.4"+default-small = "gpt-5.4-nano"```The system first looks for direct model names, then checks aliases if no direct match is found. The system handles model routing through backends automatically.@@ -51,7 +50,7 @@ An LLM Preset is simply a name for a LLM Settings that you have predefined in orengineering-structured = {model = "@default-premium-structured",- temperature = 0.2+ temperature = 1}retrieval = {@@ -66,10 +65,12 @@ LLM Settings support `reasoning_effort` and `reasoning_budget` parameters for en```toml[llm.presets]-deep-analysis = { model = "@default-premium", temperature = 0.1, reasoning_effort = "high", description = "Deep reasoning and analysis" }-quick-reasoning = { model = "@default-premium", temperature = 0.3, reasoning_effort = "low", description = "Quick reasoning for simple tasks" }+deep-analysis = { model = "@default-premium", temperature = 1, reasoning_effort = "high", description = "Deep reasoning and analysis" }+quick-reasoning = { model = "@default-premium", temperature = 1, reasoning_effort = "low", description = "Quick reasoning for simple tasks" }```+Both declare `temperature = 1` because the premium tier resolves to a model that fixes its temperature at that value. The deck states the temperature the model will actually use, rather than one the runtime would override on every call.+`reasoning_effort` accepts values from `"none"` to `"max"`. For an explicit token budget, use `reasoning_budget` instead (mutually exclusive with `reasoning_effort`). For provider-specific behavior and model examples, see [Reasoning Controls](../under-the-hood/reasoning-controls.md).### Using LLM Settings in Pipelinesdiff --git a/docs/building-methods/pipes/pipe-operators/PipeImgGen.md b/docs/building-methods/pipes/pipe-operators/PipeImgGen.mdindex bbd3d9d32..8cbf3599a 100644--- a/docs/building-methods/pipes/pipe-operators/PipeImgGen.md+++ b/docs/building-methods/pipes/pipe-operators/PipeImgGen.md@@ -58,11 +58,10 @@ PipeImgGen uses the unified inference backend system to manage image generationCommon image generation model handles:-- `default-general`: General-purpose image generation model (alias for nano-banana)-- `default-premium`: Premium image generation model (alias for nano-banana-2)+- `default-general`: General-purpose image generation model (alias for gpt-image-2)+- `default-premium`: Premium image generation model (alias for gpt-image-2)- `default-small`: Small, fast image generation model (alias for gpt-image-1-mini)- `best-gpt`: Best OpenAI image generation model (alias for gpt-image-2)-- `best-gemini`: Best Gemini image generation model (alias for nano-banana-2)Image generation presets are defined in your model deck configuration and can include parameters like `quality`, `guidance_scale`, and `safety_tolerance`.diff --git a/docs/configuration/config-technical/inference-backend-config.md b/docs/configuration/config-technical/inference-backend-config.mdindex 82b974482..baa2f738b 100644--- a/docs/configuration/config-technical/inference-backend-config.md+++ b/docs/configuration/config-technical/inference-backend-config.md@@ -469,21 +469,19 @@ Define user-friendly names that map to model names. Aliases are defined in the d```toml[llm.aliases]# Simple aliases map to a single model-best-claude = "claude-4.8-opus"-best-gpt = "gpt-5.5"-best-gemini = "gemini-pro-latest"+best-gpt = "gpt-6-astra"# Default aliases (used in presets)-default-general = "claude-4.6-sonnet"-default-premium = "claude-4.8-opus"-default-large-context-text = "gemini-flash-latest"-default-small = "gpt-4o-mini"+default-general = "gpt-5.4"+default-premium = "gpt-6-astra"+default-large-context-text = "gpt-5.4"+default-small = "gpt-5.4-nano"```When using aliases in `.mthds` files or other configurations, prefix them with `@`:```toml-model = "@best-claude" # References the best-claude alias+model = "@best-gpt" # References the best-gpt aliasmodel = "@default-general" # References the default-general alias```@@ -493,21 +491,22 @@ Presets combine model selection with optimized parameters for specific tasks. De```toml[llm.presets]-# Writing presets-writing-factual = { model = "@default-premium", temperature = 0.1 }-writing-creative = { model = "@default-premium", temperature = 0.9 }+# Writing presets. The premium tier's model fixes its temperature at 1, so these+# declare that value rather than one the worker would override.+writing-factual = { model = "@default-premium", temperature = 1 }+writing-creative = { model = "@default-premium", temperature = 1 }# Retrievalretrieval = { model = "@default-large-context-text", temperature = 0.1 }# Engineering-engineering-structured = { model = "@default-premium-structured", temperature = 0.2 }-engineering-code = { model = "@default-premium", temperature = 0.1 }+engineering-structured = { model = "@default-premium-structured", temperature = 1 }+engineering-code = { model = "@default-premium", temperature = 1 }# Vision-vision = { model = "@default-premium-vision", temperature = 0.5 }+vision = { model = "@default-premium-vision", temperature = 1 }vision-cheap = { model = "@default-small-vision", temperature = 0.5 }-vision-diagram = { model = "@default-premium-vision", temperature = 0.3 }+vision-diagram = { model = "@default-premium-vision", temperature = 1 }```When using presets in `.mthds` files, prefix them with `$`:diff --git a/docs/get-started/configure-ai-providers.md b/docs/get-started/configure-ai-providers.mdindex 5285ad248..418977bcc 100644--- a/docs/get-started/configure-ai-providers.md+++ b/docs/get-started/configure-ai-providers.md@@ -167,6 +167,18 @@ To keep the configuration inside a project instead, run `pipelex init --local`:Learn more in our [Inference Backend Configuration](../configuration/config-technical/inference-backend-config.md) guide.+### What the deck resolves to out of the box++The deck files `pipelex init` installs resolve the language, image-generation and document-extraction defaults to models the Pipelex Gateway serves from Azure, so a fresh install runs inside one provider's scope without you choosing anything:++- **Language models** — the premium tier and `best-gpt` are GPT-6 Astra, the general and large-context tiers are GPT-5.4, and the small tiers are GPT-5.4 nano.+- **Image generation** — the general and premium tiers are GPT Image 2, the small tier is GPT Image 1 mini.+- **Document extraction** — Azure Document Intelligence. `default-text-from-pdf` and `default-no-inference` are the exception within that family: they read the PDF locally with pypdfium2 and call no model, so they need no key of any kind.++**Where the deck leaves Azure, it goes to Linkup**, and it does so in two families rather than one. Azure serves no search model, so everything in `4_search_deck.toml` resolves to Linkup; and `default-extract-web-page` in `3_extract_deck.toml` resolves to `linkup-fetch`, which pulls a web page through Linkup rather than through Azure Document Intelligence. A method that searches the web, or that extracts from a web page, needs a Linkup key or the Gateway.++Nothing about this locks you in. The deck is a vocabulary of aliases and presets, not a provider commitment: point any of them at a model from any backend you have enabled, by editing `x_custom_llm_deck.toml`, which `pipelex update` never touches. That is also how you bring back an alias the shipped deck does not define.+---## Next Stepsdiff --git a/docs/under-the-hood/reasoning-controls.md b/docs/under-the-hood/reasoning-controls.mdindex a01c7edfd..37f062dc7 100644--- a/docs/under-the-hood/reasoning-controls.md+++ b/docs/under-the-hood/reasoning-controls.md@@ -30,7 +30,7 @@ Define a reusable preset in your LLM deck, then reference it with the `$` prefix```toml# In .pipelex/inference/deck/1_llm_deck.toml[llm.presets]-deep-analysis = { model = "@default-premium", temperature = 0.1, reasoning_effort = "high" }+deep-analysis = { model = "@default-premium", temperature = 1, reasoning_effort = "high" }``````tomldiff --git a/pipelex/cli/agent_cli/commands/check_model_cmd.py b/pipelex/cli/agent_cli/commands/check_model_cmd.pyindex ff3344614..91589e517 100644--- a/pipelex/cli/agent_cli/commands/check_model_cmd.py+++ b/pipelex/cli/agent_cli/commands/check_model_cmd.py@@ -54,7 +54,7 @@ def _format_check_markdown(result: dict[str, Any]) -> str:def agent_check_model_cmd(name: Annotated[str,- typer.Argument(help="Model reference to check (e.g. $writing-creative, @best-claude, gpt-4o)"),+ typer.Argument(help="Model reference to check (e.g. $writing-creative, @best-gpt, gpt-4o)"),],model_type: Annotated[ModelCategory,diff --git a/pipelex/cogt/models/model_deck.py b/pipelex/cogt/models/model_deck.pyindex cdfa256de..17b16bf69 100644--- a/pipelex/cogt/models/model_deck.py+++ b/pipelex/cogt/models/model_deck.py@@ -8,10 +8,8 @@ from pipelex.cogt.exceptions import (ExtractHandleNotFoundError,ImgGenHandleNotFoundError,LLMHandleNotFoundError,- LLMSettingsValidationError,ModelChoiceNotFoundError,ModelDeckPresetValidatonError,- ModelDeckValidatonError,ModelNotFoundError,ModelWaterfallError,SearchHandleNotFoundError,@@ -26,7 +24,6 @@ from pipelex.cogt.llm.llm_setting import (LLMSettingChoicesDefaults,)from pipelex.cogt.model_backends.backend import PipelexBackend-from pipelex.cogt.model_backends.constraints import ValuedConstraintfrom pipelex.cogt.model_backends.model_spec import InferenceModelSpecfrom pipelex.cogt.model_backends.model_type import ModelTypefrom pipelex.cogt.models.exceptions import ModelReferenceParseError@@ -505,37 +502,10 @@ class ModelDeck(ConfigModel):presets=self.img_gen_presets,)- @classmethod- def final_validate(cls, deck: Self):- for llm_preset_id, llm_setting in deck.llm_presets.items():- inference_model = deck.get_required_inference_model(model_handle=llm_setting.model, model_type=ModelType.LLM)- try:- cls._validate_llm_setting(llm_setting=llm_setting, inference_model=inference_model)- except ConfigValidationError as exc:- msg = f"LLM preset '{llm_preset_id}' is invalid: {exc}"- raise ModelDeckValidatonError(msg) from exc-############################################################# ModelDeck validations############################################################- @classmethod- def _validate_llm_setting(cls, llm_setting: LLMSetting, *, inference_model: InferenceModelSpec):- if inference_model.max_tokens is not None and (llm_setting_max_tokens := llm_setting.max_tokens):- if llm_setting_max_tokens > inference_model.max_tokens:- msg = (- f"LLM setting '{llm_setting.model}' has a max_tokens of {llm_setting_max_tokens}, "- f"which is greater than the model's max_tokens of {inference_model.max_tokens}"- )- raise LLMSettingsValidationError(msg)- fixed_temperature = inference_model.valued_constraints.get(ValuedConstraint.FIXED_TEMPERATURE)- if fixed_temperature is not None and llm_setting.temperature != fixed_temperature:- msg = (- f"LLM setting '{llm_setting.model}' has a temperature of {llm_setting.temperature}, "- f"which is not allowed by the model's constraints: it must be {fixed_temperature}"- )- raise LLMSettingsValidationError(msg)-@field_validator("llm_choice_defaults", mode="after")@classmethoddef validate_llm_choice_defaults(cls, llm_choice_defaults: LLMSettingChoices) -> LLMSettingChoices:diff --git a/pipelex/cogt/models/model_reference.py b/pipelex/cogt/models/model_reference.pyindex a42c0a6ae..ddb8aec27 100644--- a/pipelex/cogt/models/model_reference.py+++ b/pipelex/cogt/models/model_reference.py@@ -6,7 +6,7 @@ model references using explicit prefixes:| Type | Sigil | Namespace (Canonical) | Example ||----------|-------|----------------------|--------------------------------------------|| Preset | $ | preset: | $llm_for_creativity or preset:llm_for_creativity |-| Alias | @ | alias: | @best-claude or alias:best-claude |+| Alias | @ | alias: | @best-gpt or alias:best-gpt || Waterfall| ~ | waterfall: | ~small-llm or waterfall:small-llm || Handle | (none)| handle: (optional) | gpt-4o-mini or handle:gpt-4o-mini |diff --git a/pipelex/cogt/models/model_suggestion.py b/pipelex/cogt/models/model_suggestion.pyindex 942ad58dc..0bc025d06 100644--- a/pipelex/cogt/models/model_suggestion.py+++ b/pipelex/cogt/models/model_suggestion.py@@ -86,7 +86,7 @@ def suggest_model_alternatives(Returns:A tuple of three lists:- suggestions: fuzzy matches within the same collection, with sigil prefix- - wrong_sigil_hints: exact matches found in other collections (e.g. "best-claude exists as @best-claude (alias)")+ - wrong_sigil_hints: exact matches found in other collections (e.g. "best-gpt exists as @best-gpt (alias)")- cross_collection_suggestions: fuzzy matches in other collections, with sigil and label"""sigil = KIND_SIGILS[kind]diff --git a/pipelex/kit/configs/inference/backends/pipelex_gateway_models.md b/pipelex/kit/configs/inference/backends/pipelex_gateway_models.mdindex 645adda83..6b7455ed7 100644--- a/pipelex/kit/configs/inference/backends/pipelex_gateway_models.md+++ b/pipelex/kit/configs/inference/backends/pipelex_gateway_models.md@@ -101,6 +101,14 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>+<td>claude-5-opus</td>+<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>+<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>+<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>+<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>+<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>+</tr>+<tr><td>claude-5-sonnet</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -197,30 +205,6 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-4.1</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-4.1-mini</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-4.1-nano</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr><td>gpt-4o</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -237,55 +221,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5-chat</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5-mini</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5-nano</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5.1</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5.1-chat</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>gpt-5.1-codex</td>+<td>gpt-5.3-codex</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -293,7 +229,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.2</td>+<td>gpt-5.4</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -301,7 +237,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.2-chat</td>+<td>gpt-5.4-mini</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -309,7 +245,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.2-codex</td>+<td>gpt-5.4-nano</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -317,7 +253,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.3-codex</td>+<td>gpt-5.4-pro</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -325,7 +261,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.4</td>+<td>gpt-5.5</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -333,7 +269,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.4-mini</td>+<td>gpt-5.6-luna</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -341,7 +277,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.4-nano</td>+<td>gpt-5.6-sol</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -349,7 +285,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.4-pro</td>+<td>gpt-5.6-terra</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -357,7 +293,7 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>gpt-5.5</td>+<td>gpt-6-astra</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>@@ -437,46 +373,6 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td></tr><tr>-<td>o1</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>o1-mini</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>o3</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>o3-mini</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr>-<td>o4-mini</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>-<td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-<td style="text-align:center;background-color:rgba(76,175,80,0.15)">✅</td>-</tr>-<tr><td>phi-4</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">✅</td><td style="text-align:center;background-color:rgba(33,150,243,0.15)">❌</td>@@ -620,6 +516,6 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late> **AUTO-GENERATED FILE** - Do not edit manually.-> Last updated: 2026-07-27T01:18:06Z+> Last updated: 2026-09-20T22:54:34Z>> Run `pipelex-dev update-gateway-models` or `make ugm` to regenerate.\ No newline at end of filediff --git a/pipelex/kit/configs/inference/backends/pipelex_gateway_models_plain.md b/pipelex/kit/configs/inference/backends/pipelex_gateway_models_plain.mdindex 45ceaff0e..4b3099f81 100644--- a/pipelex/kit/configs/inference/backends/pipelex_gateway_models_plain.md+++ b/pipelex/kit/configs/inference/backends/pipelex_gateway_models_plain.md@@ -37,6 +37,9 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late- **claude-4.8-opus**- inputs: text, images, pdf- outputs: text, structured+- **claude-5-opus**+ - inputs: text, images, pdf+ - outputs: text, structured- **claude-5-sonnet**- inputs: text, images, pdf- outputs: text, structured@@ -73,67 +76,40 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late- **gemini-pro-latest**- inputs: text, images, pdf- outputs: text, structured-- **gpt-4.1**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-4.1-mini**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-4.1-nano**- - inputs: text, images, pdf- - outputs: text, structured- **gpt-4o**- inputs: text, images, pdf- outputs: text, structured- **gpt-4o-mini**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5-chat**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5-mini**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5-nano**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5.1**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5.1-chat**- - inputs: text, images, pdf- - outputs: text, structured-- **gpt-5.1-codex**+- **gpt-5.3-codex**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.2**+- **gpt-5.4**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.2-chat**+- **gpt-5.4-mini**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.2-codex**+- **gpt-5.4-nano**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.3-codex**+- **gpt-5.4-pro**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.4**+- **gpt-5.5**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.4-mini**+- **gpt-5.6-luna**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.4-nano**+- **gpt-5.6-sol**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.4-pro**+- **gpt-5.6-terra**- inputs: text, images, pdf- outputs: text, structured-- **gpt-5.5**+- **gpt-6-astra**- inputs: text, images, pdf- outputs: text, structured- **gpt-oss-120b**@@ -163,21 +139,6 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late- **mistral-large**- inputs: text, images, pdf- outputs: text, structured-- **o1**- - inputs: text, images, pdf- - outputs: text, structured-- **o1-mini**- - inputs: text, images- - outputs: text, structured-- **o3**- - inputs: text, images, pdf- - outputs: text, structured-- **o3-mini**- - inputs: text- - outputs: text, structured-- **o4-mini**- - inputs: text- - outputs: text, structured- **phi-4**- inputs: text- outputs: text@@ -232,6 +193,6 @@ For configuration details, see the [documentation](https://docs.pipelex.com/late> **AUTO-GENERATED FILE** - Do not edit manually.-> Last updated: 2026-07-27T01:18:06Z+> Last updated: 2026-09-20T22:54:34Z>> Run `pipelex-dev update-gateway-models` or `make ugm` to regenerate.\ No newline at end of filediff --git a/pipelex/kit/configs/inference/deck/.kit_manifest.json b/pipelex/kit/configs/inference/deck/.kit_manifest.jsonindex ccbe52c3b..c3dd476a5 100644--- a/pipelex/kit/configs/inference/deck/.kit_manifest.json+++ b/pipelex/kit/configs/inference/deck/.kit_manifest.json@@ -1,9 +1,9 @@{"files": {- "1_llm_deck.toml": "eb093712da6f4426ccade800c55aa3fbf64862917ec4e46c141eceb80e4ac1e8",- "2_img_gen_deck.toml": "63b1397f0427aada890096c7d430313f287fd613248aa1f3ab4b9e09a7f19402",+ "1_llm_deck.toml": "863f1522135f03333acd5bac41dcd58dfe1dbe4a3875dd8321995d0c60f3db2f",+ "2_img_gen_deck.toml": "00d570907cee9261882922afebc53556013e46d29419fce4cf189135e2849fd6","3_extract_deck.toml": "560a40bd3254b1be011cfb35340fef6c40d70136e5ddce33a961899f92fd70ba","4_search_deck.toml": "08e3bd1bee0f9f8ed0ffc735a932705392d0ecfbdeefce64c9815d4b2d8d7e22"},- "kit_version": "0.25.1"+ "kit_version": "0.61.0"}diff --git a/pipelex/kit/configs/inference/deck/1_llm_deck.toml b/pipelex/kit/configs/inference/deck/1_llm_deck.tomlindex c57fb0ac7..27aa1cdbe 100644--- a/pipelex/kit/configs/inference/deck/1_llm_deck.toml+++ b/pipelex/kit/configs/inference/deck/1_llm_deck.toml@@ -32,60 +32,62 @@ for_object = "@default-general"####################################################################################################[llm.aliases]-best-gpt = "gpt-5.5"-best-claude = "claude-4.8-opus"-best-gemini = "gemini-pro-latest"-best-mistral = "mistral-large"+best-gpt = "gpt-6-astra"# Default aliases (first choice from waterfalls)-default-general = "claude-4.6-sonnet"-default-premium = "claude-4.8-opus"-default-premium-vision = "claude-4.8-opus"-default-premium-structured = "claude-4.8-opus"-default-large-context-code = "gemini-pro-latest"-default-large-context-text = "gemini-flash-latest"-default-small = "gpt-4o-mini"-default-small-structured = "gpt-4o-mini"-default-small-vision = "gemini-flash-latest"-default-small-creative = "gemini-flash-latest"+default-general = "gpt-5.4"+default-premium = "gpt-6-astra"+default-premium-vision = "gpt-6-astra"+default-premium-structured = "gpt-6-astra"+default-large-context-code = "gpt-5.4"+default-large-context-text = "gpt-5.4"+default-small = "gpt-5.4-nano"+default-small-structured = "gpt-5.4-nano"+default-small-vision = "gpt-5.4-nano"+default-small-creative = "gpt-5.4-nano"##################################################################################################### LLM Presets####################################################################################################+# Every preset on the premium tier carries temperature = 1, because the model that tier resolves to+# fixes its temperature at 1. Declaring anything else would be overridden by the worker and warned+# about on every single call, so the deck states the value the model will actually use. If the+# premium tier ever moves to a model that accepts a temperature, these are the presets to revisit.+[llm.presets]# Writing-writing-factual = { model = "@default-premium", temperature = 0.1, description = "Factual writing with high accuracy" }+writing-factual = { model = "@default-premium", temperature = 1, description = "Factual writing with high accuracy" }writing-factual-cheap = { model = "@default-small", temperature = 0.1, description = "Cheap factual writing with high accuracy" }-writing-creative = { model = "@default-premium", temperature = 0.9, description = "Creative writing with high variability" }+writing-creative = { model = "@default-premium", temperature = 1, description = "Creative writing with high variability" }writing-creative-cheap = { model = "@default-small-creative", temperature = 0.9, description = "Cheap creative writing with high variability" }# Retrievalretrieval = { model = "@default-large-context-text", temperature = 0.1, description = "Data retrieval from large text corpora" }-retrieval-cheap = { model = "gemini-flash-lite-latest", temperature = 0.1, description = "Cheap data retrieval from large text corpora" }-retrieval-premium = { model = "claude-4.8-opus", temperature = 0.1, description = "Premium data retrieval with highest accuracy" }+retrieval-cheap = { model = "gpt-5.4-nano", temperature = 0.1, description = "Cheap data retrieval from large text corpora" }+retrieval-premium = { model = "gpt-6-astra", temperature = 1, description = "Premium data retrieval with highest accuracy" }# Engineering-engineering-structured = { model = "@default-premium-structured", temperature = 0.2, description = "Structured engineering output (JSON, schemas)" }-engineering-code = { model = "@default-premium", temperature = 0.1, description = "Code generation and analysis" }-engineering-code-cheap = { model = "claude-4.6-sonnet", temperature = 0.1, description = "Cheap code generation and analysis" }-engineering-code-cheaper = { model = "claude-4.5-haiku", temperature = 0.1, description = "Cheapest code generation and analysis" }-engineering-codebase-analysis = { model = "@best-gemini", temperature = 0.1, description = "Large codebase analysis" }+engineering-structured = { model = "@default-premium-structured", temperature = 1, description = "Structured engineering output (JSON, schemas)" }+engineering-code = { model = "@default-premium", temperature = 1, description = "Code generation and analysis" }+engineering-code-cheap = { model = "gpt-5.4", temperature = 0.1, description = "Cheap code generation and analysis" }+engineering-code-cheaper = { model = "gpt-5.4-nano", temperature = 0.1, description = "Cheapest code generation and analysis" }+engineering-codebase-analysis = { model = "@default-premium", temperature = 1, description = "Large codebase analysis" }# Vision-vision = { model = "@default-premium-vision", temperature = 0.5, description = "Understanding and interpreting images" }+vision = { model = "@default-premium-vision", temperature = 1, description = "Understanding and interpreting images" }vision-cheap = { model = "@default-small-vision", temperature = 0.5, description = "Cheap image understanding for simple tasks" }-vision-diagram = { model = "@default-premium-vision", temperature = 0.3, description = "Diagram and chart interpretation" }-vision-table = { model = "@default-premium-vision", temperature = 0.3, description = "Table extraction from images" }+vision-diagram = { model = "@default-premium-vision", temperature = 1, description = "Diagram and chart interpretation" }+vision-table = { model = "@default-premium-vision", temperature = 1, description = "Table extraction from images" }# Image generation prompting-img-gen-prompting = { model = "@default-premium", temperature = 0.5, description = "Crafting image generation prompts" }+img-gen-prompting = { model = "@default-premium", temperature = 1, description = "Crafting image generation prompts" }img-gen-prompting-cheap = { model = "@default-small-creative", temperature = 0.5, description = "Cheap image prompt generation" }# Reasoning-deep-analysis = { model = "@default-premium", temperature = 0.1, reasoning_effort = "high", description = "Deep reasoning and analysis" }-quick-reasoning = { model = "@default-premium", temperature = 0.3, reasoning_effort = "low", description = "Quick reasoning for simple tasks" }+deep-analysis = { model = "@default-premium", temperature = 1, reasoning_effort = "high", description = "Deep reasoning and analysis" }+quick-reasoning = { model = "@default-premium", temperature = 1, reasoning_effort = "low", description = "Quick reasoning for simple tasks" }# Testingtesting-text = { model = "@default-small", temperature = 0.5, description = "Testing preset for text generation" }diff --git a/pipelex/kit/configs/inference/deck/2_img_gen_deck.toml b/pipelex/kit/configs/inference/deck/2_img_gen_deck.tomlindex a2c73f486..503413857 100644--- a/pipelex/kit/configs/inference/deck/2_img_gen_deck.toml+++ b/pipelex/kit/configs/inference/deck/2_img_gen_deck.toml@@ -32,10 +32,9 @@ choice_default = "$gen-image"[img_gen.aliases]best-gpt = "gpt-image-2"-best-gemini = "nano-banana-2"-default-general = "nano-banana"-default-premium = "nano-banana-2"+default-general = "gpt-image-2"+default-premium = "gpt-image-2"default-small = "gpt-image-1-mini"####################################################################################################@@ -51,7 +50,7 @@ gen-image-high-quality = { model = "@default-premium", quality = "high", descrip# Testinggen-image-testing = { model = "@default-small", quality = "low", description = "Testing preset for image generation" }-gen-image-testing-img2img = { model = "nano-banana-pro", description = "Testing preset for image-to-image" }+gen-image-testing-img2img = { model = "@default-premium", description = "Testing preset for image-to-image" }synthesize-photo = { model = "@default-small", quality = "low", description = "Synthesize realistic photos for testing" }-synthesize-ui = { model = "nano-banana-pro", description = "Synthesize UI screenshots for testing" }-synthesize-chart = { model = "nano-banana-pro", description = "Synthesize charts and graphs for testing" }+synthesize-ui = { model = "@default-premium", description = "Synthesize UI screenshots for testing" }+synthesize-chart = { model = "@default-premium", description = "Synthesize charts and graphs for testing" }diff --git a/pipelex/kit/deck_variants/README.md b/pipelex/kit/deck_variants/README.mdnew file mode 100644index 000000000..ac4e87028--- /dev/null+++ b/pipelex/kit/deck_variants/README.md@@ -0,0 +1,26 @@+# Deck variants++A deck variant is a complete set of the numbered model deck files (`1_llm_deck.toml`, `2_img_gen_deck.toml`, `3_extract_deck.toml`, `4_search_deck.toml`) kept as an alternative edition of the deck that the kit ships in `pipelex/kit/configs/inference/deck/`. Nothing loads a variant: `pipelex init` does not copy it, `pipelex update` and `pipelex doctor` do not diff against it, and the deck manifest does not know it exists. It is source code that is kept correct, not configuration that is applied.++`multi_provider/` is the deck Pipelex shipped before the default moved to the models the Pipelex Gateway serves from Azure. It resolves the default aliases and presets to Anthropic, Google and OpenAI models, and it still defines the three provider-named aliases (`best-claude`, `best-gemini`, `best-mistral`) that the shipped deck no longer carries.++The files keep their header comment about being managed by `pipelex update`, because they are byte-identical copies of what was shipped. That sentence is true of an installed deck, not of this parked copy.++## What keeps a variant from rotting++`tests/unit/pipelex/kit/test_deck_variants.py` loads every variant through the same loader the runtime uses and holds it to the shipped deck two ways.++The first is the vocabulary: the variant must define exactly the same alias, preset and waterfall names, per model family, as the shipped deck. The only differences it tolerates are the names the shipped deck deliberately dropped, which the test lists explicitly, so a stale entry in that list fails too. Adding a preset to the shipped deck and not to a variant turns the test red.++The second is the handles: every model handle a variant names and the shipped deck does not must still be declared by one of the kit's backend files. This is how a parked deck actually goes stale — pipelex v0.61.0 retired the GPT-4.1, o-series and GPT-5 to 5.2 generations, and a variant naming one of those would otherwise pass the vocabulary check forever. The check is scoped to the handles only the variant names, because a handle the shipped deck names too is already exercised at boot, and some of those are gateway-served with no backend section of their own.++## Re-enabling a variant++Copy its numbered files over the ones in `pipelex/kit/configs/inference/deck/`, then mirror the kit into this repository's own `.pipelex/` with `pipelex update --local`. Nothing else is wired to a variant, so there is no switch to flip.++## Where a variant must not live++A variant directory must never sit under a directory named `deck/`, and must never sit anywhere under `pipelex/kit/configs/`.++- The deck loader collects `*.toml` recursively from the installed deck directory, so a variant nested inside `deck/` would be merged into the live deck at boot.+- Everything under `configs/` is treated as a template: `ensure_global_config_exists` copies the whole tree into a new `~/.pipelex/`, and the `check-config-sync` gate holds this repository's `.pipelex/` to the same contents, so a variant there would be installed for every user and demand a mirrored copy.diff --git a/pipelex/kit/deck_variants/multi_provider/1_llm_deck.toml b/pipelex/kit/deck_variants/multi_provider/1_llm_deck.tomlnew file mode 100644index 000000000..c57fb0ac7--- /dev/null+++ b/pipelex/kit/deck_variants/multi_provider/1_llm_deck.toml@@ -0,0 +1,94 @@+####################################################################################################+# Pipelex Model Deck - LLM Configuration+####################################################################################################+#+# This file defines model defaults, aliases, and presets for LLMs+#+# Managed by `pipelex update`. To customize without conflict, edit+# x_custom_llm_deck.toml in this directory — pipelex never tracks or+# overwrites x_custom_* files. Local edits to this file are backed up+# to <file>.bak.<timestamp> on update but will not survive future runs.+#+# Model Reference Syntax:+# - Preset: $preset_name or preset:preset_name+# - Alias: @alias_name or alias:alias_name+#+# Documentation: https://docs.pipelex.com+# Support: https://go.pipelex.com/discord+#+####################################################################################################++####################################################################################################+# LLM Default Choices+####################################################################################################++[llm.choice_defaults]+default_temperature = 0.5+for_text = "@default-general"+for_object = "@default-general"++####################################################################################################+# LLM Aliases+####################################################################################################++[llm.aliases]+best-gpt = "gpt-5.5"+best-claude = "claude-4.8-opus"+best-gemini = "gemini-pro-latest"+best-mistral = "mistral-large"++# Default aliases (first choice from waterfalls)+default-general = "claude-4.6-sonnet"+default-premium = "claude-4.8-opus"+default-premium-vision = "claude-4.8-opus"+default-premium-structured = "claude-4.8-opus"+default-large-context-code = "gemini-pro-latest"+default-large-context-text = "gemini-flash-latest"+default-small = "gpt-4o-mini"+default-small-structured = "gpt-4o-mini"+default-small-vision = "gemini-flash-latest"+default-small-creative = "gemini-flash-latest"++####################################################################################################+# LLM Presets+####################################################################################################++[llm.presets]++# Writing+writing-factual = { model = "@default-premium", temperature = 0.1, description = "Factual writing with high accuracy" }+writing-factual-cheap = { model = "@default-small", temperature = 0.1, description = "Cheap factual writing with high accuracy" }+writing-creative = { model = "@default-premium", temperature = 0.9, description = "Creative writing with high variability" }+writing-creative-cheap = { model = "@default-small-creative", temperature = 0.9, description = "Cheap creative writing with high variability" }++# Retrieval+retrieval = { model = "@default-large-context-text", temperature = 0.1, description = "Data retrieval from large text corpora" }+retrieval-cheap = { model = "gemini-flash-lite-latest", temperature = 0.1, description = "Cheap data retrieval from large text corpora" }+retrieval-premium = { model = "claude-4.8-opus", temperature = 0.1, description = "Premium data retrieval with highest accuracy" }++# Engineering+engineering-structured = { model = "@default-premium-structured", temperature = 0.2, description = "Structured engineering output (JSON, schemas)" }+engineering-code = { model = "@default-premium", temperature = 0.1, description = "Code generation and analysis" }+engineering-code-cheap = { model = "claude-4.6-sonnet", temperature = 0.1, description = "Cheap code generation and analysis" }+engineering-code-cheaper = { model = "claude-4.5-haiku", temperature = 0.1, description = "Cheapest code generation and analysis" }+engineering-codebase-analysis = { model = "@best-gemini", temperature = 0.1, description = "Large codebase analysis" }++# Vision+vision = { model = "@default-premium-vision", temperature = 0.5, description = "Understanding and interpreting images" }+vision-cheap = { model = "@default-small-vision", temperature = 0.5, description = "Cheap image understanding for simple tasks" }+vision-diagram = { model = "@default-premium-vision", temperature = 0.3, description = "Diagram and chart interpretation" }+vision-table = { model = "@default-premium-vision", temperature = 0.3, description = "Table extraction from images" }++# Image generation prompting+img-gen-prompting = { model = "@default-premium", temperature = 0.5, description = "Crafting image generation prompts" }+img-gen-prompting-cheap = { model = "@default-small-creative", temperature = 0.5, description = "Cheap image prompt generation" }++# Reasoning+deep-analysis = { model = "@default-premium", temperature = 0.1, reasoning_effort = "high", description = "Deep reasoning and analysis" }+quick-reasoning = { model = "@default-premium", temperature = 0.3, reasoning_effort = "low", description = "Quick reasoning for simple tasks" }++# Testing+testing-text = { model = "@default-small", temperature = 0.5, description = "Testing preset for text generation" }+testing-structured = { model = "@default-small-structured", temperature = 0.1, description = "Testing preset for structured output" }+testing-vision = { model = "@default-small-vision", temperature = 0.5, description = "Testing preset for vision tasks" }+testing-vision-structured = { model = "@default-small-vision", temperature = 0.5, description = "Testing preset for structured vision output" }diff --git a/pipelex/kit/deck_variants/multi_provider/2_img_gen_deck.toml b/pipelex/kit/deck_variants/multi_provider/2_img_gen_deck.tomlnew file mode 100644index 000000000..a2c73f486--- /dev/null+++ b/pipelex/kit/deck_variants/multi_provider/2_img_gen_deck.toml@@ -0,0 +1,57 @@+####################################################################################################+# Pipelex Model Deck - Image Generation Configuration+####################################################################################################+#+# This file defines model aliases and presets for image generation models+#+# Managed by `pipelex update`. To customize without conflict, create an+# x_custom_*.toml file in this directory — pipelex never tracks or+# overwrites x_custom_* files. Local edits to this file are backed up+# to <file>.bak.<timestamp> on update but will not survive future runs.+#+# Model Reference Syntax:+# - Preset: $preset_name or preset:preset_name+# - Alias: @alias_name or alias:alias_name+#+# Documentation: https://docs.pipelex.com+# Support: https://go.pipelex.com/discord+#+####################################################################################################++####################################################################################################+# Image Generation Default Choices+####################################################################################################++[img_gen]+default_quality = "medium"+choice_default = "$gen-image"++####################################################################################################+# Image Generation Aliases+####################################################################################################++[img_gen.aliases]+best-gpt = "gpt-image-2"+best-gemini = "nano-banana-2"++default-general = "nano-banana"+default-premium = "nano-banana-2"+default-small = "gpt-image-1-mini"++####################################################################################################+# Image Generation Presets+####################################################################################################++[img_gen.presets]++# General purpose+gen-image = { model = "@default-general", quality = "medium", description = "Standard image generation" }+gen-image-fast = { model = "@default-small", quality = "low", description = "Fast image generation with lower quality" }+gen-image-high-quality = { model = "@default-premium", quality = "high", description = "High-quality image generation" }++# Testing+gen-image-testing = { model = "@default-small", quality = "low", description = "Testing preset for image generation" }+gen-image-testing-img2img = { model = "nano-banana-pro", description = "Testing preset for image-to-image" }+synthesize-photo = { model = "@default-small", quality = "low", description = "Synthesize realistic photos for testing" }+synthesize-ui = { model = "nano-banana-pro", description = "Synthesize UI screenshots for testing" }+synthesize-chart = { model = "nano-banana-pro", description = "Synthesize charts and graphs for testing" }diff --git a/pipelex/kit/deck_variants/multi_provider/3_extract_deck.toml b/pipelex/kit/deck_variants/multi_provider/3_extract_deck.tomlnew file mode 100644index 000000000..c67d393f1--- /dev/null+++ b/pipelex/kit/deck_variants/multi_provider/3_extract_deck.toml@@ -0,0 +1,48 @@+####################################################################################################+# Pipelex Model Deck - Base Configuration+####################################################################################################+#+# This file defines model aliases and presets for Document extraction models, including+# extraction of text and images from documents and OCR and text extraction from images.+#+# Managed by `pipelex update`. To customize without conflict, edit+# x_custom_extract_deck.toml in this directory — pipelex never tracks or+# overwrites x_custom_* files. Local edits to this file are backed up+# to <file>.bak.<timestamp> on update but will not survive future runs.+#+# Model Reference Syntax:+# - Preset: $preset_name or preset:preset_name+# - Alias: @alias_name or alias:alias_name+#+# Documentation: https://docs.pipelex.com+# Support: https://go.pipelex.com/discord+#+####################################################################################################++####################################################################################################+# Document Extraction Default Choices+####################################################################################################++[extract]+choice_default = "@default-extract-document"++####################################################################################################+# Aliases+####################################################################################################++[extract.aliases]+default-premium = "azure-document-intelligence"+default-extract-document = "azure-document-intelligence"+default-extract-image = "azure-document-intelligence"+default-text-from-pdf = "pypdfium2-extract-pdf"+default-no-inference = "pypdfium2-extract-pdf"+default-extract-web-page = "linkup-fetch"++####################################################################################################+# Extract Presets+####################################################################################################++[extract.presets]++# Testing+extract-testing = { model = "@default-extract-document", max_nb_images = 5, image_min_size = 50, description = "Testing preset for document extraction" }diff --git a/pipelex/kit/deck_variants/multi_provider/4_search_deck.toml b/pipelex/kit/deck_variants/multi_provider/4_search_deck.tomlnew file mode 100644index 000000000..230a1ec67--- /dev/null+++ b/pipelex/kit/deck_variants/multi_provider/4_search_deck.toml@@ -0,0 +1,42 @@+####################################################################################################+# Pipelex Model Deck - Search Configuration+####################################################################################################+#+# This file defines model aliases and presets for Search models, including+# web search providers like Linkup.+#+# Managed by `pipelex update`. To customize without conflict, create an+# x_custom_*.toml file in this directory — pipelex never tracks or+# overwrites x_custom_* files. Local edits to this file are backed up+# to <file>.bak.<timestamp> on update but will not survive future runs.+#+# Model Reference Syntax:+# - Preset: $preset_name or preset:preset_name+# - Alias: @alias_name or alias:alias_name+#+# Documentation: https://docs.pipelex.com+# Support: https://go.pipelex.com/discord+#+####################################################################################################++####################################################################################################+# Search Default Choices+####################################################################################################++[search]+choice_default = "@default-search"++####################################################################################################+# Aliases+####################################################################################################++[search.aliases]+default-search = "linkup-standard"++####################################################################################################+# Search Presets+####################################################################################################++[search.presets]+standard = { model = "linkup-standard", include_images = false, include_inline_citations = true }+deep = { model = "linkup-deep", include_images = false, include_inline_citations = true }diff --git a/pipelex/kit/paths.py b/pipelex/kit/paths.pyindex f87b4e75a..73dc6d20b 100644--- a/pipelex/kit/paths.py+++ b/pipelex/kit/paths.py@@ -79,3 +79,16 @@ def get_kit_migrations_dir() -> Traversable:Traversable object pointing to pipelex.kit/migrations"""return get_kit_root() / "migrations"+++def get_kit_deck_variants_dir() -> Traversable:+ """Get the parked deck variants directory within the kit package.++ A deck variant is an alternative edition of the numbered model deck files that nothing+ loads: `init`, `update` and the deck manifest ignore it. It sits beside `configs/` rather+ than inside it precisely so that no installer picks it up. See the directory's README.++ Returns:+ Traversable object pointing to pipelex.kit/deck_variants+ """+ return get_kit_root() / "deck_variants"diff --git a/subject_grants.toml b/subject_grants.tomlindex 603c70b53..87e03afa1 100644--- a/subject_grants.toml+++ b/subject_grants.toml@@ -2140,10 +2140,6 @@ rationale = "Operates on the ref; single operand (qualifiers keyword-only)."param = "waterfall_name"rationale = "Operates on the waterfall_name; single operand (qualifiers keyword-only)."-["pipelex/cogt/models/model_deck.py::ModelDeck._validate_llm_setting"]-param = "llm_setting"-rationale = "Verb–object: validates/checks the llm_setting; single operand."-["pipelex/cogt/models/model_deck.py::ModelDeck._warn_if_ambiguous_extract"]param = "name"rationale = "Verb–object: validates/checks the name; single operand."@@ -2164,10 +2160,6 @@ rationale = "Verb–object: validates/checks the name; single operand."param = "llm_choice"rationale = "Verb–object: validates/checks the llm_choice; single operand."-["pipelex/cogt/models/model_deck.py::ModelDeck.final_validate"]-param = "deck"-rationale = "Verb–object: validates/checks the deck; single operand."-["pipelex/cogt/models/model_deck.py::ModelDeck.get_aliases_and_waterfalls_for_type"]param = "model_type"rationale = "Keyed accessor by the model_type; single operand."diff --git a/tests/e2e/agent_cli/test_offline_run_dry.py b/tests/e2e/agent_cli/test_offline_run_dry.pyindex 36306c7dd..78288d594 100644--- a/tests/e2e/agent_cli/test_offline_run_dry.py+++ b/tests/e2e/agent_cli/test_offline_run_dry.py@@ -247,7 +247,7 @@ class TestOfflineDryRun:"""Gateway enabled + no network + primed cache → an image-gen pipe dry-runs offline.Companion to ``test_gateway_known_with_cache_succeeds_offline``, but the bundle's pipe is a- ``PipeImgGen`` referencing a gateway image handle (``nano-banana``). It proves the derived+ ``PipeImgGen`` referencing a gateway image handle (``gpt-image-2``). It proves the derivedcache covers img_gen handles too — not just LLMs — so the gateway-membership check passes foran image model and the offline dry-run completes.diff --git a/tests/e2e/data/offline_mode/gateway_img_gen_model/gateway_img_gen_model.mthds b/tests/e2e/data/offline_mode/gateway_img_gen_model/gateway_img_gen_model.mthdsindex 0b5a76720..6ebb1dc6f 100644--- a/tests/e2e/data/offline_mode/gateway_img_gen_model/gateway_img_gen_model.mthds+++ b/tests/e2e/data/offline_mode/gateway_img_gen_model/gateway_img_gen_model.mthds@@ -7,5 +7,5 @@ main_pipe = "gateway_img_gen_pipe"type = "PipeImgGen"description = "Single image-generation step using a gateway-listed image model handle"output = "Image"-model = "nano-banana"+model = "gpt-image-2"prompt = "A single red circle on a white background."diff --git a/tests/e2e/data/offline_mode/gateway_known_model/gateway_known_model.mthds b/tests/e2e/data/offline_mode/gateway_known_model/gateway_known_model.mthdsindex d7087a6ab..89f5d7650 100644--- a/tests/e2e/data/offline_mode/gateway_known_model/gateway_known_model.mthds+++ b/tests/e2e/data/offline_mode/gateway_known_model/gateway_known_model.mthds@@ -8,5 +8,5 @@ type = "PipeLLM"description = "Single LLM step using a gateway-listed model handle"inputs = { topic = "Text" }output = "Text"-model = "gpt-4o-mini"+model = "gpt-5.4-nano"prompt = "Write a single sentence about $topic.text."diff --git a/tests/unit/pipelex/kernel/test_llm_ops_model_resolution.py b/tests/unit/pipelex/kernel/test_llm_ops_model_resolution.pyindex 931c084c4..90fc312e4 100644--- a/tests/unit/pipelex/kernel/test_llm_ops_model_resolution.py+++ b/tests/unit/pipelex/kernel/test_llm_ops_model_resolution.py@@ -10,7 +10,7 @@ class TestConcreteLlmModelHandle:"""The reported model must be the same whether or not the pipe actually ran."""def test_an_alias_resolves_in_one_hop(self) -> None:- assert concrete_llm_model_handle("@default-general") == "claude-4.6-sonnet"+ assert concrete_llm_model_handle("@default-general") == "gpt-5.4"def test_a_preset_follows_the_chain_past_its_alias(self) -> None:"""The case that made DRY and LIVE disagree: a preset's model is itself an alias."""diff --git a/tests/unit/pipelex/kit/test_deck_variants.py b/tests/unit/pipelex/kit/test_deck_variants.pynew file mode 100644index 000000000..41b9c8126--- /dev/null+++ b/tests/unit/pipelex/kit/test_deck_variants.py@@ -0,0 +1,229 @@+"""Parity guard for the parked deck variants under `pipelex/kit/deck_variants/`.++Nothing loads a variant at runtime, so nothing else would notice it rotting. This module loads+every variant through the same loader the runtime uses and holds it to the shipped deck two ways:++- the same alias, preset and waterfall names, per model family, except for the names the shipped+ deck deliberately dropped, which are listed here by variant;+- every model handle the variant names and the shipped deck does not is still declared by one of+ the kit's backend files, because handle retirement is how a parked deck actually goes stale.++The second check is scoped to the handles only the variant names. A handle the shipped deck names+too is already exercised at boot, and some of those are gateway-served with no backend section of+their own, so holding them to a backend declaration would fail on a deck that is perfectly live.+"""++from collections.abc import Mapping+from pathlib import Path++import pytest++from pipelex.cogt.models.deck_manifest import kit_deck_dir, list_managed_kit_files+from pipelex.cogt.models.model_deck import (+ ExtractDeckBlueprint,+ ImgGenDeckBlueprint,+ LLMDeckBlueprint,+ ModelDeckBlueprint,+ SearchDeckBlueprint,+)+from pipelex.cogt.models.model_deck_loader import load_model_deck_blueprint+from pipelex.cogt.models.model_reference import ModelReference, ModelReferenceKind+from pipelex.kit.paths import get_kit_configs_dir, get_kit_deck_variants_dir+from pipelex.tools.misc.toml_utils import load_toml_from_path++# A vocabulary coordinate: the model family, then the kind of name within it.+DeckFamilyBlueprint = LLMDeckBlueprint | ExtractDeckBlueprint | ImgGenDeckBlueprint | SearchDeckBlueprint+VocabularyKey = tuple[str, str]+Vocabulary = dict[VocabularyKey, set[str]]+PermittedDrops = Mapping[VocabularyKey, frozenset[str]]++# Names the shipped deck deliberately no longer defines, per variant directory. Each one must be+# present in the variant and absent from the shipped deck, so an entry that goes stale fails too.+# A variant absent from this mapping is held to strict equality.+PERMITTED_DROPS_BY_VARIANT: dict[str, PermittedDrops] = {+ "multi_provider": {+ ("llm", "aliases"): frozenset({"best-claude", "best-gemini", "best-mistral"}),+ ("img_gen", "aliases"): frozenset({"best-gemini"}),+ },+}+++def list_variant_dirs() -> list[Path]:+ """Every parked variant directory, sorted, skipping Python cruft."""+ variants_root = Path(str(get_kit_deck_variants_dir()))+ return sorted(entry for entry in variants_root.iterdir() if entry.is_dir() and not entry.name.startswith("__"))+++def extract_vocabulary(blueprint: ModelDeckBlueprint) -> Vocabulary:+ """The alias, preset and waterfall names a deck defines, per model family."""+ family_blueprints: dict[str, DeckFamilyBlueprint] = {+ "llm": blueprint.llm,+ "extract": blueprint.extract,+ "img_gen": blueprint.img_gen,+ "search": blueprint.search,+ }+ vocabulary: Vocabulary = {}+ for family, family_blueprint in family_blueprints.items():+ vocabulary[family, "aliases"] = set(family_blueprint.aliases)+ vocabulary[family, "presets"] = set(family_blueprint.presets)+ vocabulary[family, "waterfalls"] = set(family_blueprint.waterfalls)+ return vocabulary+++def compare_vocabularies(*, shipped: Vocabulary, variant: Vocabulary, permitted_drops: PermittedDrops) -> list[str]:+ """Every way the variant's vocabulary differs from the shipped deck's, as readable sentences."""+ differences: list[str] = []+ for key in sorted(shipped.keys() | variant.keys()):+ family, kind = key+ shipped_names = shipped.get(key, set())+ variant_names = variant.get(key, set())+ dropped = permitted_drops.get(key, frozenset())++ for name in sorted(dropped):+ if name not in variant_names:+ differences.append(f"{family}.{kind}: '{name}' is a permitted drop but the variant does not define it")+ if name in shipped_names:+ differences.append(f"{family}.{kind}: '{name}' is a permitted drop but the shipped deck still defines it")+ for name in sorted(shipped_names - variant_names):+ differences.append(f"{family}.{kind}: '{name}' is in the shipped deck but missing from the variant")+ for name in sorted(variant_names - shipped_names - dropped):+ differences.append(f"{family}.{kind}: '{name}' is in the variant but not in the shipped deck, and is not a permitted drop")+ return differences+++def load_deck_from_dir(deck_dir: Path, *, filenames: list[str]) -> ModelDeckBlueprint:+ """Load the named deck files from a directory, the way the runtime loads a deck."""+ return load_model_deck_blueprint([str(deck_dir / filename) for filename in sorted(filenames)])+++def list_declared_backend_handles() -> set[str]:+ """Every model handle the kit's backend files declare. Each top-level table is one, bar `defaults`."""+ backends_dir = Path(str(get_kit_configs_dir())) / "inference" / "backends"+ handles: set[str] = set()+ for backend_path in sorted(backends_dir.glob("*.toml")):+ backend_dict = load_toml_from_path(str(backend_path))+ handles.update(name for name, value in backend_dict.items() if isinstance(value, dict) and name != "defaults")+ return handles+++def extract_model_handles(blueprint: ModelDeckBlueprint) -> set[str]:+ """Every concrete handle a deck names, from its alias targets, its waterfall entries and its presets' models.++ A reference naming an alias, a preset or a waterfall carries no handle of its own: it resolves+ through one of the three collections this function reads directly. A waterfall's own entries do+ carry handles, which is why they are read here and not only through whatever names the waterfall.+ """+ family_blueprints: list[DeckFamilyBlueprint] = [blueprint.llm, blueprint.extract, blueprint.img_gen, blueprint.search]+ references: list[str] = []+ for family_blueprint in family_blueprints:+ references.extend(family_blueprint.aliases.values())+ for waterfall_entries in family_blueprint.waterfalls.values():+ references.extend(waterfall_entries)+ references.extend(setting.model for setting in family_blueprint.presets.values())+ handles: set[str] = set()+ for reference in references:+ parsed = ModelReference.parse(reference)+ match parsed.kind:+ case ModelReferenceKind.HANDLE:+ handles.add(parsed.name)+ case ModelReferenceKind.ALIAS | ModelReferenceKind.WATERFALL | ModelReferenceKind.PRESET:+ continue+ return handles+++def make_vocabulary(*, aliases: set[str], presets: set[str]) -> Vocabulary:+ """A minimal single-family vocabulary, for the comparator's own tests."""+ return {("llm", "aliases"): aliases, ("llm", "presets"): presets, ("llm", "waterfalls"): set()}+++class TestDeckVariants:+ def test_at_least_one_variant_exists(self):+ """Without this, the parametrized parity test would pass by running zero cases."""+ assert list_variant_dirs(), "No deck variant found under pipelex/kit/deck_variants/"++ @pytest.mark.parametrize("variant_dir", list_variant_dirs(), ids=lambda path: path.name)+ def test_variant_ships_the_same_deck_files(self, variant_dir: Path):+ variant_filenames = {entry.name for entry in variant_dir.iterdir() if entry.is_file() and entry.suffix == ".toml"}+ assert variant_filenames == set(list_managed_kit_files()), (+ f"Variant '{variant_dir.name}' does not hold the same numbered deck files as the kit's shipped deck"+ )++ @pytest.mark.parametrize("variant_dir", list_variant_dirs(), ids=lambda path: path.name)+ def test_variant_matches_the_shipped_vocabulary(self, variant_dir: Path):+ managed_filenames = list(list_managed_kit_files())+ shipped_blueprint = load_deck_from_dir(kit_deck_dir(), filenames=managed_filenames)+ variant_blueprint = load_deck_from_dir(variant_dir, filenames=managed_filenames)++ differences = compare_vocabularies(+ shipped=extract_vocabulary(shipped_blueprint),+ variant=extract_vocabulary(variant_blueprint),+ permitted_drops=PERMITTED_DROPS_BY_VARIANT.get(variant_dir.name, {}),+ )+ assert not differences, f"Variant '{variant_dir.name}' has drifted from the shipped deck:\n" + "\n".join(differences)++ @pytest.mark.parametrize("variant_dir", list_variant_dirs(), ids=lambda path: path.name)+ def test_variant_only_handles_are_still_declared_by_a_backend(self, variant_dir: Path):+ """Name parity says nothing about a handle that was retired from the backends underneath it."""+ managed_filenames = list(list_managed_kit_files())+ shipped_handles = extract_model_handles(load_deck_from_dir(kit_deck_dir(), filenames=managed_filenames))+ variant_handles = extract_model_handles(load_deck_from_dir(variant_dir, filenames=managed_filenames))++ variant_only_handles = variant_handles - shipped_handles+ assert variant_only_handles, f"Variant '{variant_dir.name}' names no handle of its own, which makes this guard vacuous"++ declared_handles = list_declared_backend_handles()+ undeclared = sorted(handle for handle in variant_only_handles if handle not in declared_handles)+ assert not undeclared, f"Variant '{variant_dir.name}' names handles no backend file declares any more: {', '.join(undeclared)}"++ def test_handle_collection_reads_waterfall_entries(self):+ """A handle a deck names only inside a waterfall must still reach the retirement check above.++ No deck declares a waterfall today, so nothing else in this module would notice the+ collector skipping them, and the guard would go quietly blind the moment one does.+ """+ blueprint = load_deck_from_dir(kit_deck_dir(), filenames=list(list_managed_kit_files()))+ probe_handle = "handle-named-only-by-a-waterfall"+ assert probe_handle not in extract_model_handles(blueprint)++ blueprint.llm.waterfalls["waterfall-parity-probe"] = [probe_handle]+ assert probe_handle in extract_model_handles(blueprint), "A handle named inside a waterfall escaped the handle collection"++ def test_comparator_reports_a_preset_the_variant_is_missing(self):+ differences = compare_vocabularies(+ shipped=make_vocabulary(aliases={"default-general"}, presets={"writing-factual", "vision"}),+ variant=make_vocabulary(aliases={"default-general"}, presets={"writing-factual"}),+ permitted_drops={},+ )+ assert differences == ["llm.presets: 'vision' is in the shipped deck but missing from the variant"]++ def test_comparator_reports_an_alias_only_the_variant_has(self):+ differences = compare_vocabularies(+ shipped=make_vocabulary(aliases={"default-general"}, presets=set()),+ variant=make_vocabulary(aliases={"default-general", "best-claude"}, presets=set()),+ permitted_drops={},+ )+ assert differences == ["llm.aliases: 'best-claude' is in the variant but not in the shipped deck, and is not a permitted drop"]++ def test_comparator_accepts_a_declared_drop(self):+ differences = compare_vocabularies(+ shipped=make_vocabulary(aliases={"default-general"}, presets=set()),+ variant=make_vocabulary(aliases={"default-general", "best-claude"}, presets=set()),+ permitted_drops={("llm", "aliases"): frozenset({"best-claude"})},+ )+ assert differences == []++ def test_comparator_reports_a_drop_the_shipped_deck_still_defines(self):+ differences = compare_vocabularies(+ shipped=make_vocabulary(aliases={"default-general", "best-claude"}, presets=set()),+ variant=make_vocabulary(aliases={"default-general", "best-claude"}, presets=set()),+ permitted_drops={("llm", "aliases"): frozenset({"best-claude"})},+ )+ assert differences == ["llm.aliases: 'best-claude' is a permitted drop but the shipped deck still defines it"]++ def test_comparator_reports_a_drop_the_variant_does_not_define(self):+ differences = compare_vocabularies(+ shipped=make_vocabulary(aliases={"default-general"}, presets=set()),+ variant=make_vocabulary(aliases={"default-general"}, presets=set()),+ permitted_drops={("llm", "aliases"): frozenset({"best-mistral"})},+ )+ assert differences == ["llm.aliases: 'best-mistral' is a permitted drop but the variant does not define it"]diff --git a/wip/azure-only-deck/deferred.md b/wip/azure-only-deck/deferred.mdnew file mode 100644index 000000000..87c8fc788--- /dev/null+++ b/wip/azure-only-deck/deferred.md@@ -0,0 +1,68 @@+---+status: active+item: L-260918-941a99+---++# Deferred findings — Azure-only deck++Findings raised during this campaign's reviews that are real but outside its scope. Each says what was seen, why it was not done here, and what doing it would involve.++## Two inference error classes now have no raise site++`LLMSettingsValidationError` (`pipelex/cogt/exceptions.py:251`) lost its only raise site when this campaign deleted `ModelDeck.final_validate` and its `_validate_llm_setting` helper — the dead validator that would have rejected the Azure deck's premium tier. `ImgGenSettingsValidationError` (`:255`) was already in that state before this campaign and has no raise site anywhere in the tree either.++Both are still part of the documented error surface: `docs/errors/llm-settings-validation-error.md` and the generated identity snapshot carry them, and consumers outside this repository branch on `error_type`. Removing a class is therefore a wire change, needing `pipelex-dev generate-error-identity` and `generate-error-pages` and a changelog entry of its own, which is a different piece of work from shipping a deck.++**Verified**: `grep -rn 'LLMSettingsValidationError' --include='*.py'` returns only the class definition; the same for `ImgGenSettingsValidationError`.++**To do it**: decide whether the inference-settings validation these two named is coming back in some form. If it is not, delete both classes, regenerate the error identity and the error pages, and note the removed `error_type` values in the changelog as a breaking change for anyone branching on them.++## An offline boot can fail on a remote-config cache that predates `gpt-6-astra`++Raised by the Codex adversarial reviewer in round 3 and confirmed by the round's verifier. The cache at `~/.pipelex/cache/remote_config.json` carries `CACHE_SCHEMA_VERSION = 1` (`pipelex/system/pipelex_service/remote_config_cache.py:31`) with no TTL and no keying on the remote-config URL version, so a cache primed before `gpt-6-astra` was published stays valid and is served verbatim. `pipelex update` copies clean-behind deck files with `shutil.copy2` (`pipelex/cli/commands/update_cmd.py:156-159`) and never touches the cache. When the next boot cannot reach the network, `fetch_remote_config` falls back to that cache and returns `source=CACHED` rather than `None`, so `ModelManager._enforce_gateway_model_membership` runs and raises `GatewayUnknownModelError` at `model_manager.py:186` on the promoted handle.++It was not fixed here because the failure is loud rather than silent: the error names the handle, the backend and the config source, and `handle_gateway_unknown_model_error` prints two remediations, either of which clears it permanently — one online boot, or disabling the gateway backend. It also needs an offline boot and a pre-publication cache together. At round 3's `necessity` bar that is not ship-blocking, but it is the sharpest finding this campaign drew.++**Why no test catches it**: `tests/e2e/agent_cli/test_offline_run_dry.py` synthesises its cached payload *from the shipped kit deck*, and `test_primed_cache_specs_track_kit_deck_premium_alias` asserts that property deliberately. Every promoted handle is therefore present by construction, so no offline test can ever exercise version skew.++**To do it**: validate a candidate deck against the available cache before applying it, and refuse the update while preserving the current deck when a required handle is unavailable — or serve a fallback handle compatible with older caches. Either way it needs an end-to-end upgrade test built on a cache primed before the deck moved, which the current fixture design cannot express.++## Naming a premium alias directly in a pipe warns on every call++Raised by the Codex review pass in round 3 and confirmed by the round's verifier. `ModelDeck.get_llm_setting` resolves an alias by pairing its target with the deck-wide default temperature (`pipelex/cogt/models/model_deck.py:322-325`), which the shipped deck sets to 0.5. Because the premium tier now resolves to a model carrying `fixed_temperature = 1`, `_apply_constraints` overrides the value and logs a warning (`pipelex/cogt/llm/llm_worker_abstract.py:358-365`) from the per-job path, with no memoisation — once per call.++This is the corner the round-2 pass did not sweep when it set the twelve conflicting presets to temperature 1. The presets are covered; the alias path is not, and the shape is reachable from our own documentation, which teaches `model = "@default-premium"` inside a pipe at `docs/building-methods/pipes/pipe-operators/PipeStructure.md:123`.++**To do it**: decide where the constraint should be applied. Resolving an alias through the target model's `valued_constraints` at deck-build time is the direct fix, but it moves constraint knowledge into the deck layer; the alternative is to keep the override where it is and dedupe the warning per model. The choice belongs with whoever owns the resolution path, not with a deck change.++## `check-gateway-models` can never report drift++Found by the round-3 verifier while establishing how the gateway catalog listings had gone stale since 2026-07-27. `make check` runs `update-gateway-models-quiet` and then `check-gateway-models` in the same target, so the checker validates output the same target has just rewritten and cannot fail. `check-gateway-models` is not in `make agent-check` at all, so an agent never runs it even in the form that could report something.++That is why the listings drifted for months with every gate green, and why round 3 had to regenerate them by hand. It was not fixed here because it is a Makefile-wiring question about the drift regime rather than a deck change.++**To do it**: separate the two — either drop the regeneration from `make check` and let the checker speak, or move the checker into `make agent-check` in a form that reads the committed files rather than freshly generated ones.++## Whether large-codebase analysis belongs on the premium tier++Raised by the official code review in round 3. `engineering-codebase-analysis` now resolves to `@default-premium` (`gpt-6-astra`, input 10.0 / output 50.0, temperature fixed at 1) where the deck's own `default-large-context-code` alias resolves to `gpt-5.4` (input 2.5 / output 15.0, no fixed temperature) and is reached by no preset, no waterfall and no choice default.++The reviewer read this as an unremarked side effect of the sweep, and the verifier refuted that reading: `design.md` decision 4 names the repointing explicitly and `plan.md` Phase 3 repeats it as an instruction, and it was forced, since `best-gemini` is one of the provider-named aliases decision 8 removes. The alias was equally unreachable on `origin/dev`, where the preset reached its model through `@best-gemini`. So the framing is rejected and the design question is what remains: the preset's description is still "Large codebase analysis", the alias exists for exactly that job, and the cost and determinism deltas are real.++**To do it**: decide whether `engineering-codebase-analysis` should name `@default-large-context-code`, and if not, whether that alias should exist at all — an alias nothing reaches is never exercised by the boot-time membership check (`_collect_deck_referenced_handles` walks presets and choice defaults only, by design), so it can rot silently either way.++## Unverified deferrals from round 3++These were raised by reviewers and sorted as deferrals without being sent to the verifier, because at the round's bar they would not have been fixed whatever the verdict. Each rests on the reviewer's word alone.++**Unverified — preset descriptions no longer describe distinct presets** (cubic, and independently the official code review). `writing-factual` ("high accuracy") and `writing-creative` ("high variability") both resolve to `@default-premium` at temperature 1 and would issue identical calls; `engineering-structured`, `vision-diagram` and `vision-table` likewise lost the parameter their descriptions imply. These descriptions surface through `check-model` and the docs, so a reader choosing a preset by its description may be misled. The tier move itself was ratified at Checkpoint A, so what is open is whether the descriptions should be rewritten or the presets given distinct targets.++**Unverified — the parked variant ships to every install** (cubic). `get_kit_deck_variants_dir` is a public kit API whose only caller is the parity test, and the hatch wheel includes all of `pipelex/`, so `deck_variants/` reaches every install although the README states nothing loads it. Resolving the variants root inside the test, or excluding the directory from the wheel the way `pipelex/cli/dev_cli` is excluded, would keep the runtime surface to what the runtime uses.++**Unverified — nothing gates a preset against its model's fixed temperature** (official code review). Deleting `final_validate` removed the only code that could have caught the conflict this campaign had to find in review and fix by hand, and the boot-time membership check does not look at temperature. The next deck edit pointing a preset at a fixed-temperature model would reintroduce the warning storm with no gate going red. A unit test over the shipped deck, asserting each preset's temperature is compatible with its resolved model's `valued_constraints`, was the reviewer's suggestion. See also the entry above on the two error classes left with no raise site, which is the other half of that deletion.++**Unverified — the variant parity guard is blind to choice defaults** (official code review). `extract_vocabulary` reads aliases, presets and waterfalls, and `extract_model_handles` collects from alias targets, waterfall entries and preset models, so `[llm.choice_defaults]` and the img-gen, extract and search choice defaults are invisible to both halves of the guard. A variant whose choice default named a retired handle, or diverged from the shipped deck, would pass every assertion.++**Unverified — the retirement check reads backends the variant would never route through** (official code review). `list_declared_backend_handles()` unions the top-level tables of every `backends/*.toml`, including backends disabled by default and the bulk third-party catalogs. A handle retired from every backend the variant actually uses still passes as long as one unused file mentions it, which weakens what the README advertises as the way a parked deck goes stale.++**Unverified — image fixture generation runs on the premium tier** (official code review). `gen-image-testing-img2img`, `synthesize-ui` and `synthesize-chart` were repointed to `@default-premium` (`gpt-image-2`, input 8.0 / output 30.0) and declare no `quality`, so they fall to the default on the most expensive image model in the deck. `gpt-image-1-mini` declares the same image inputs and would satisfy the img2img requirement these presets exist for.diff --git a/wip/azure-only-deck/design.md b/wip/azure-only-deck/design.mdnew file mode 100644index 000000000..888038b67--- /dev/null+++ b/wip/azure-only-deck/design.md@@ -0,0 +1,112 @@+---+status: active+item: L-260918-941a99+---++# Azure-only model deck — design++The kit's default model deck resolves to models from several providers: Anthropic for the general and premium tiers, Google for the small vision and creative tiers and the large-context tiers, OpenAI for the small tier, Google again for image generation. This campaign makes the shipped deck resolve exclusively to the models the Pipelex Gateway serves from Azure: the OpenAI language and image models, and Azure Document Intelligence for document extraction. Today's multi-provider deck stays in the codebase, unloaded, and cannot drift from the shipped one.++**Scope.** What the deck resolves to by default in real use, when a method names a preset or an alias, or names nothing at all. Not the test profiles, which keep naming Anthropic and Google handles so the runtime's support for those providers stays tested. Not routing: the Gateway already serves every OpenAI model from Azure through the same SDK, so nothing about where a request goes changes here.++## How the deck works today++The kit ships one deck directory, `pipelex/kit/configs/inference/deck/`, holding the numbered files (`1_llm_deck.toml`, `2_img_gen_deck.toml`, `3_extract_deck.toml`, `4_search_deck.toml`) and the two `x_custom_*` templates. `pipelex init` copies the directory into the project's `.pipelex/inference/deck/` and stamps `.kit_manifest.json` with the kit version and a hash per numbered file (`pipelex/cogt/models/deck_manifest.py`). At boot, the loader reads every `*.toml` in the installed directory in sorted order and deep-merges them into one `ModelDeckBlueprint` (`pipelex/cogt/models/model_manager.py`, `pipelex/cogt/models/model_deck_loader.py`). `pipelex update` and `pipelex doctor` diff the installed numbered files against the kit's by hash and never touch `x_custom_*` files. Nothing in the kit, the loader or the manifest knows of more than one deck.++The deck is a vocabulary. Methods, the cookbook, the test bundles and the authoring skills reference aliases (`@default-premium`) and presets (`$writing-factual`, `$engineering-code`), never a provider. Most presets resolve through an alias; a handful name a model handle directly (`retrieval-cheap`, `retrieval-premium`, `engineering-code-cheap`, `engineering-code-cheaper`, and the `synthesize-*` and image-to-image testing presets in the image deck). The model handles are the only provider-specific content in the deck.++## Decisions++### 1. The alias and preset vocabulary is the contract; the handles are the edition++Every alias and preset name in the shipped deck keeps its name. Only what each name resolves to changes. Nothing downstream needs an edit: the sweep of the tests, the cookbook, `mthds-plugins` and `pipelex-plugins` found them referencing names, not models. The one deliberate exception is decision 8.++### 2. The Azure deck is the kit's one shipped deck++The numbered files under `pipelex/kit/configs/inference/deck/` become the Azure deck, under the same filenames. `init`, `update`, `doctor` and the manifest keep working unchanged.++An edition selector (an `init` flag, an `edition` field in the manifest, and `update` and `doctor` reading it to pick the kit directory to diff against) was considered and declined for now. It is a change at several sites for a switch nobody flips yet. If a second edition is ever wanted at runtime, the parked variant of decision 3 is what the selector would point at.++### 3. Today's deck is parked as an unloaded variant, guarded by a parity test++Today's numbered files move, unchanged, to `pipelex/kit/deck_variants/multi_provider/`. Nothing loads that directory: not `init`, not `update`, not the manifest. Re-enabling it is a directory swap.++The directory sits beside `pipelex/kit/configs/`, not inside it. Everything under `configs/` is treated as a template: `ensure_global_config_exists` copies the whole tree into a new `~/.pipelex/`, and `check-config-sync` holds this repository's `.pipelex/` to the same contents. It must never sit under a `deck/` directory either, because the deck loader reads its directory recursively.++A unit test keeps "disabled" from meaning "rotting": for every directory under `deck_variants/`, it loads the variant's numbered files through the same loader as the shipped deck, checks that they validate as a `ModelDeckBlueprint`, and asserts that the variant defines exactly the same alias names and preset names, per model type, as the shipped deck. The only permitted difference is the set of provider-named aliases the shipped deck drops (decision 8), listed explicitly in the test. A preset added to one deck and not the other fails the test.++### 4. LLM aliases++| Alias | Today | Azure deck | Why |+| --- | --- | --- | --- |+| `default-premium`, `default-premium-vision`, `default-premium-structured` | claude-4.8-opus | gpt-6-astra | The flagship, served on the gateway since the remote config publish of 2026-09-20. It fixes the temperature at 1, which decision 10 answers. |+| `default-general` (the choice default for `for_text` and `for_object`) | claude-4.6-sonnet | gpt-5.4 | The model every unnamed pipe gets. One step below premium, mirroring today's sonnet-below-opus shape. |+| `default-large-context-text`, `default-large-context-code` | gemini-flash-latest, gemini-pro-latest | gpt-5.4 | General tier. |+| `default-small`, `default-small-structured`, `default-small-vision`, `default-small-creative` | gpt-4o-mini, gpt-4o-mini, gemini-flash-latest, gemini-flash-latest | gpt-5.4-nano | Current generation with image and PDF input, at a small-tier price. |+| `best-gpt` | gpt-5.5 | gpt-6-astra | The best GPT the gateway serves. |+| `best-claude`, `best-gemini`, `best-mistral` | claude-4.8-opus, gemini-pro-latest, mistral-large | removed | Decision 8. |++Presets that name a model directly move to the tier they belong to: `retrieval-premium` to gpt-6-astra, `engineering-codebase-analysis` (today `@best-gemini`) to `@default-premium`, `engineering-code-cheap` to gpt-5.4, `retrieval-cheap` and `engineering-code-cheaper` to gpt-5.4-nano. The two reasoning presets (`deep-analysis`, `quick-reasoning`) keep their `reasoning_effort` and follow `@default-premium`.++### 5. Image generation aliases++| Alias | Today | Azure deck |+| --- | --- | --- |+| `default-general` (the image choice default, behind `gen-image`) | nano-banana | gpt-image-2 |+| `default-premium` (behind `gen-image-high-quality`) | nano-banana-2 | gpt-image-2 |+| `default-small` (behind `gen-image-fast` and the testing presets) | gpt-image-1-mini | gpt-image-1-mini |+| `best-gpt` | gpt-image-2 | gpt-image-2 |+| `best-gemini` | nano-banana-2 | removed |++General and premium resolve to the same model, so `gen-image-high-quality` differs from `gen-image` only by its quality setting. The three presets naming `nano-banana-pro` directly (`synthesize-ui`, `synthesize-chart`, `gen-image-testing-img2img`) move to `@default-premium`; gpt-image-2 accepts input images, which is what those presets need.++### 6. Extract and search decks are unchanged++Document extraction already defaults to `azure-document-intelligence`. The two `pypdfium2-extract-pdf` aliases (`default-text-from-pdf`, `default-no-inference`) call no provider and stay. Search has no Azure equivalent: Linkup is the only search provider, the search section's `choice_default` is a required field, and `default-extract-web-page` is `linkup-fetch`. All of it stays, and the docs state that the Azure scope covers the three families Azure serves: language, image generation and document extraction.++### 7. Test profiles are untouched++`.pipelex-dev/test_profiles.toml` keeps naming Anthropic and Google handles directly so the runtime's support for those providers stays exercised. The `testing-*` presets ride the small tier, so a live run through them now uses gpt-5.4-nano instead of gpt-4o-mini.++### 8. The provider-named aliases are removed from the shipped deck++`best-claude`, `best-gemini` and `best-mistral` name a provider in the alias itself and cannot honestly resolve to a GPT model. They leave the shipped deck and stay defined in the parked variant. A method that references one fails validation with the usual alias-not-found error. A project that wants one back defines it in an `x_custom_*` deck file. The tests that reference `@best-claude` build their own decks or parse syntax only, so they are unaffected. The user-visible examples that name `@best-claude` (the `check-model` argument help, two docstrings, and the promotion example in the `add-model` skill) move to `@best-gpt`. Downstream, the cookbook uses `@best-gemini` in two extract bundles and `mthds-plugins` uses `@best-claude` as its example alias. Both are filed as follow-ups, because they break only once those repositories take the release.++### 9. The `x_custom_*` templates keep their examples++The commented waterfall examples in `x_custom_llm_deck.toml` and `x_custom_extract_deck.toml` list Claude, Gemini and Mistral handles. They exist for a user who brings their own provider keys and are left as they are.++### 10. The premium tier declares `temperature = 1`, because its model fixes it there++`gpt-6-astra` carries `valued_constraints = { fixed_temperature = 1 }` on the Azure and OpenAI backends and on both hosted routing profiles. `_apply_constraints` (`pipelex/cogt/llm/llm_worker_abstract.py:338-369`) overrides any other value and logs a warning, once per call, with no memoisation. Today's shipped deck has no preset in that position: `claude-4.8-opus` declares no constraint, and the one fixed-temperature handle it names, `gpt-5.5` behind `best-gpt`, is reached by no preset. This change would put twelve presets there.++So the twelve presets that ride the premium tier declare `temperature = 1` — the value the model will use — instead of a value the worker discards. The deck stops asserting something untrue and stops warning on every premium call. What it costs is real and is accepted: `writing-factual` and `writing-creative` now issue the same call, and `engineering-structured` runs structured extraction at temperature 1, `_gen_object` passing the temperature unconditionally on that path. The premium tier has no temperature control until it resolves to a model that accepts one, and `1_llm_deck.toml` says so above its preset table.++The alternative was moving premium down to `gpt-5.4`, which accepts a temperature but is the general tier's own model. Keeping the flagship was the call.++The repository already had the validator for exactly this conflict — `ModelDeck.final_validate`, which raises when a preset's temperature differs from a model's `fixed_temperature`. It had had no caller since 2025-09-17, and its `except ConfigValidationError` clause was unreachable, `LLMSettingsValidationError` descending from `CogtError` rather than `FatalError`. A guard nothing calls reads as protection that does not exist, so it was deleted rather than revived.++## Out of scope, and why++- **Routing.** The Gateway already serves the OpenAI language and image models from Azure. The deck decides which handles are named, not where a request goes, and nothing about the routing profiles or the remote config changes here.+- **Fixed-temperature constraints.** Several gpt-5.x handles carry `fixed_temperature = 1`, `gpt-6-astra` among them, so the premium tier has one. The worker forces the model's value and logs a warning on every call where a preset declares a different one, so the twelve presets on the premium tier declare `temperature = 1` outright rather than a value the deck cannot honour. Decision 10 records that, and what it costs.+- **An edition selector.** Declined, see decision 2.+- **The GPT-5.6 generation for the general and small tiers.** `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna` and `gpt-6-astra` joined the Azure backend in pipelex v0.61.0 and the gateway serves them since the remote config published on 2026-09-20. The premium tier takes `gpt-6-astra` (decision 4), but the general and small tiers stay on 5.4. Every 5.6 and 6 handle carries `fixed_temperature = 1`, while `gpt-5.4` and `gpt-5.4-nano` carry no constraint, so keeping those two tiers on 5.4 keeps the temperature of every preset that rides them, which is most of the deck. The premium tier, by contrast, has no fixed-temperature-free option: on Azure every handle above `gpt-5.4` carries the constraint, so taking the flagship means taking it (decision 10).++## The backend model list moved first++The backend model lists under `pipelex/kit/configs/inference/backends/` were refreshed ahead of the build, in pipelex v0.61.0: the GPT-5.6 series and GPT-6 Astra were added (#1218) and the GPT-4.1, o-series and GPT-5 to 5.2 generations were retired (#1219). The remote config in `pipelex-remote-config`, the authority on what a handle means, followed with the same roster at its commit `ae91eb8` and was published on 2026-09-20. The handles in the two tables were re-read against both after that publish: every one of them is still declared on the Azure backend and still served by the gateway. The one change the refresh brought is the premium tier, which takes `gpt-6-astra` now that the gateway serves it; the general and small tiers stand as first written.++## What the build changes++- The numbered deck files under `pipelex/kit/configs/inference/deck/`, per decisions 4 to 6, and the copy this repo keeps under `.pipelex/inference/deck/`.+- The parked variant directory and its parity test, per decision 3.+- The one test that asserts what the shipped deck resolves to (`@default-general`), and the user-visible examples that name `@best-claude`, the `add-model` skill's among them.+- The docs that name the current defaults: `docs/get-started/configure-ai-providers.md`, `docs/configuration/config-technical/inference-config.md`, `docs/building-methods/configure-ai-llm-to-optimize-methods.md`, and `docs/tools/cli/update.md` where it describes what an update run reports.+- A changelog entry marked breaking: the defaults move to Azure-served models, and three aliases are gone.++## Rollout notes++- Every existing install reports its numbered deck files as behind on its next `pipelex update`, and a user who edited a numbered file gets the usual timestamped backup. That is the mechanism working as designed, and the changelog entry says so.+- The consumers that keep their own deck copies (the hosted worker in `pipelex-server`, `pipelex-api`, the cookbook) pick the change up through the pin bump and `pipelex update`. The worker's numbered files are byte-identical to the kit's today, so nothing there needs hand-editing. The cookbook carries an extra `cookbook.toml` deck file to check for direct model names, and two bundles that reference `@best-gemini`.+- The implementation tracker is [`plan.md`](plan.md), beside this document.diff --git a/wip/azure-only-deck/plan.md b/wip/azure-only-deck/plan.mdnew file mode 100644index 000000000..71a472066--- /dev/null+++ b/wip/azure-only-deck/plan.md@@ -0,0 +1,159 @@+---+status: active+item: L-260918-941a99+---++# Azure-only model deck — implementation plan++This is the build tracker for [`design.md`](design.md), which holds the decisions and their rationale. The build makes the kit's numbered deck files resolve only to Azure-served models, parks today's files as an unloaded variant guarded by a parity test, and updates the tests, docs and changelog that name the current defaults. It then files the downstream follow-ups this repository cannot fix itself.++## What planning found++Reading the code before writing this plan turned up facts that correct or sharpen the design. The design has been amended where it was wrong, and each amendment is marked below.++**The parked variant cannot live under `pipelex/kit/configs/`, so it moves to `pipelex/kit/deck_variants/multi_provider/`.** Design decision 3 put it at `pipelex/kit/configs/inference/deck_variants/multi_provider/`, but two mechanisms treat everything under `configs/` as a template to install. `ensure_global_config_exists` copies the whole kit configs tree into a new `~/.pipelex/`, recursively and with no skip list (`pipelex/system/configuration/config_loader.py:286-305`), so the parked deck would land in every user's global directory. `check-config-sync` holds this repository's `.pipelex/` to exactly the contents of `pipelex/kit/configs/` (`pipelex/cli/dev_cli/config_sync_exclusions.py`, module docstring), so it would demand a mirrored copy under `.pipelex/inference/deck_variants/`. A sibling of `configs/` avoids both and still ships in the wheel, because hatch packages the whole `pipelex` directory (`pyproject.toml`, `[tool.hatch.build.targets.wheel]`). Design decision 3 is amended to this path.++**The variant must never sit under a `deck/` directory.** The loader collects deck files recursively (`pipelex/cogt/models/model_manager.py:46-57`, `is_recursive=True`), so a variant nested inside `deck/` would be merged into the live deck at boot.++**The removed aliases are referenced downstream, which contradicts decision 8.** The cookbook uses `@best-gemini` in `examples/b_basics/document_extract/extract_slides/bundle.mthds:42` and `examples/b_basics/document_extract/answer_from_documents/bundle.mthds:162`, and names it in that example's `README.md:121`. `mthds-plugins` uses `@best-claude` as its example alias in `skills/mthds-build/references/model-references.md` (and its generated copies), including the command `mthds-agent check-model "@best-claude" --type llm`, which would fail against the new deck. In this repository, user-visible examples name `@best-claude` in the `check-model` argument help (`pipelex/cli/agent_cli/commands/check_model_cmd.py:57`), the syntax table of `pipelex/cogt/models/model_reference.py:9` and a docstring in `pipelex/cogt/models/model_suggestion.py:89`. `pipelex-plugins` and `conformance` reference none of them. The last sentence of decision 8 is amended.++**Only one test depends on what the shipped deck resolves to.** `tests/unit/pipelex/kernel/test_llm_ops_model_resolution.py:13` asserts that `@default-general` resolves to `claude-4.6-sonnet`. The `@best-claude` tests do not depend on the shipped deck: `tests/unit/pipelex/cli/test_check_model_cmd.py` builds its own fake deck (line 44), and `tests/unit/pipelex/cogt/models/test_model_reference.py` only parses the reference syntax. They stay as they are. The many other tests that name Claude, Gemini or `gpt-4o-mini` handles build their own decks or name handles directly in `.mthds` fixtures, so they are unaffected.++**The chosen handles are served from Azure today.** In `pipelex-remote-config` at commit `ae91eb8`, `pipelex_remote_config/remote_config/gateway_models.toml` serves `gpt-6-astra`, `gpt-5.4` and `gpt-5.4-nano` through the Portkey config `pc-openai-6e7576`, whose virtual key is `azure-openai` despite the config's name (`portkey_configs/pc-openai-6e7576.json` beside it). It serves `gpt-image-2` and `gpt-image-1-mini` through `pc-azure-2e01ce`, the Azure REST config, and it serves `azure-document-intelligence`. The same handles exist in `manifold_models.toml` beside it. All of them are also declared in the kit's `backends/azure_openai.toml`. They were not all listed in `backends/pipelex_gateway_models.md`: that catalog snapshot is generated from the served remote config by `make ugm`, and it had not been regenerated since 2026-07-27, so it lacked `gpt-6-astra` altogether while still advertising the generations `#1219` retired. Boot never depended on it — the membership check reads the remote config, not this listing — but it is the reference a user opens in their own `.pipelex/` to see what the Gateway serves. The round-3 review round regenerated it and its plain twin, in both the kit and `.pipelex/`.++**The backend lists were refreshed in pipelex v0.61.0, and the remote config followed.** `#1218` added the GPT-5.6 series and GPT-6 Astra to the Azure backend and `#1219` retired the GPT-4.1, o-series and GPT-5 to 5.2 generations; neither touched the numbered deck files, only the commented waterfall example in `x_custom_llm_deck.toml`. The remote config was published from `pipelex-remote-config` commit `ae91eb8` on 2026-09-20 and serves the same roster. Every handle in the design's tables survived both. The premium tier moved up to `gpt-6-astra` once the publish made it gateway-served, and the general and small tiers stay on 5.4 because every 5.6 and 6 handle is fixed-temperature; the design's out-of-scope section records that reasoning.++**The `add-model` skill names `best-claude` as its promotion example.** `.claude/skills/add-model/SKILL.md` (section 7, the deck step) cites `best-claude` beside `default-premium` as an alias a new model might be promoted to. Once the alias is gone the example points at nothing, so it joins the `@best-gpt` rename in Phase 3.++**This repository's own deck manifest is stale, independently of this campaign.** `.pipelex/inference/deck/.kit_manifest.json` records kit version `0.25.1`, and its hash for `1_llm_deck.toml` no longer matches the kit's file. The mirror step in Phase 3 restamps it.++**The deck copies outside this repository** are in `pipelex-server/worker/`, `pipelex-api`, `pipelex-cookbook` (which adds its own `cookbook.toml`), `cocode`, `conformance` and `mthds-ui`, each under `.pipelex/inference/deck/`. The `mthds-ui` hits for old handles are static story fixtures and generated graph specs, not deck lookups.++## Phase 1 — Confirm the handles++This is a short gate before any file changes.++- [x] Check whether Louis's backend update has landed on `dev` (`git log --oneline -- pipelex/kit/configs/inference/backends/`). It has: `#1218` and `#1219`, both in v0.61.0, which this branch contains.+- [x] For each handle in the tables of design decisions 4 and 5 (`gpt-6-astra`, `gpt-5.4`, `gpt-5.4-nano`, `gpt-image-2`, `gpt-image-1-mini`), confirm that it is still declared in `backends/azure_openai.toml` and still served from Azure in `pipelex-remote-config`'s `gateway_models.toml`. All five are, in the backend file, in the catalog at `ae91eb8`, and in the served remote config fetched after the 2026-09-20 publish; `gpt-6-astra` rides the same `pc-openai-6e7576` config as the 5.4 handles, with image and PDF input and structured output. The premium tier was moved from `gpt-5.5` to `gpt-6-astra` on that reading.+- [x] Confirm that `gpt-image-2` still accepts image input (`inputs = ["text", "images"]` and an `input_images` rule), because the `synthesize-ui`, `synthesize-chart` and `gen-image-testing-img2img` presets need it once they move to `@default-premium`. It does, with `input_images = "gpt_image"`.++## Phase 2 — Park today's deck and write the parity test first++The test is written before the Azure deck exists, so it goes red on the aliases the shipped deck still carries, and Phase 3 turns it green.++- [x] Copy today's numbered files, byte for byte, from `pipelex/kit/configs/inference/deck/` to `pipelex/kit/deck_variants/multi_provider/`. Copy only the numbered files and not the `x_custom_*` templates, which stay single-sourced in the kit (design decision 9).+- [x] Add `pipelex/kit/deck_variants/README.md`. It should say, in a few sentences, what a variant is, that nothing loads it, that the parity test guards it, and that re-enabling one means swapping its numbered files into `configs/inference/deck/`. It should also warn against placing a variant under any `deck/` directory, because the loader is recursive.+- [x] Write `tests/unit/pipelex/kit/test_deck_variants.py`:+ - A comparator that takes two `ModelDeckBlueprint`s and the permitted drops, and returns the differences in alias, preset and waterfall names for each family (`llm`, `img_gen`, `extract`, `search`).+ - The permitted drops, written out in the test: `best-claude`, `best-gemini` and `best-mistral` for `llm`, and `best-gemini` for `img_gen`. Each dropped name must be present in the variant and absent from the shipped deck, so an entry that goes stale fails the test.+ - A test parametrized over every directory under `pipelex/kit/deck_variants/`. For each one, it asserts that the numbered filenames match the kit deck's, loads both sets with `load_model_deck_blueprint` (the same loader the runtime uses), and asserts that the comparator reports no differences.+ - A guard that at least one variant exists, so the parametrized test can never pass by running zero cases.+ - Negative tests that feed the comparator a blueprint with an extra preset, a missing alias and a dropped name that is still present, and assert that each is reported. This is the mutation check, written as tests so it runs every time rather than once by hand.+- [x] Run the new test file and confirm it fails only on the dropped aliases.++## Phase 3 — Write the Azure deck++- [x] Edit `pipelex/kit/configs/inference/deck/1_llm_deck.toml` according to design decision 4: set the aliases from the table, remove `best-claude`, `best-gemini` and `best-mistral`, and repoint the presets that name a model directly (`retrieval-premium`, `retrieval-cheap`, `engineering-code-cheap`, `engineering-code-cheaper`, and `engineering-codebase-analysis`, which moves from `@best-gemini` to `@default-premium`). Keep every alias and preset name, every temperature and every `reasoning_effort`.+- [x] Edit `pipelex/kit/configs/inference/deck/2_img_gen_deck.toml` according to design decision 5: set the aliases, remove `best-gemini`, and repoint the presets that name `nano-banana-pro` to `@default-premium`.+- [x] Leave `3_extract_deck.toml` and `4_search_deck.toml` untouched (design decision 6).+- [x] Mirror the kit into this repository's `.pipelex/inference/deck/` with `.venv/bin/pipelex update --local --yes --no-backup`. That command copies the numbered files and restamps `.kit_manifest.json`, which also clears the pre-existing staleness. Then run `make check-config-sync`.+- [x] Run the parity test and confirm it passes.+- [x] Change `tests/unit/pipelex/kernel/test_llm_ops_model_resolution.py:13` to expect `gpt-5.4`.+- [x] Replace `@best-claude` with `@best-gpt` in the user-visible examples: `check_model_cmd.py:57`, `model_reference.py:9`, `model_suggestion.py:89` and the promotion example in `.claude/skills/add-model/SKILL.md` (section 7). If a CLI help snapshot changes as a result, regenerate it.+- [x] Run `make tb` to test the boot sequence against the new deck, then `make agent-check`, then the touched test modules.++### Checkpoint A — the deck is in place++The deck landed in the commit subject-titled "Azure-only deck: park the multi-provider deck and ship the Azure one" on `feature/Azure-only-deck`. No handle was substituted: the five confirmed in Phase 1 are exactly the ones written, premium on `gpt-6-astra` and general and small on `gpt-5.4` / `gpt-5.4-nano`.++Four things the checks reported that the plan did not anticipate:++- **The editable install's version metadata was stale.** `pipelex update --local` reads `importlib.metadata`, which still said `0.59.0` while `pyproject.toml` says `0.61.0`, so the first run stamped the manifest with the wrong kit version. `uv pip install -e . --no-deps` refreshed it and the manifest was restamped at `0.61.0`.+- **The kit ships a deck manifest of its own**, at `pipelex/kit/configs/inference/deck/.kit_manifest.json`, and `check-config-sync` holds it identical to the one in `.pipelex/`. `pipelex update --local` only writes the `.pipelex/` side, so the kit copy had to be updated by hand. Both were stale at kit version `0.25.1`, which this change clears.+- **mypy joins the four family blueprint types to their common `ConfigModel` base**, which has no `aliases`, `presets` or `waterfalls`. The test annotates its family mapping with an explicit `DeckFamilyBlueprint` union to keep the attributes visible.+- **The `cli-docs` drift contract opened**, triggered by the one-word change to the `check-model` argument help. Both review targets describe the command generically and name no alias, so the ack records a no-doc-change rationale.++The parity test went red on exactly the four dropped aliases before Phase 3 and green after, which is the behaviour Phase 2 was written to produce.++- [x] Run `/rev` on the deck change before the docs phase starts, and record the pass here.++**Round 1, profile 3, bar `open`, outcome `fixed`, full coverage** — `code-review` (low) and Codex (`gpt-5.6-sol`, effort high) both found nothing; cubic raised five, of which three needed verification and all three were confirmed. Two findings were the campaign's own Phase 4, unstarted by design at this checkpoint.++The pass changed three things, in the commit subject-titled "Azure-only deck: answer the premium tier's fixed temperature, drop a dead validator":++- **The premium tier's fixed temperature was a real regression the design had mis-argued.** `gpt-6-astra` carries `fixed_temperature = 1`, and the worker overrides any other value while logging a warning per call. On `origin/dev` no preset sat in that position — `claude-4.8-opus` declares no constraint and `gpt-5.5` was reachable only through `best-gpt`, which no preset names — so this change took the count from zero to twelve. `writing-factual` and `writing-creative` were issuing the identical call, and `engineering-structured` was running structured extraction at temperature 1 while declaring 0.2. Louis chose to keep the flagship and declare `temperature = 1` on the twelve, since no Azure handle above `gpt-5.4` is free of the constraint. Design decision 10 records it.+- **`ModelDeck.final_validate` was deleted**, with `_validate_llm_setting` and both `subject_grants.toml` entries. It raised on exactly this conflict, had had no caller since `944bce8d8` orphaned it on 2025-09-17, and its `except ConfigValidationError` clause was unreachable because `LLMSettingsValidationError` descends from `CogtError` rather than `FatalError`.+- **The parity test gained a second check**: every handle a variant names and the shipped deck does not must still be declared by a backend file. Scoped to variant-only handles, because a shared handle is already exercised at boot and some are gateway-served with no backend section. Mutation-tested: a retired handle in the variant turns it red.++One finding was deferred, with its trace in [`deferred.md`](deferred.md): two inference error classes now have no raise site.++The next-round verdict is **round 2 at bar `defects`, profile 3**, which Phase 5's `/rev` will run once the docs land.++## Phase 4 — Docs and changelog++- [x] Update the pages that state what the deck resolves to by default:+ - `docs/get-started/configure-ai-providers.md`: this is the one place that states the Azure scope, meaning language models, image generation and document extraction are served from Azure while web search stays on Linkup (design decision 6).+ - `docs/configuration/config-technical/inference-config.md`.+ - `docs/configuration/config-technical/inference-backend-config.md`: its deck example lists `best-claude` and `best-gemini` (around lines 472-486).+ - `docs/building-methods/configure-ai-llm-to-optimize-methods.md`: its alias list (lines 30-32) was already stale, naming `claude-4.1-opus` and `gemini-2.5-pro`.+ - `docs/building-methods/pipes/pipe-operators/PipeImgGen.md:65`, which lists `best-gemini`.+ - `docs/tools/cli/update.md`, only if it describes what an update run reports in a way this change alters.++ What the sweep actually found, against what the plan expected: `inference-config.md` names no alias and no model handle anywhere, so it needed nothing — the plan listed it speculatively. `docs/tools/cli/update.md` describes the managed/override split generically and names no alias either; that reading was already recorded in the `cli-docs` drift ack. `configure-ai-providers.md` had no statement of what the deck resolves to at all, so the Azure scope is a new section there rather than an edit. `inference-backend-config.md`'s preset example also had to move to `temperature = 1`, which the plan did not anticipate because the premium tier's fixed temperature was found in review, not in planning.+- [x] Review the other pages that name the affected aliases or handles: `docs/under-the-hood/reasoning-controls.md`, `per-node-usage-attribution.md`, `test-profile-configuration.md`, `docs/features/validation-dry-run.md`, `docs/cookbook/generate-image.md`, `PipeLLM.md` and `PipeStructure.md`. Change only statements about what a name resolves to by default. A handle used as an explicit example of naming a model stays. None of them needed a change: every hit in `reasoning-controls.md`, `per-node-usage-attribution.md`, `test-profile-configuration.md`, `validation-dry-run.md`, `generate-image.md`, `PipeLLM.md` and `PipeStructure.md` is either a direct model name used as an example or a test-profile handle, which decision 7 leaves alone. Only `PipeImgGen.md`, which stated what each image alias resolves to, was in the first list and is updated there.+- [x] Follow the MkDocs rule of a blank line before every list.+- [x] Add a `CHANGELOG.md` entry under `[Unreleased]`, `### Changed`, marked Breaking and written in the condensed form: the default aliases and presets now resolve to Azure-served models (with the tiers named), and `best-claude`, `best-gemini` and `best-mistral` (and `best-gemini` for image generation) are removed. For migration, `pipelex update` refreshes the numbered deck files and backs up any that were edited locally, and a project that wants a removed alias back defines it in `x_custom_llm_deck.toml`, or in an `x_custom_*` file for image generation.++## Phase 5 — Verify, review, and file the follow-ups++- [x] Re-read the handles against `pipelex/kit/configs/inference/backends/` in case the backend update landed during the build, and adjust both the deck and the design's tables if it did. Nothing landed during the build — `#1218` and `#1219` remain the last two commits on the backends directory — and all five handles are still declared on `azure_openai`.+- [x] Run `make agent-check` and `make agent-test`. Both green, but only after two real problems the plan did not foresee.++ **This worktree's venv was stale, and it made the suite lie.** The first full `agent-test` reported failures in `test_hydration.py`, `test_composite_content.py` and `test_wire_concept_ref_resolution.py` — none of which this branch touches, all byte-identical to `origin/dev`. They passed in a fresh detached snapshot of `origin/dev` and failed here, which is what a code defect looks like. The cause was the environment: this worktree's venv carried `mthds` 0.14.0 while the lock pins 0.15.0, so the concept-ref wire format the tests assert had never been installed here. `make install` fixed it. Every check run before that point was run against the wrong `mthds`, so all of them were re-run afterwards.++ **Two offline dry-run fixtures named handles the new deck strands.** `gateway_known_model` named `gpt-4o-mini` and `gateway_img_gen_model` named `nano-banana`. Their cached gateway specs come from `gateway_backend_model_specs_for_kit_deck()`, derived from the shipped deck exactly so the fixture cannot go stale when an alias is promoted — which means a handle leaving the deck removes it from the fixture's served set. They now name `gpt-5.4-nano` and `gpt-image-2`.+- [x] Run a live smoke check through the gateway, limited to a few inference-marked tests that ride the default tiers. All four cases answered through the gateway:++ - `test_pipe_llm_json_concept` — names no model, so it rides `@default-general` → `gpt-5.4`.+ - `test_pipe_llm_object_list` — `@default-small-creative` → `gpt-5.4-nano`, structured output.+ - `test_pipe_llm_vision` — `$vision-diagram` → `@default-premium-vision` → `gpt-6-astra`, and `$vision-cheap` → `gpt-5.4-nano`.+ - `test_pipe_img_gen -k 'testing or img2img'` — `$gen-image-testing` → `gpt-image-1-mini` and `$gen-image-testing-img2img` → `@default-premium` → `gpt-image-2`.++ No fixed-temperature warning appeared, because the premium presets now declare the temperature the model fixes. `pipelex-agent models -t llm --format json` against the booted runtime confirms every alias resolves as design decision 4's table says.+- [ ] Run `/rev` on the branch before the pull request opens.+- [x] File the downstream follow-ups in the ledger, each `--discovered-from L-260918-941a99` and blocked on the pipelex release that carries this change. Filed: L-260920-e22f54 (pipelex-cookbook), L-260920-eeb0f1 (mthds-plugins), L-260920-9a4fe2 (pipelex-server, member `worker/`), L-260920-cfa51a (pipelex-api). A fifth was filed that the plan did not anticipate, L-260920-362d4e against `workspace`: `wt` has no gesture that removes a `ref`-genre worktree, found while making a detached snapshot of `origin/dev` to check whether a suite failure was pre-existing.+ - `pipelex-cookbook`: replace `@best-gemini` in the two extract bundles and the `answer_from_documents` README, run `pipelex update` at the pin bump, and check `cookbook.toml`'s direct model names against the Azure scope.+ - `mthds-plugins`: change the example alias in the `model-references.md` source, not in its generated copies, from `@best-claude` to `@best-gpt`.+ - `pipelex-server`, member `worker/`: run `pipelex update` in the worker's `.pipelex/` at the pin bump. Its numbered files match the kit byte for byte today, so the update should apply cleanly.+ - `pipelex-api`: run `pipelex update` at the pin bump.+ - `cocode`, `conformance` and `mthds-ui` get no item. The stale-deck notice prompts them on their next pin bump, and none of them references a removed alias.+- [ ] Open the pull request against `dev` as `feature/Azure-only-deck · L-260918-941a99`, with `Closes L-260918-941a99` in the body.++### Checkpoint B — built, verified, waiting on one review round++The build is finished and pushed. Phases 1 to 5 are done except the two items still unticked above, and both are one gesture each. A session starting cold needs nothing from the conversation that produced this.++**Where the work is.** Branch `feature/Azure-only-deck` in the worktree `_pipelex--azure-only-deck`, pushed and tracking `origin/feature/Azure-only-deck`. The tree is clean and the branch carries five commits of this campaign's build, on top of the two that ratified the documents. No pull request is open.++**What is done.** The kit's numbered deck files resolve only to Azure-served handles, with every alias and preset name kept; the three provider-named aliases are gone; today's deck is parked at `pipelex/kit/deck_variants/multi_provider/` under a parity test that checks both the vocabulary and, for variant-only handles, that a backend still declares them. The premium tier's presets declare `temperature = 1` and `ModelDeck.final_validate` is deleted, both settled at Checkpoint A. Docs and the changelog are written, the downstream follow-ups are filed, and one `/rev` round is recorded on the item.++**What is left, in order.**++1. **Run `/rev 3` from this worktree.** Round 2 is owed at bar `defects` — confirmed defects only, no improvements. It did not run in the building session because `agent-watch-headroom` refused: that session stood at 307187 tokens against a 300000 threshold, so a round would have been paid for and arrived into a context nobody could triage from. Nothing about the code caused the refusal. Record the pass with `ledger review-pass` as the skill directs.+2. **Open the pull request** against `dev`, titled `feature/Azure-only-deck · L-260918-941a99`, with `Closes L-260918-941a99` in the body. `/ledger-land --merge` refuses a merge whose head branch carries no recorded review, so step 1 comes first.++**Open questions: none.** The two decisions this campaign raised were both put to Louis and both answered — the premium tier keeps `gpt-6-astra` with the temperatures declared at 1, and the dead validator is deleted rather than revived. Design decision 10 records the reasoning and what it costs.++**Two things to know before running anything here.**++- **Check the venv before trusting a red suite.** `.venv/bin/python -c "from importlib.metadata import version; print(version('mthds'))"` must agree with `uv.lock`; it did not in this worktree, and the mismatch failed tests in `runtime_bridge` and `core/stuffs` that this branch does not touch. `make install` is the fix.+- **A deck edit is a four-file gesture.** Edit the kit under `pipelex/kit/configs/inference/deck/`, then `.venv/bin/pipelex update --local --yes --no-backup` to mirror it into `.pipelex/`, then copy `.pipelex/inference/deck/.kit_manifest.json` over the kit's own copy — `check-config-sync` holds the two manifests identical and `pipelex update` only writes the `.pipelex/` side. `make check-config-sync` confirms.++**One loose end outside this repo.** `_pipelex--ref-dev` is a detached snapshot of `origin/dev` made to check whether a suite failure was pre-existing. It is clean, and no `wt` gesture removes a `ref`-genre worktree, which is what [L-260920-362d4e] against `workspace` is for. Deleting the directory by hand is safe whenever somebody wants the disk back.++## Decisions taken during planning++- **The variant lives at `pipelex/kit/deck_variants/multi_provider/`**, for the reasons in the first finding above. The design is amended.+- **The `@best-claude` tests that build their own deck are left alone.** They test syntax and suggestion logic, not the shipped vocabulary, and nothing about them becomes false.+- **The mutation check is written as permanent negative tests of the comparator** rather than as a one-off hand edit, so the guard's ability to go red is checked on every run.+- **Only the numbered files are parked.** The `x_custom_*` templates are not part of the managed deck, and a second copy of them would only drift.