Skip to content

Add Claude Sonnet 5.5 to Kiro and point Sonnet and Opus aliases at the 5.5 models #8

Open

Description

@eoliphan

Goal

Make Claude Sonnet 5.5 available through the Kiro provider, and make every Kiro alias for Sonnet and Opus resolve to the 5.5 models. Older versions stay reachable with the explicit kiro: prefix.

Context

  • Kiro is a fork-only provider. Follow docs/agents/fork-maintenance.md, section "Adding a model to a provider".
  • Reference commits: 8c6f3ec (added Opus 5.5 and Opus 5 to the catalog) and f7c6f19 (bare opus alias to Opus 5.5).
  • Catalog: src/providers/kiro/translate/models.rs (KIRO_MODELS). Aliases: src/providers/kiro/translate/model_allowlist.rs. Kiro's wire format uses dots (claude-sonnet-5.5). The proxy uses dashes. dash_to_dot and dot_to_dash convert between them.

Requirements

  1. Add a KiroModelMeta entry for claude-sonnet-5-5 ("Claude Sonnet 5.5"). Use the claude-sonnet-5 entry as the template: 1M context window, 64K max output, reasoning and image input enabled, default first-token timeout.
  2. Sonnet aliases: sonnet, claude-sonnet-4-6, claude-sonnet-5, and claude-sonnet-5-5 all resolve to claude-sonnet-5-5.
  3. Opus aliases: opus, claude-opus-4-7, claude-opus-4-8, claude-opus-5, and claude-opus-5-5 all resolve to claude-opus-5-5.
  4. FABLE_TARGET (currently claude-opus-4-8) resolves to claude-opus-5-5.
  5. Leave Haiku alone. Haiku 4.5 is the newest Haiku.
  6. Check that each older model (kiro:claude-sonnet-4-6, kiro:claude-sonnet-5, kiro:claude-opus-4-8, and so on) is still selectable with the explicit kiro: prefix and resolves to itself. If the prefix path also goes through the alias table, add what is needed so an explicit prefixed version is not remapped.
  7. Update the tests that assert the old alias targets (for example resolve_model("claude-sonnet-5") and the Opus alias tests). Add tests for the new targets and for the explicit-version cases from item 6.
  8. Update the model and alias text in docs/src/content/docs/providers/kiro.md and docs/src/content/docs/using/models-and-routing.md. Add one line to the CHANGELOG.md "Unreleased" section.
  9. Add a row to the fork decision table in docs/agents/fork-maintenance.md: Kiro Sonnet and Opus aliases target the newest 5.x model.
  10. Run just check-ci.

Known risk

Commit 45dbbfe kept the Sonnet alias on 4.6 because Kiro's Sonnet 5 sometimes echoes the injected <max_thinking_length> and <thinking_length> control tags into its text output. The owner has decided to move to 5.5 anyway. Keep the existing handling that is related to those tags. In the PR description, state that the echo has not been checked against 5.5. The owner will test it live.

Limits of this run

CI has no Kiro credentials, so the agent cannot confirm that Kiro serves Sonnet 5.5 or check its real limits. State this in the PR description. The owner will confirm with a live ListAvailableModels call before merging.

Do not change Codex routing or the Codex Fable decisions.

Activity

  1. added
    enhancement
    on Oct 6, 2026
  2. changed the title [-]Add Claude Sonnet 5.5 to the Kiro backend[/-] [+]Add Claude Sonnet 5.5 to Kiro and point Sonnet and Opus aliases at the 5.5 models[/+] on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions