feat(anthropic): Claude 5.x safety defaults (prefix error, temporary fallback block, Mythos 5 on Converse)
メンテナーはふだん 1 日以内に返信
@aheritier がすでに取り組んでいます。
2026年10月19日 から。
評価
この issue はまだ評価されていません。
説明
Goal
Refuse Claude 5.x configurations that docker-agent cannot serve correctly yet, instead of sending them:
- Non-empty
fallbacksis rejected when any model in the chain is a 5.x model, until #4584 lands. - Mythos 5 on Bedrock Converse is refused before any inference call.
Scope change (2026-10-20): making
thinking_prefix_mismatch: errorthe 5.x default moved to #4653. The runtime routinely edits the conversation prefix (num_history_itemstrimming, hooks, compaction), soerrorwould make those sessions fail until #4653 can replay signed history exactly or refuse cleanly. Today'sdrop_blockdefault stays, and dropped blocks are already logged.
Why
fallbacks.goforwards any list with the June beta header and no checks (fallbacks.go). Server fallback changes model mid-response and sticks to the fallback for about an hour, which docker-agent doesn't handle yet (#4584).- Mythos 5 is only available on Bedrock Mantle, not runtime or Converse (model card). Today the request fails at AWS with an unclear error.
Scope
- Fallback block: reject when the primary or any explicit target is one of the nine 5.x models, including a legacy primary with a 5.x target. Absent or empty
fallbacksworks as usual. Fallback chains with no 5.x model are unchanged. The error message points to #4584. - Refuse Mythos 5 on Converse at client construction when the model ID makes it clear.
Acceptance criteria
- Fallback tests: 5.x primary, legacy primary → 5.x target, absent/empty list, a chain with no 5.x model (unchanged, control test).
- Mythos 5 on Converse fails before any network call; Mythos 5.1 on Converse is allowed.
- Docs and
latestschema descriptions updated. -
task build,task test,task lintpass.
Parent: #4583
- 主要言語
- Go
- スター
- 4.6k
- フォーク
- 522
- 平均マージ
- 8時間 43分
- マージ済み PR(30日)
- 239
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docker/docker-agent のほかの issue
-
Error when trying to run sandbox example?対応中かも @dgageot が 1 日前に担当しました。 オープンarea/cli
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
docker/docker-agent#4672 · コメント 1 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
pkg/hooks tests fail with a misleading assertion when jq is not installed対応中かも @dwin-gharibi が 59 日前に担当しました。 オープンarea/testing
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
docker/docker-agent#4052 ·
メンテナーはふだん 1 日以内に返信
-
`remove_directory` and `create_directory` hide work they already did when a later path fails対応中かも @dwin-gharibi が 77 日前に担当しました。 オープンarea/tools
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
docker/docker-agent#3933 ·
メンテナーはふだん 1 日以内に返信
-
`edit_file` silently edits the first match when `oldText` occurs more than once対応中かも @dwin-gharibi が 77 日前に担当しました。 オープンarea/tools
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
docker/docker-agent#3929 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[Flaky test] TestA2AServer_MultipleRequests対応中かも @aheritier が 1 日前に担当しました。 オープンarea/a2a area/testing flaky-test
docker/docker-agent#4687 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
docker/docker-agent の issue をすべて見る
似ている issue
-
native
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
prime-radiant-inc/evener#4839 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
521xueweihan/HelloGitHub#4073 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
goharbor/terraform-provider-harbor#655 · コメント 1 件 ·
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
syncthing/syncthing#10935 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信